Related resources for Context
  • Dependency Injection & EF Migrations in ASP.NET MVC with Autofac10/30/2024 8:29:43 AM. This article demonstrates how to implement Dependency Injection (DI) using Autofac in an ASP.NET MVC application and integrate Entity Framework for database operations, including migrations.
  • Create a Model with Database Table in .NET 8 using EF Core10/28/2024 7:16:12 AM. This article guides you through creating a data-driven application using .NET 8 and Entity Framework Core. You'll learn to define a model, configure a DbContext, set up a SQL Server connection str
  • Nested Collection Models in MVC to Add Multiple Phone Numbers - Part 19/27/2024 10:08:34 AM. This article explains how to create an MVC application using the Nested Model concept, allowing users to add or remove multiple phone numbers for an employee. It covers database setup, model creation,
  • JWT Token Authentication And Role Authorization Using .Net Core 6.0 Web APIs9/26/2024 6:13:29 AM. This post covers implementing JSON Web Tokens (JWT) for authentication in an ASP.NET Core Web API. It details creating a new project, using JWT for secure token generation, and implementing role-based
  • Understanding Key Concepts in Domain-Driven Design9/23/2024 8:30:18 AM. In this article, we will explore how these concepts drive effective software modeling, ensuring alignment between the business domain and your codebase.
  • In-Memory Databases- Unit Testing With C#, EFCore and XUnit9/18/2024 12:13:03 PM. Learn to unit test EF Core repositories using an in-memory database with C# and xUnit. This approach simulates database operations without overhead, ensuring fast and isolated tests. Set up involves i
  • Entity Framework Core Feature - Global Query Filters9/12/2024 5:59:39 AM. Learn how to implement Global Query Filters in Entity Framework to apply automatic filters at the model level. This feature is commonly used for scenarios like soft delete and multi-tenancy, ensuring
  • Working With Azure Functions From SharePoint Components9/9/2024 11:48:43 AM. This article explains how to trigger Azure functions from SharePoint pages using HTTP trigger functions. It covers creating a SharePoint list from an Azure function using C# and SharePoint CSOM, passi
  • Real Time Use Of Context Menu Strip In Windows Form Application9/9/2024 11:35:42 AM. Learn how to use ContextMenuStrip in a Windows Forms application to delete records from a DataGridView. This tutorial covers setting up a context menu, handling right-click events, and executing a del
  • How To Read SharePoint TermStore Managed Metadata In SharePoint Framework (SPFx) With Angular9/4/2024 9:13:26 AM. This guide demonstrates how to access SharePoint TermStore data in SPFx applications using the JSOM method. It covers configuring TypeScript, installing dependencies, and using SPComponentLoader to lo
  • Simplifying ASP.NET Core 8 Logging with Serilog and AppInsight9/2/2024 8:00:14 AM. Serilog is a powerful .NET logging library that supports structured logging, enhancing application monitoring and debugging. To integrate Serilog with ASP.NET Core and Application Insights, install es
  • Understanding Flutter's BuildContext8/29/2024 9:04:21 AM. BuildContext in Flutter is a key concept representing a widget's location in the widget tree. It helps navigate the tree, access inherited widgets, and manage state and theme data. Understanding B
  • Mastering Microsoft 365 Copilot Prompts8/27/2024 9:37:09 AM. Microsoft 365 Copilot enhances productivity by using AI to streamline workflows in apps like Word, Excel, and PowerPoint. Mastering prompt techniques—ranging from basic to advanced—enables users to ac
  • How to get all the user properties using powershell in SharePoint 2010 8/22/2024 7:23:23 AM. Learn how to retrieve all user properties in SharePoint 2010 using PowerShell. This guide covers how to get user details with scripts that access the SharePoint site, fetch user profiles, and handle c
  • Introduction of React Hooks with Examples8/21/2024 5:11:04 AM. In this article, we explore React Hooks: special functions for using state and other features in functional components. Learn about useState, useEffect, useReducer, useContext, useMemo, and custom hoo
  • Creating Image Magnifier Using HTML58/16/2024 4:58:51 AM. This article guides you through creating an Image Magnifier using HTML5 canvas. It details setting up the HTML structure, implementing JavaScript for magnification functionality, and styling with CSS.
  • DbContext Register and Lifetime8/10/2024 1:56:09 PM. This article discusses DbContext and its lifetime
  • How to Use Hooks in React?8/7/2024 5:43:16 AM. React Hooks, introduced in React 16.8, allows you to use state and other features in functional components without classes. Key hooks include useState for managing state, useEffect for side effects, a
  • CRUD Operations Unit Testing In ASP.NET Core Web API With xUnit7/30/2024 5:54:17 AM. This article will demonstrate how to write Unit Test Cases for CRUD operations in Asp.Net Core Web API with the xUnit project. In this demonstration, we will write the Unit Test Cases for CRUD (CREATE
  • Practical approach to EF Core with Scalar functions7/21/2024 6:32:25 PM. Learn how to implement and migrate scalar SQL functions in an ASP.NET Core application using Entity Framework Core. This guide covers creating a scalar function to calculate total unit prices, integra
  • Using EF Core to Scaffold DbContext and Models from Existing Database Tables7/12/2024 8:14:08 PM. In this article, we will see how using Scaffolding we can generate database context (DbContext) class for database and model of entities in that database's table. We will be using MS SQL Server as
  • Programming in Practice - GUI - XAML - Description of the User Interface7/9/2024 12:34:12 AM. This article concerns selected issues related to the representation of process information in graphical form to develop a comprehensive User Interface. It presents XAML Domain-Specific Language as a d
  • Name a few techniques to optimize Reactjs app performance7/7/2024 8:27:52 AM. Optimizing React app performance involves leveraging techniques like React. memo, useMemo, and use callback to minimize unnecessary re-renders. Employing code splitting via dynamic imports with React.
  • How to Pass Data Between Reactjs Components?7/5/2024 5:19:49 AM. Learn methods for passing data between React components, including props, state lifting, Context API, custom hooks, and third-party state management libraries like Redux, each suited for different app
  • Dependency Injection System in Angular 187/3/2024 12:39:32 PM. Angular 18 introduces significant enhancements to its Dependency Injection (DI) system, pivotal for scalable and maintainable applications. These improvements include optimized tree-shakability, ensur
  • Best Use of ChatGPT and How to Search in a Particular Context7/2/2024 4:35:46 AM. Explore the optimal applications of ChatGPT, delving into its prowess in natural language processing and contextual understanding. Discover effective strategies for conducting targeted searches within
  • Enhancing Security with a Client IP Safelist in .NET6/27/2024 9:43:12 AM. Enhance your web application's security by implementing an IP safelist in ASP.NET Core. This technique restricts access to trusted IP addresses only, preventing unauthorized access. Our guide cove
  • Understanding CQRS Design Pattern 6/27/2024 5:05:00 AM. The CQRS (Command Query Responsibility Segregation) pattern separates the operations for reading and writing data in software architecture. It enhances scalability by segregating commands (writes) and
  • ASP.NET MVC - TempData - A Closer Look6/24/2024 9:00:33 AM. Explore the intricacies of TempData in ASP.NET MVC with this insightful guide. Learn how TempData facilitates temporary data storage across requests within controllers, its role in maintaining state b
  • Real-time Applications with SignalR and Angular6/21/2024 7:19:48 AM. Building real-time applications with SignalR and Angular enhances user experiences through dynamic and responsive interfaces. SignalR, an ASP.NET library, enables instant server-client communication.
  • Local And Global Variables In Power Apps6/20/2024 6:44:06 AM. Local variables are temporary and screen-specific, declared using the UpdateContext function (e.g., UpdateContext({LocalVariableName: Value})). Global variables, declared with the Set function (e.g.,
  • Explain INotifyPropertyChanged In WPF - MVVM6/19/2024 11:56:08 AM. INotifyPropertyChanged in ASP.NET MVC facilitates automatic updating of UI elements when data changes. By implementing this interface, changes in properties like FirstName and LastName dynamically upd
  • Validate Your Blazor Form Using EditForm6/13/2024 8:22:26 AM. Blazor server-side, part of ASP.NET Core 3, introduces form validation via Context API and Redux. DataAnnotation attributes simplify validation logic, enhancing user experience and minimizing code com
  • Choose Context API or Redux for React State Management6/13/2024 4:59:19 AM. This article explains state management in React using Context API and Redux. It covers creating and using Context for state sharing without prop drilling and setting up Redux for more complex state ne
  • MVC Architecture & MVC Life Cycle6/6/2024 11:43:45 AM. MVC Architecture divides an app into models, views & controllers, managing data, UI, & logic separately. Its lifecycle begins with routing & ends with rendering, ensuring smooth interactio
  • Variables In PowerApps6/6/2024 7:44:52 AM. Discover how to effectively use variables in PowerApps to enhance your app development. This guide covers the basics of creating, managing, and utilizing variables to store data, improve functionality
  • Implementing Repository Pattern And Dependency Injection In ADO.NET Using Generics In C#6/4/2024 9:49:21 AM. Learn how to implement design patterns in an object-oriented paradigm to create generic solutions. This guide covers a practical example where a web application interacts with a database using the rep
  • RAG Fine Tuning and RAFT Explained 6/4/2024 5:34:14 AM. In the realm of large language models (LLMs), techniques like in-context learning (ICL), retrieval augmented generation (RAG), fine-tuning, and retrieval augmented fine-tuning (RAFT) are revolutionizi
  • Mastering Asynchronous Programming in C# Async and Await Patterns 6/1/2024 9:17:52 AM. Master asynchronous programming in C# with the async and await patterns. Learn how to write non-blocking code, improve application performance, and handle concurrency. Understand Task-based asynchrony
  • Hour 1: Understanding 5 ASP.NET State management techniques in 5 hours5/31/2024 11:51:15 AM. Learn the fundamentals of ASP.NET state management in 5 hours. Understand and implement five key techniques: Session State, View State, Application State, Cookies, and Query Strings. This comprehensiv
  • How To Create Outlook Add-ins5/30/2024 10:32:47 AM. Creating Outlook add-ins involves using tools like VSTO or Office JavaScript API, programming in C# or JavaScript, and customizing UI elements like ribbons and task panes. Deployment via Office Store
  • Inserting Data in the Database Using LINQ to SQL5/30/2024 10:28:32 AM. Using LINQ to SQL, insert data into databases effortlessly. Utilize LINQ query expressions, entity classes, and DataContext to map objects to database tables. Ensure proper error handling and concurre
  • State Management in React with TypeScript5/28/2024 4:13:37 AM. Ziggy Rafiq delves into the React Context API as well as popular libraries such as Redux to discuss the intricacies of state management in React applications. Take a look at various approaches and fin
  • Manage Controller Specific Session In ASP.NET MVC 55/24/2024 9:17:22 AM. In ASP.NET MVC 5, managing controller-specific sessions involves utilizing tools like HttpSessionStateBase to store and retrieve session data within controller actions.
  • Dotnet Core, EF Core Store Procedure With Multiple Results5/20/2024 6:33:57 AM. Entity Framework Core coupled with stored procedures for SQL database data retrieval encounters a constraint: consistent return of all columns required for DbQuery<T> properties. This alternativ
  • Working With Change Tracking Proxy in Entity Framework 6.05/17/2024 10:21:30 AM. In this article, you will learn about Proxy Objects, ObjectStateManager, and EntityState to leverage advanced tracking features for data manipulation and performance optimization in your .NET applicat
  • What Are the Use Cases of useContext Hook in ReactJS?5/16/2024 9:37:21 AM. The useContext hook in React streamlines context consumption, simplifying global state management, user authentication, theme switching, and localization. Practical examples demonstrate its versatilit
  • How Do You Use contextType in ReactJS?5/16/2024 6:10:48 AM. contextType in ReactJS assigns the context object from React.createContext() to a static property on a class-based component. This allows accessing the context value using this.context within the comp
  • Using The Strategy Pattern In C#5/14/2024 11:44:18 AM. The Strategy Pattern in C# facilitates flexible behavior encapsulation by defining a family of algorithms, encapsulating each one, and making them interchangeable. This promotes code reuse and simplif
  • An Overview on Domain Driven Design (DDD)5/13/2024 3:55:21 AM. Explore the fundamentals of Domain Driven Design (DDD) in this overview, focusing on principles like domain modeling, ubiquitous language, and bounded contexts.
  • CRUD Operations Using Entity Framework 5.0 Code First Approach in MVC5/9/2024 11:56:39 AM. Perform CRUD operations in MVC using Entity Framework 5.0's Code First approach. Define entity classes, utilize DbContext and LINQ for data access, and generate views and controllers with scaffold
  • Stored Procedures With Entity Framework5/8/2024 9:54:50 AM. Stored procedures in Entity Framework offer a way to execute database logic from within your .NET application. Utilize EF's capabilities to map and execute stored procedures efficiently, enhancing
  • Simple Insert And Select (CRUD) Operation Using .NET Core MVC With ADO.NET And Entity Framework Core5/7/2024 10:33:55 AM. Learn to perform basic CRUD operations in .NET Core MVC using both ADO.NET and Entity Framework Core. Build a robust data access layer for seamless integration with your web application.
  • Inject a DbContext Instance Into BackgroundService in .NET Core5/5/2024 8:28:55 AM. In this article, Learn how to inject and use a DbContext instance within a BackgroundService in .NET Core. Utilize dependency injection to access database operations from a background task, ensuring p
  • Code First Migrations With Entity Framework4/30/2024 9:39:59 AM. This article will provide answers to the following questions relevant to relationships in Entity Framework: whether or not to create a database, how to add / remove a field from an existing table, how
  • Accessing XRM In Angular Component In Dynamics CRM4/26/2024 11:58:44 AM. Learn how to integrate XRM Toolkit with Angular JS for Dynamics CRM development. Follow steps to add ClientGlobalContext, install XRM libraries, configure tsconfig.app.json, and access user data. Perf
  • How To Create An Azure WebJob For SharePoint Online4/16/2024 7:01:54 AM. Learn how to migrate custom apps to SharePoint Online using Remote Timer Jobs. Utilize Azure WebJob for seamless integration, manage ClientContext authentication, configure CRON schedules, and registe
  • Display Mode Provider in MVC 5 Application4/1/2024 8:19:20 AM. Display Mode Provider in MVC 5 Application facilitates adaptive rendering based on user agents. It utilizes DefaultDisplayMode and ContextCondition to insert modes for specific devices like Windows Ph
  • Learn about ASP.NET MVC Life Cycle4/1/2024 6:28:41 AM. Understand the MVC life cycle from HTTP request to response. Learn about ASP.NET's Page class, IHttpHandler interface, and MVC's Controller. Explore RouteTable and UrlRoutingModule for routing
  • Code First Migrations In Entity Framework Step By Step3/21/2024 7:25:30 AM. Learn how to define model classes, configure database mappings, set up connection strings, and utilize Package Manager Console commands to manage migrations efficiently in your ASP.NET application.
  • Shadow Properties In Entity Framework Core3/7/2024 11:32:17 AM. Entity framework core added many new features that are already present in older entity framework versions. One of the features of the Entity framework core is "Shadow Properties". The featur
  • Code First Approach in Entity Framework3/7/2024 11:28:21 AM. This content provides a comprehensive guide on implementing Entity Framework's code-first approach in ASP.NET MVC applications. It begins with an introduction to Entity Framework, highlighting its
  • Connected And Disconnected Scenarios in Entity Framework3/7/2024 8:45:09 AM. In this article, we will explore the intricacies of data handling in Entity Framework through connected and disconnected scenarios. Learn how to manage data manipulation, state tracking, and persisten
  • Code Only Design using ADO.NET Entity Framework 4.0 3/7/2024 8:43:43 AM. This code snippet implements Code Only Design in ADO.NET Entity Framework 4.0, connecting to a SQL Server database, configuring entities, and binding data to a GridView with exception handling.
  • Exploring AI-Driven C# Development with GitHub Copilot3/7/2024 4:00:58 AM. One of the most exciting advancements in this space is GitHub Copilot, an AI-powered coding assistant specifically designed to streamline the development process for C# programmers. This article delve
  • Understanding Directives in .NET3/5/2024 10:08:21 AM. Explore the significance of directives in .NET development, understanding types like preprocessor, reference, warning suppression, and nullable context directives. Learn their syntax and implementatio
  • Creating A CRUD With ASP.NET Core And EF Core2/28/2024 11:41:41 AM. Entity Framework Core (EF) is an ORM that makes it simpler to work with database by using POCO classes that map to database entities and DbContext to interact with them.
  • Build ASP.NET Core API Using Existing Database2/28/2024 10:16:53 AM. I’m sharing a short overview of Asp.NET Core. The journey of .NET Core started with the purpose of Microsoft to build a common .NET base library that provides a common foundation to all its platforms.
  • Add Windows Defender to Context Menu in Windows 82/26/2024 9:24:25 AM. Integrate Windows Defender into the context menu of Windows 8 for quick access to security features. Modify registry settings or use third-party tools to add Defender options to the right-click menu.
  • What is a Wrapper Component in React?2/9/2024 7:36:01 AM. Wrapper components in React.js refer to components that encapsulate other components or elements within them. They are commonly used for various purposes such as styling, behavior modification, contex
  • Connect To SharePoint Online Site With App Only Authentication2/8/2024 9:38:46 AM. In this article, we will explore various options to connect to SharePoint Online. Pros and Cons of each option and mainly how we can connect SharePoint Online site with App Only Authentication.
  • Display an Application Notification in Dynamics 365 Using JavaScript2/7/2024 10:12:52 AM. Unlock Dynamics 365's in-app notifications with JavaScript. Activate via the Power Apps portal, create a web resource with code, and trigger on contact name change. Stay informed effortlessly.
  • Multithreading in C#: Processes, Threads, and Performance Optimization2/7/2024 10:06:03 AM. In this article, we will learn to Explore how threads are managed, synchronized, and executed at the kernel level, shedding light on the core mechanisms of concurrency and parallelism.
  • Common Implementation Mistakes of Work Pattern in C#2/7/2024 9:15:44 AM. Exploring common mistakes in implementing the Unit of Work pattern in C# development. Examples include overcomplicating the class, incorrect transaction management, and lacking exception handling.
  • Explain about Mouse Events in JavaScript2/6/2024 4:10:40 AM. Unlock the potential of mouse events in JavaScript for dynamic web interactions. From simple clicks to intricate movements, utilize events like click, dblclick, mouse down, mouse up, mouse move, mouse
  • Optimize ASP.NET Core MVC Data Transfer with Custom Middleware2/1/2024 9:01:22 AM. In ASP.NET Core, middleware components are used to handle requests and responses as they flow through the application's pipeline. These middleware components can be chained together to process req
  • Cosine Similarity: Benefits for Text Embeddings1/25/2024 6:22:27 AM. This article delves into the significance of cosine similarity in natural language processing (NLP). Exploring its role in comparing text documents, it highlights its importance in NLP tasks and provi
  • Lazy Loading In ASP.NET Core 7 Web API1/22/2024 9:09:14 AM. ASP.NET Core 7 Web API. Lazy loading is a technique where related data is only loaded from the database when it is explicitly requested. In Entity Framework Core, lazy loading can be achieved by marki
  • Eager Loading In ASP.NET Core Web API Complete Example 1/22/2024 8:52:34 AM. In ASP.NET Core, eager loading is a technique used to load related data along with the main entity in a single database query. This helps to optimize performance by reducing the number of database cal
  • What is Hoisting in JavaScript ?1/17/2024 7:51:24 AM. Explore the concept of hoisting in JavaScript, where variable and function declarations are moved to the top of their scope during the creation phase. Learn through examples and enhance coding skills.
  • Using MockingContext: A Flexible IServiceProvider Implementation in C#10/3/2023 5:43:56 AM. Explore the MockingContext class: a custom implementation of the IServiceProvider interface in C#. Learn how this class provides an efficient way to automatically instantiate or mock services on-the-f
  • Exploring The Power Of C# Strategy Design Pattern9/27/2023 10:14:37 AM. The Strategy Design Pattern is a behavioral design pattern in software development, and in the context of C# programming, it is a powerful tool for defining a family of algorithms, encapsulating each
  • Closures In C# Demystified9/15/2023 6:25:45 AM. Closures In C# Demystified" is a concept that helps clarify the behavior of closures in the C# programming language. A closure is a function that captures variables from its outer scope, allowing
  • Unlocking the Future: Azure OpenAI Services9/11/2023 4:31:17 AM. To understand what is Azure OpenAI services, what are the models available, how the models are classified and the key terminologies in and around related to Azure OpenAI. The difference between Azure
  • How to Use SynchronizationContext to Post Messages9/6/2023 11:18:43 AM. SynchronizationContext is a class in .NET that provides a way to post and execute code on a specific context, typically associated with a UI thread or a specific synchronization context. It's com
  • .NET Static Variables : Better than Application!8/29/2023 9:04:59 AM. In traditional ASP, we always had the Application object to store application-wide variables in.In the .NET framework, both static variables and the Application object provide ways to store data that
  • What are Functional Requirements? 7/31/2023 5:52:22 AM. Functional Requirements of the system are a very critical part of the system in which we defined the overall functionality of the system. Functional Requirements define the behavior of the system mean
  • What are Token and Coin in the Context of Blockchain?7/30/2023 6:22:42 AM. The terms “Token” and “coin” are often used to describe different types of digital assets in the context of the Blockchain. This article will provide you with clear insight into what are coins and tok
  • Best Practices for CSS Selectors: Optimal Performance and Code Readability6/5/2023 6:08:32 AM. In this article, we will learn how we can Utilize best practices to pick and prioritize elements in a way that maximizes efficiency
  • HttpContextAccessor in Asp.NET Core Web API5/27/2023 3:58:23 PM. In ASP.NET Core Web API, the HttpContextAccessor class is a component that provides access to the current HTTP request and response context. It allows you to access various aspects of the HTTP request
  • Leadership Lessons from Ramayana in the Context of Software Development5/2/2023 1:21:17 AM.
  • CLR Stored Procedures in SQL Server2/3/2023 7:57:46 AM. In this article, we will learn about CLR Stored Procedures in SQL server.
  • ObjectContext VS DBContext12/23/2022 5:46:54 AM. ObjectContext and DbContext has capability to querying and working with data as objects.
  • How To Use Stored Procedure By Getting Database Connection Using DbContext In Repository7/9/2022 9:30:13 AM. Sometimes we need to create API/s and perform custom operation with database where we can perform create, insert, update and delete on entity/ties or table/s according to our requirement. Then we can
  • Show And Hide Form Header With Webresource In Dynamics CRM 3/30/2022 12:51:50 PM. In Dynamics 365 CRM, at times we must show or hide form header,header command bar,header body,Header tab navigator for a selected entity. This can be achieved by using client API Reference. As an exam
  • Entity Framework - DbContext3/26/2022 3:51:51 AM. DbContext is the most important part in Entity Framework. There are many articles on Entity Framework and very small information on DbContext at a single place. In this article I am trying to explain
  • Show Notifications Beside CRM Field With Web Resource In Dynamics CRM 3/3/2022 2:31:54 PM. In Dynamics 365 CRM to show notifications beside CRM Field clearly on which field error occurred rather than showing all errors at the top of the CRM Forms, web resources of type JavaScript was used t
  • Set Form Notifications With Webresource In Dynamics CRM2/16/2022 5:13:10 AM. In Dynamics 365 CRM to show form notifications, web resources of type JavaScript was used. Form context ui related client api reference can be used. As an example, contact form and contact entity reco
  • Use Form Context To Set Form Values With Web Resource In Dynamics CRM2/9/2022 5:55:14 AM. In Dynamics 365 CRM to perform customizations, web resources of type JavaScript was widely used. To set different attributes that are present in CRM Form, form context client api reference can be used
  • Understand Form Context To Read Form Data With Web Resource In Dynamics CRM2/2/2022 2:00:07 PM. In Dynamics 365 CRM, to perform customizations web resources of type JavaScript was widely used. To read different attributes that are present in CRM Form, form context client api reference can be use