Resources  
  • ADO.NET DataView in ASP.NETFeb 01, 2012. A DataView provides various views of the data stored in a DataTable. Using a DataView, you can expose the data in a table with different sort orders, and you can filter the data by row state or based on a filter expression.
  • ASP.NET 8 - Multilingual Application with Single Resx FileMar 27, 2024. Discover how to create a multilingual web application in ASP.NET 8 using a single Resx file. This tutorial explores efficient localization techniques, enabling your site to support multiple languages seamlessly.
  • What is JSON Serialization and Deserialization in C# Mar 27, 2024. JSON (JavaScript Object Notation) has become a ubiquitous data interchange format, especially in web development. In C#, developers have multiple options for serializing C# objects to JSON and deserializing JSON strings back to C# objects
  • Seamless Database Integration with C#Mar 26, 2024. Efficiently integrating databases with C# applications is crucial for managing data seamlessly. Explore various approaches like ADO.NET, Entity Framework Core, and Dapper along with best practices for successful integration.
  • Razor Syntax in ASP.NETMar 23, 2024. Razor syntax provides seamless integration of server-side code within HTML markup, resulting in cleaner and more readable code compared to traditional ASP.NET Web Forms
  • Explain Naming Conventions in C#Mar 21, 2024. Naming conventions are a set of rules and guidelines used for naming variables, functions, classes, and other entities in a programming language. They help improve code readability, maintainability, and consistency across projects.
  • Getting Started With Mapster in ASP.NET CoreMar 20, 2024. Learn how to streamline object mapping in ASP.NET Core applications using Mapster. This comprehensive guide covers installation, basic mapping techniques, advanced features like custom mapping, and practical examples to help you master the art of efficient data transformation.
  • Namespace for Authentication Routes in MVC and Its ImportanceMar 19, 2024. The System.Web.Mvc namespace in ASP.NET MVC is crucial for authentication routes, aiding in code organization, readability, and integration with framework features for seamless authentication and authorization tasks.
  • Validate Multiple Tokens with Different Providers in ASP.NET 8 APIMar 15, 2024. Learn to validate multiple tokens from different authentication providers in an ASP.NET 8 API. Configure authentication schemes for each provider, accommodating diverse token formats and validation requirements seamlessly.
  • Restrict Uploaded File Type in ASP.NET CoreMar 14, 2024. In ASP.NET Core MVC, you can restrict the uploaded file types by implementing validation on the server side. Here's a basic example of how you can achieve this.
  • Implementing AI and ML in C# ProjectsMar 14, 2024. Explore the integration of AI and ML into C# projects with this beginner-friendly guide. Power of ML.NET, TensorFlow.NET, and Accord.NET to implement machine learning algorithms in your C# applications. From simple linear regression to sentiment analysis, discover the basics of AI and ML in C# programming.
  • Restrict Uploaded File Size in ASP.NET CoreMar 11, 2024. In ASP.NET Core, you can restrict the uploaded file size using the RequestSizeLimit attribute in the Program.cs file or by configuring it in the appsettings.json file. Additionally, you can set the maximum file size programmatically in your controller actions.
  • Exception Handling In ASP.NET Core Web APIMar 11, 2024. Exception handling is crucial for robustness in ASP.NET Core Web API. Learn about global handling, custom middleware, action filters, and ProblemDetails for effective error management and client communication.
  • User Authentication with Forms Authentication in ASP.NET MVCMar 10, 2024. Forms Authentication is a widely-used mechanism in ASP.NET for managing user authentication within web applications. It allows developers to authenticate users based on credentials stored in a database or another user store. Implementation of Forms Authentication in an ASP.NET web application.
  • Generate QR Code with Text Around It Using ASP.NETMar 07, 2024. To generate a QR code with text around it using ASP.Net, leverage the QRCoder NuGet package. This code snippet demonstrates creating, customizing, and adding text to a QR code.
  • Unit Test in ASP.NET Core ApplicationMar 07, 2024. Creating unit tests for an ASP.NET Core API controller involves service mocking and exception handling. Set up your project, install packages, create a test project, mock the service, write tests, handle exceptions, and run tests.
  • Migrating ASP.NET Apps to Containers #2: Windows FontsMar 06, 2024. This post delves into challenges faced during the migration of ASP.NET apps from Windows to Linux Docker containers. It specifically addresses the complexities associated with Windows Fonts in this migration process.
  • Dynamic Model Binding in ASP.NET Core Web API Feb 22, 2024. Dynamic model binding in ASP.NET Core Web API allows flexible data binding for HTTP requests with varying structures. Follow these steps to implement dynamic model binding in your ASP.NET Core project.
  • ASP.NET Core with Hosted Service & Lifecycle EventsFeb 20, 2024. ASP.NET Core with Hosted Service & Lifecycle Events explores the integration of background tasks in ASP.NET Core applications. Learn how to implement long-running processes efficiently, manage service lifetimes, and leverage lifecycle events for graceful initialization and shutdown.
  • Third-party API Integration in Asp.NET Core Web APIFeb 20, 2024. ASP.NET Core is a powerful framework for building web APIs, allowing developers to create robust and scalable applications. One of the key features of modern web development is the integration of third-party APIs, which provide access to external services and data.
  • DRY, YAGNI, KISS Engineering PrinciplesFeb 19, 2024. In software development and engineering, certain guiding principles serve as beacons of efficiency and effectiveness. Among these principles, DRY, YAGNI, and KISS stand out as fundamental pillars that shape the way engineers approach problem-solving and project development.
  • Securing Your .NET Projects: Simple Strategies and Real ExamplesFeb 18, 2024. In today's digital world, keeping our software safe from cyber threats is super important. For developers working with .NET projects, it's not just a good idea but really necessary to make sure our apps are strong against potential attacks. Luckily, there are lots of tools and tricks within the .NET world to help us do this.
  • Error Management in .NET CoreFeb 18, 2024. In software development, dealing with mistakes is really important. Whether it's a small problem or a big one, how a program handles mistakes can really affect how well it works for users. In the .NET Core world, there's a cool way to handle errors called global exception handling using custom middleware.
  • Web API Development with ASP.NET Core: A Comprehensive TutorialFeb 16, 2024. In this comprehensive tutorial, you'll learn how to create powerful and scalable RESTful APIs with ASP.NET Core. In this guide, developers will learn about routing, controllers, and middleware as well as how to create robust web APIs. This tutorial provides step-by-step instructions and code examples to help developers master the nuances of API development, from setting up a new ASP.NET Core Web API project to testing endpoints for seamless deployment. This tutorial is your go-to resource for building high-performance APIs, no matter how experienced you are with ASP.NET Core.
  • Exporting Custom OpenTelemetry Metrics to Azure Monitor using ASP.NET CoreFeb 14, 2024. Learn how to seamlessly export custom OpenTelemetry metrics from your ASP.NET Core applications to Azure Monitor. Enhance monitoring and observability by integrating with Azure's powerful toolset, leveraging the flexibility and insights provided by OpenTelemetry.
  • Exporting OpenTelemetry Traces to Azure Monitor using ASP.NET CoreFeb 14, 2024. Learn to seamlessly export OpenTelemetry traces from ASP.NET Core to Azure Monitor. Enhance monitoring and optimize performance with Azure's robust tools.
  • Mastering Test-Driven Development with ASP.NET CoreFeb 14, 2024. Test-Driven Development (TDD) is a methodology in software development that emphasizes writing tests before writing the actual implementation code. The code is thoroughly tested and meets the specified requirements. How to implement TDD in an ASP.NET Core application using a simple CRUD scenario for managing a list of books.
  • Exporting OpenTelemetry Logs to Azure Monitor using ASP.NET CoreFeb 14, 2024. Discover how to seamlessly export OpenTelemetry logs from ASP.NET Core applications to Azure Monitor. Enhance monitoring and streamline log management with this integration, leveraging Azure's robust tools for greater insights.
  • Secure Facebook Webhook Payloads in ASP.NET Core 8 with HMAC256 VerificationFeb 08, 2024. In the realm of web development, integrating with platforms like Meta Facebook is common. This article guides us through verifying Facebook webhook payload signatures in ASP.NET Core 8, which is crucial for data integrity.
  • IExceptionHandler in ASP.NET Core 8Feb 07, 2024. ASP.NET Core 8 introduces a new feature called IException Handler, providing a centralized way to handle exceptions in applications. This article explores what IExceptionHandler is and how to use it effectively.
  • Result vs. ActionResult in ASP.NET MVCFeb 06, 2024. In ASP.NET MVC, ActionResult is a general base class for action results, offering flexibility. ViewResult, a specific type, is used when explicitly returning a view, simplifying code for clearer understanding.
  • Parameter Binding in Minimal API in ASP.NET CoreFeb 06, 2024. When building web applications using ASP.NET Core, developers often need to handle incoming data from HTTP requests. One crucial concept that helps achieve this is called parameter binding. Let's break down this fundamental idea in the context of Minimal API in ASP.NET Core.
  • Understanding "obj" and "bin" Directories in ASP.NET Core Web APIFeb 05, 2024. These directories are needed because the C# compiler and linker require intermediate files to be generated during the build process to produce the final output file. The "obj" directory contains these intermediate files, which are needed to link and optimize the final executable or library file.
  • Deploying a .NET MVC App on Azure App ServicesFeb 05, 2024. Deploy an Asp.Net 8 MVC application on Azure App Services using Visual Studio. Learn to create app services, configure settings, and publish the project, making it .
  • ASP.NET Core MVC vs Razor Pages vs CodeBehind FrameworkFeb 02, 2024. In this article, we compare the performance of ASP.NET Core with the CodeBehind framework. Once we compare Razor Pages with CodeBehind and once again we compare ASP.NET Core MVC with the CodeBehind framework.
  • Building a URL Shortener with .NETFeb 01, 2024. Create a powerful URL shortener using the versatile .NET framework, specifically ASP.NET Core. This guide walks you through setting up a database, implementing URL shortening logic, and configuring controllers and views.
  • Logging in .NET Core with NLogFeb 01, 2024. Explore the fundamentals of logging and its benefits in software development using NLog in .NET Core 6. Follow a step-by-step implementation with prerequisites, NLog configuration, and a demo Weather Forecast API.
  • Optimize ASP.NET Core MVC Data Transfer with Custom MiddlewareFeb 01, 2024. 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 requests and responses in a specific order. Transferring data between middleware components can be achieved using various techniques.
  • Optimizing Angular and C# PerformanceJan 31, 2024. Discusses performance optimization techniques for Angular and C# applications, covering lazy loading, code splitting, server-side rendering, and backend performance improvements in ASP.NET Core.
  • Routing to Controller Actions in ASP.NET Core MVCJan 30, 2024. In ASP.NET Core, routing to controller actions is facilitated through attributes that define route templates, mapping incoming HTTP requests to specific actions. Multiple conventional routes can be established in the Startup.cs file using the MapControllerRoute method.
  • Full-Stack Web Development in ASP.NET Core 8 MVCJan 30, 2024. Full-stack web development refers to the practice of designing, developing, and deploying both the client-side (front-end) and server-side (back-end) components of a web application. In this, developers handle everything from user interface design and interaction to database management and server configuration.
  • How To Generate Curl Script of the HttpClient in .NETJan 29, 2024. The HttpClientToCurl is a NuGet package for generating the curl script of HttpClient in C# (.Net) supported features: Post, Get, Put and Delete. content types: application/json, text/xml, application/x-www-form-urlencoded
  • Stars Rating System with Dapper in .NET CoreJan 29, 2024. This tutorial teaches ASP.NET Core MVC web application development with controllers and views. Implementing a star rating system with Dapper in .NET Core involves several steps. First, you need to set up your database schema to store ratings.
  • Data Transfer in ASP.NET Core MVC Controllers with TempDataJan 29, 2024. In ASP.NET Core MVC, you can pass temporary data from one controller to another using TempData. TempData is a dictionary that can be used to share data between controllers during the current request and the subsequent redirect. Here's how you can achieve this:
  • Create a Minimal API with ASP.NET Core and Entity FrameworkJan 22, 2024. This article explains the concept of minimal APIs, their advantages, and steps to implement CRUD operations. Explore the flexibility and simplicity of minimal APIs for building efficient HTTP APIs. The article covers database setup, model creation, repository implementation, and dynamic registration of APIs during runtime.
  • Lazy Loading In ASP.NET Core 7 Web APIJan 22, 2024. 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 marking navigation properties as virtual.
  • Using Google OAuth 2.0 as User Sign-In for ASP.NET in C#Jan 22, 2024. Integrate Google OAuth 2.0 with ASP.NET in C# for seamless user authentication. Unlock the potential of Google OAuth Sign-In for your website. This comprehensive guide covers API registration, obtaining authorization codes, access tokens, and user email retrieval using C#.
  • Eager Loading In ASP.NET Core Web API Complete Example Jan 22, 2024. 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 calls. Let's implement an example of eager loading in an ASP.NET Core Web API using Entity Framework Core.
  • Synchronous vs Asynchronous Programming in ASP.NET Core Web APIJan 21, 2024. Synchronous Programming: In synchronous programming, tasks are executed one after the other, in a sequential manner. When a request is made to a synchronous API, the server processes the request and waits for it to be completed before moving on to the next task. This means that if one operation takes a long time to finish, it can block the execution of subsequent operations, potentially leading to slower response times for clients.Asynchronous Programming: On the other hand, asynchronous programming allows tasks to be executed concurrently. When a request is made to an asynchronous API, the server can initiate tasks and continue processing other requests without waiting for the previous tasks to be completed. This can lead to better scalability and responsiveness, especially in scenarios where certain operations, such as I/O operations, may take some time.ASP.NET Core Web API: In ASP.NET Core Web API, you have the flexibility to choose between synchronous and asynchronous programming models. The framework supports both approaches. Asynchronous programming is particularly useful when dealing with I/O-bound operations, such as accessing a database or making external API calls, where the application can continue processing other tasks while waiting for the I/O operation to complete.To implement asynchronous programming in ASP.NET Core Web API, you can use the `async` and `await` keywords in your controller methods, allowing you to write non-blocking code. This helps improve the overall performance and responsiveness of your API, especially in scenarios with high concurrency.
  • Working with SQL Lite Database in Asp.NET Core Web API Jan 21, 2024. SQLite is a self-contained, serverless, and zero-configuration relational database management system (RDBMS). It is a lightweight, open-source, and embedded database engine that does not require a separate server process and operates directly on the client's device
  • Securing Your .NET Applications With ExamplesJan 20, 2024. In the realm of software development, security remains a paramount concern. This is especially true for .NET applications, which often handle sensitive data and interact with critical systems. By adhering to security best practices, developers can create robust applications that safeguard user information and withstand potential attacks.
  • How to Create SessionStorage in Blazor Server?Jan 19, 2024. This article will teach how to implement session storage in Blazor Server applications. This article guides you through creating session storage using Protected Session Storage in Blazor Server. Learn to enhance security and manage user sessions effectively, ensuring a robust application.
  • Implementing IP Rate Limiting in ASP.NET Core MVCJan 18, 2024. IP rate limiting is a crucial aspect of web application security that helps prevent abuse, protect against brute force attacks, and ensure fair resource usage. In this article, we will walk through the process of implementing IP rate limiting in an ASP.NET Core MVC application using middleware.
  • Extending HttpClient With Delegating Handlers in ASP.NET CoreJan 17, 2024. Explore the power of the HttpClient class in ASP.NET Core through Delegating Handlers. Learn to create a custom handler for logging HTTP requests and responses, enhancing HttpClient functionality with extensibility and modularity.
  • Getting Started with .NET MAUI Application Development with .NET 8Jan 16, 2024. The .NET framework is a versatile and powerful platform for building a variety of applications, including web, desktop, mobile, cloud, gaming, and IoT applications. With the release of .NET 8, Microsoft has introduced several enhancements and features that make it even more appealing for developers. This article explains, what is .NET MAUI, it's uses and demonstrates how to get started with .NET MAUI application development.
  • Handling CORS (Cross-Origin Resource Sharing) in ASP.NET Core Web APIJan 15, 2024. Demystify CORS in ASP.NET Core! Learn how to seamlessly handle Cross-Origin Resource Sharing and overcome origin-related errors in your Web API with this concise guide.
  • Securing PDF Uploads in MVC: Mitigating PDF Injection and Cross-site Scripting VulnerabilitiesJan 15, 2024. PDF Injection, also known as PDF XSS (Cross-site Scripting), can be a serious security vulnerability. To prevent such issues during PDF upload and viewing in an MVC (Model-View-Controller) application, it's crucial to implement proper validation and sanitation mechanisms. Below is a sample code that demonstrates how to handle PDF uploads securely and prevent PDF Injection leading to Cross-site Scripting in an MVC environment.
  • Optimizing ADO.NET Code for Efficient Data Management StrategiesJan 12, 2024. In this article, we will learn about ADO.NET performance with strategic data retrieval techniques. Explore stored procedures, pagination, selective column retrieval, caching, batch processing, optimized data types, and connection pooling for efficient database interactions and responsive user experiences.
  • DropDown List Using XML in ASP.Net C#Jan 11, 2024. The first dropdown, "ddldist," displays district names, and the second dropdown, "ddltaluka," displays taluka names based on the selected district. The C# code uses the Page_Load method to load district data on the initial page load. The ddldist_SelectedIndexChanged method handles the district selection, filtering, and populating of the taluka dropdown accordingly. The XML files "District.xml" and "Taluka.xml" store the district and taluka data, respectively.
  • JWT Authentication Using Refresh Token Series - 1 [Login Feature] In .NET Core 6.0-ADO.NET-SQLJan 10, 2024. In this series of articles, we'll focus on a hands-on, practical implementation of JWT authentication with refresh tokens in .NET Core 6.0 using ADO.NET and SQL, emphasizing real-world scenarios and code examples for a deeper understanding of the underlying concepts.
  • Exploring the Power of Action and Func Delegates in C#Jan 10, 2024. Delegates play a pivotal role in C# programming, offering the ability to pass methods as parameters, store them as variables, and create custom events and callbacks. Among these, two special types of delegates—Action and Func—stand out for their ability to simplify code, enhancing readability and maintainability.
  • Text and Email Generation with Handlebars.NET Templates in .NETJan 10, 2024. Handlebars.NET, a robust templating engine in the .NET ecosystem, facilitates dynamic content creation for emails and text. With an intuitive syntax and support for helpers and partials, it enhances personalization.
  • Implementing CORS in Your ASP.NET Core ProjectJan 04, 2024. Enable secure cross-origin communication in your ASP.NET Core app with this step-by-step guide on implementing Cross-Origin Resource Sharing (CORS) using middleware and policies. Enhance security and control access to your resources effectively.
  • Dependency Inversion Principle VS Dependency Injection in C#Jan 04, 2024. Dependency Inversion Principle (DIP) and Dependency Injection (DI) are pivotal in crafting resilient software. Learn their implementations in C# for modular, adaptable, and maintainable code structures.
  • A Guide for Building a .NET Project with Clean ArchitectureJan 02, 2024. In this article we will take a closer look at the foundational thoughts and factors influencing our project creation. Clean Architecture emphasizes the separation of concerns and dependency inversion to create a highly modular and testable codebase.
  • Mastering PostgreSQL CRUD Operations in .NET 8 with ADO.NETJan 01, 2024. Mastering PostgreSQL CRUD Operations in .NET 8 with ADO.NET: Best Practices and Code Examples
  • Azure Functions in ASP.NET Core Web APIJan 01, 2024. Azure Functions, a component of Microsoft's serverless computing offerings in Azure, enable developers to create and deploy small, event-driven code without managing infrastructure. These functions, supporting languages like C# and JavaScript, automatically scale and integrate with Azure services, streamlining the development of serverless applications and microservices.
  • Microservices Development with 3-Tier Architecture and Circuit Breaker Design Pattern Using Microsoft ASP.NET Core Web APIDec 30, 2023. The Circuit Breaker pattern, analogous to its electrical counterpart, monitors for failures and helps prevent cascading failures in distributed systems. It acts as a barrier between a potentially failing service or resource and the rest of the system.When a service is working as expected, the Circuit Breaker allows requests to pass through. However, if the service encounters an issue or starts to fail, the Circuit Breaker "opens" and prevents further requests from being sent to the failing service for a defined period. This helps to preserve system resources and prevent overload or degradation.
  • JSON Serialization and Deserialization in C#Dec 29, 2023. JSON serialization and deserialization in C#! Learn the ropes with Newtonsoft.Json (Json.NET) or the built-in System.Text.Json. Level up your data interchange skills for seamless system communication.
  • Controllers and Actions in MVCDec 28, 2023. In this article, we will learn about the role of controllers, action methods, and action filters in the MVC architectural pattern for web development. Understand their functions, significance, and examples to enhance your ASP.NET MVC application.
  • Microservices Development Using CQRS Architectural Design Pattern in Microsoft Asp.net Core Web API Dec 28, 2023. The Command Query Responsibility Segregation (CQRS) pattern is an architectural principle that separates the responsibility for handling commands (write operations that change state) from queries (read operations that retrieve state). It advocates having separate models for reading and writing data.Components of CQRS: Command: Represents an action that mutates the system's state.Query: Represents a request for data retrieval without changing the system's state.Command Handler: Responsible for executing commands and updating the system's state.Query Handler: Responsible for handling read requests and returning data in response to queries.Command Model: Contains the logic and rules necessary to process commands and update the data store.Query Model: Optimized for querying and presenting data to users, often involving denormalized or optimized data structures tailored for specific queries.Key Principles: Separation of Concerns: Splitting the responsibilities of reading and writing data helps in maintaining simpler, more focused models for each task.Performance Optimization: Enables independent scaling of read and write operations. The read model can be optimized for query performance without affecting the write model.Flexibility: Allows for different models to be used for reading and writing, which can cater to specific requirements and optimizations for each use case.Complex Domain Logic: Particularly beneficial in domains where read and write logic significantly differ, allowing tailored models for each type of operation.Benefits: Scalability: CQRS enables scaling read and write operations independently, optimizing performance.Flexibility and Optimization: Tailoring models for specific tasks allows for better optimization of the system.Complexity Management: Separating concerns can make the system easier to understand and maintain.
  • Efficient API Development Database Operations in ASP.NET Core Web Using Dapper and Stored Procedures Dec 26, 2023. Employing Dapper in ASP.NET Core for database operations brings a streamlined approach to handling data, ensuring efficient and straightforward interactions. When complemented with stored procedures, this combination elevates the API development process, enhancing performance and maintainability. Leveraging these tools empowers developers to create robust, high-performing applications while simplifying database access and management.
  • Logging in .NET Core with SerilogDec 24, 2023. Dive into the fundamentals of logging and follow a detailed guide on implementing Serilog in .NET Core 6 Web API. Learn the benefits and step-by-step configuration for efficient log management.
  • 10 Common Entity Framework interview questions and answers.Dec 24, 2023. here is some common Entity Framework interview questions.
  • API Development Using Dapper and Microsoft Asp.NET Core Web API Dec 24, 2023. ASP.NET Core is a powerful framework for building web applications, and "Dapper" is a popular micro ORM (Object-Relational Mapping) that works well with ASP.NET Core for database operations. Dapper provides a simple way to interact with databases using raw SQL queries while mapping the results to objects.
  • Building a Custom Object Mapper in ASP.NET Core Using C#Dec 21, 2023. Unlock the power of data transformation in ASP.NET Core with a custom object mapper. Delve into the steps—defining mapping configurations, implementing logic, and seamless integration—ensuring tailored, efficient, and maintainable data conversion in your applications. Happy coding!
  • Using RESTSharp for CRUD Operations in ASP.NET Core Web APIDec 19, 2023. Utilizing RESTSharp for CRUD operations in ASP.NET Core Web API offers a streamlined approach to interacting with APIs. This library simplifies HTTP requests and responses, allowing developers to focus on implementing functionality rather than managing low-level HTTP communication.By breaking down each operation—POST, PUT, DELETE, GET, PATCH—and providing corresponding code snippets, the process of creating, retrieving, updating, and deleting resources becomes more accessible. The RestClientHelper class encapsulates RESTSharp configuration, promoting code reusability and maintainability.
  • Building a Podcast RSS Feed Generator with ASP.NET CoreDec 18, 2023. We are podcasting with ASP.NET Core. This article guides you through building a podcast RSS feed generator using ASP.NET Core. Learn to create, populate, and test the feed, enabling seamless distribution of your podcast content.
  • .Net 8 Web API CRUD OperationsDec 18, 2023. In this article, We are going to discuss how to create web API using .NET 8. Creating a .NET 8 Web API with CRUD operations using an in-memory collection. It covers setting up the project, implementing services, and testing endpoints.
  • Response Compression in ASP.NET CoreDec 13, 2023. Response Compression. Learn the essentials of response compression in web applications, enhancing performance by reducing HTTP response sizes. Explore benefits, implementation steps, compression providers, levels, and best practices for optimal results.
  • .NET Aspire: Simplifying Cloud-Native Development with .NET 8Dec 13, 2023. The world of cloud-native development is ever-evolving, demanding tools and frameworks that streamline the process of building robust, scalable applications. Enter .NET Aspire, a recently released opinionated stack from Microsoft designed to simplify cloud-native development with .NET 8.
  • ValidateAntiForgeryToken in ASP.NET CoreDec 13, 2023. In web development, security is a crucial aspect that demands meticulous attention. Cross-Site Request Forgery (CSRF) is a type of attack where unauthorized commands are transmitted from a user trusted by a web application. ASP.NET Core provides a built-in defense mechanism against CSRF attacks called ValidateAntiForgeryToken.
  • ASP.NET Core Data Protection APIDec 11, 2023. ASP.NET Core Data Protection API. In web applications, ensuring authenticity is pivotal during round trips. This article delves into the Asp.Net Core Data Protection API, discussing its implementation in web applications, API methods, and prerequisites using .Net Core 6.0 and Visual Studio 2022. Explore cryptographic solutions for data protection, key management, and rotation.
  • Concurrency Limiter MiddlewareDec 07, 2023. Here 4 samples of rate-limiting algorithms included in .NET 7/8.
  • Understanding Onion Architecture in ASP.NET Core 8.0Dec 02, 2023. In this article, we will learn how to implement Onion Architecture principles, emphasizing layered structure for ASP.NET Core.
  • Publishing ASP.NET Core 8 on IISNov 27, 2023. Learn how to publish ASP.NET Core 8 on IIS. Learn the nuances of publishing ASP.NET Core 8 applications on Internet Information Services (IIS). Understand the importance of configuring code to support IIS, setting up the application architecture to align with the IIS pool, and dealing with common errors like the 503 Service Unavailable. Walk through steps like enabling IIS Server options in Program.cs, selecting the correct architecture pool, configuring the application to run on Windows, and managing the app_offline.htm file.
  • Microsoft Entra ID Integration with .NET 8 ASP.NET Core ApplicationNov 27, 2023. From this blog, you will learn how to integrate Microsoft Entra ID Integration with .NET 8 ASP.NET Core Web application. The streamlined integration of Microsoft Entra ID with an ASP.NET Core application using .NET 8. Learn to create, register, and configure your app for robust identity management.
  • Managing Licenses with TelerikNov 27, 2023. Learn how Telerik licenses work and how to manage. Learn about how Telerik licenses function, the role of license holders, and the process of managing and transferring licenses. Discover solutions for errors and gain insights into Telerik Management Admin.
  • Implementing The Saga Pattern with Rebus and RabbitMQNov 22, 2023. Delve into the Saga pattern for consistent operations in distributed systems. This article guides you through implementing the Saga pattern with Rebus and RabbitMQ, managing transactions, and ensuring data consistency.
  • New Features of .NET 8Nov 20, 2023. This article explains the release of .NET 8, it's new features and enhancement in the .NET ecosystem.
  • Middleware in ASP.NET Core and How to Create Your Own?Nov 20, 2023. ASP.NET Core is a robust framework for building scalable web applications, and its middleware plays a vital role in handling HTTP requests and responses. Middleware components are key elements in the request pipeline, allowing developers to inject custom logic into the processing flow.
  • Creating Consistent ASP.NET Core Web API Responses with AutoMapper and DTOsNov 17, 2023. Developing a robust ASP.NET Core Web API hinges on the subtle yet pivotal details of response structuring. Leveraging AutoMapper in tandem with well-designed Data Transfer Objects (DTOs) not only ensures the separation of concerns but also orchestrates a symphony of consistent and predictable API responses. These intricacies extend beyond mere data mapping; they epitomize a strategic approach in harmonizing the internal model intricacies with the API's outward-facing facade. Unveiling the elegance of these detailed mappings and the orchestration of a uniform response structure not only enhances the developer's workflow but also augments client-side integration, presenting an intuitive and standardized communication channel. Addressing these finer points not only establishes a foundation for resilient error handling but also fuels the API's scalability and ease of maintenance, fostering an environment where agility meets reliability.
  • VS 2022 Reveals System.Runtime.CompilerServices.Unsafe VulnerabilityNov 15, 2023. The recent version of Visual Studio 2022 revealed a vulnerability in ASP.NET WebForms.while updating Windows on Patch Tuesday and releasing the latest version of Visual Studio 17.8 and .NET 8 LTS, I upgraded some legacy systems developed with ASP.NET WebForms, now utilizing C# 12. During this procedure, I encountered a significant problem thanks to a new feature of Visual Studio.
  • Identity API Endpoints based Authentication and Authorization in .NET 8Nov 15, 2023. The second step in adding token-based authentication to ASP.NET Core Identity is to introduce the Identity API endpoints. Basically, this is an API version of the actions that you can perform with ASP.NET Core Identity through the classic web UI. Once you enable the Identity API endpoints, you will get endpoints like /register, /login, /forgotPassword, confirmEmail, etc.
  • Implementing the Visitor Pattern in ASP.NET Core Web API Using 3-Tier Architecture Nov 14, 2023. In an ASP.NET Core Web API employing a 3-tier architecture, the Visitor Pattern is utilized for efficient data manipulation in the C# Article model. The model, CSharpArticle, includes essential properties. The architecture involves a Data Access Layer with a repository managing database interactions, a Business Layer housing the Visitor interface and Article Service, and a Presentation Layer containing the API controllers. The Visitor Pattern is employed in the Business Layer to perform operations on articles, allowing for clean separation of concerns and enabling reusable, structured, and scalable code. This design ensures that CRUD operations benefit from the Visitor Pattern's flexibility while maintaining a clear division of responsibilities across the layers of the application.
  • ASP.NET Core Web API Development with Template Method Pattern and 3-Tier ArchitectureNov 13, 2023. This design pattern allows for a structured, modular, and easily maintainable architecture by separating concerns into distinct layers and leveraging the Template Method Pattern to provide a common structure for CRUD operations while allowing flexibility for additional logic in concrete implementations.
  • API Development Using Strategy Design Pattern with 3-Tier Architecture Nov 12, 2023. In today's fast-paced software development landscape, creating well-structured and maintainable applications is crucial. One popular design pattern that can greatly enhance the organization and flexibility of your ASP.NET Core Web API projects is the Strategy Design Pattern. This pattern allows you to encapsulate and swap out algorithms or behaviors at runtime, making it an ideal choice for handling various CRUD (Create, Read, Update, Delete) operations on your data models. In this article, we'll explore how to implement the Strategy Design Pattern within a 3-Tier Architecture in an ASP.NET Core Web API. You'll learn how to create a robust business logic layer, define concrete strategies for each CRUD operation, and seamlessly integrate them into your API controllers. By the end of this guide, you'll have a comprehensive understanding of how to leverage this pattern for a more maintainable and scalable API.
  • Implementing State Design Pattern in ASP.NET Core Web API with 3-Tier ArchitectureNov 10, 2023. In this ASP.NET Core Web API project utilizing a 3-Tier Architecture with the State Design Pattern, we've created a News management system that encapsulates the state of news items, allowing for a clear and structured way to handle state transitions. The architecture consists of three distinct layers: Presentation, Business Logic, and Data Access. The Business Logic layer is where the State Design Pattern is applied, with different states such as Draft, Published, and Archived, each represented by concrete state classes. The NewsService class is responsible for managing these states and their transitions. Controllers in the Presentation layer handle HTTP requests and delegate the state-related operations to the NewsService, enabling CRUD functionality for news items. By setting the appropriate state and invoking state-specific methods, such as Publish and Archive, we control the state transitions. While this example focuses on the pattern's core implementation, in a real-world scenario, you would integrate a data access layer to persist and retrieve news items from a database, making it a robust and maintainable system.
  • How to Upload Files into Azure Blob Storage with ASP.NET Core Web APINov 10, 2023. The article explains how to add files to Azure Blob Storage using ASP.NET Core Web API. It guides through the process, teaching step-by-step methods for uploading various files into Azure Blob Storage, a cloud-based solution. It's aimed at developers seeking a clear, practical guide for integrating this process into their web applications using ASP.NET Core.
  • How To Create ASP.NET Core MVC Application?Nov 08, 2023. An ASP.NET Core MVC (Model-View-Controller) application is a type of web application framework developed by Microsoft. It is designed for building modern, dynamic web applications. Here's what each component of ASP.NET Core MVC represents:Model: The model represents the data and business logic of the application. It defines the structure and behavior of the data that the application works with. In an ASP.NET Core MVC application, models are typically classes that define the data entities and may also include the logic to interact with a database or other data sources.View: The view is responsible for presenting the user interface and displaying the data to the user. Views in MVC are typically written in a markup language like HTML, and they are often combined with a template engine to dynamically generate the HTML based on the data from the model.Controller: The controller acts as an intermediary between the model and the view. It receives user requests, processes them, interacts with the model to retrieve or update data, and then selects the appropriate view to render the response. Controllers handle user input, such as form submissions and URLs, and manage the flow of the application.ASP.NET Core is a cross-platform and open-source framework that allows developers to build web applications and services. MVC is one of the architectural patterns it supports, and it provides a structured way to organize code, making it easier to manage and maintain web applications. It promotes the separation of concerns, making it possible to work on the different aspects of an application independently.

About ado.net DataView

ado.net dataview

OUR TRAINING