Related resources for .NET 8
  • Session in ASP.NET Core MVC .NET 8 12/10/2024 11:13:14 AM. This article covers enabling sessions in .NET 8 ASP.NET Core MVC, storing/retrieving session values, managing session keys, and implementing session handling with step-by-step examples and code walkth
  • Token Caching in .NET 8 with Microsoft Entra ID12/7/2024 3:22:18 AM. Learn how to optimize .NET 8 web apps with token caching using Microsoft Entra ID. Discover in-memory and distributed caching strategies to boost performance, reduce latency, and improve scalability i
  • Understanding .http Files in .NET 812/1/2024 5:24:59 AM. Discover how to enhance API testing with Visual Studio's .http file feature. Learn to create and execute HTTP requests directly within the IDE, eliminating the need for external tools like Postman
  • Enhanced Exception Handling with IExceptionHandler in .NET Core 811/28/2024 5:49:02 AM. Learn about IExceptionHandler in .NET 8, a robust interface for handling exceptions in ASP.NET Core. Streamline error handling with custom logic, modular design, standardized API responses, and enhanc
  • What is Params In C#?11/28/2024 4:49:01 AM. In C# programming, the "params" keyword plays a crucial role in enhancing flexibility and convenience when dealing with methods that accept a variable number of the same type of parameters.
  • Minimal Web API With .NET 911/27/2024 11:10:40 AM. In this article, you will learn about RESTFul Minimal Web API with .NET 6 and .NET 7. REST APIs use the REST architecture style to provide standardized resource access using HTTP verbs. Minimal APIs
  • Limit Concurrent Execution in Asynchronous Methods11/24/2024 7:43:01 AM. In this article, we will learn how to finely control how many concurrent executions we will allow of our async methods, without blocking, using a semaphore.
  • Understanding Keyed Services in .NET 811/13/2024 9:12:24 AM. Keyed Services in .NET 8 enhance dependency injection by allowing multiple implementations of an interface to be registered with unique keys. This enables flexible dependency resolution, ideal for tai
  • Types of Error Handling in Web API .NET 8 with Example11/13/2024 6:37:48 AM. Error handling is a mechanism to take control of unexpected situations that occur in the system during processing and return any helpful error response from a NET 8 Web API. That said, here are some d
  • Understanding the Concept of Rule Engine through Shopping Cart Discount feature9/29/2024 4:59:27 AM. This article explores how a rule engine can be used to implement a shopping cart discount feature, automating discount logic based on conditions such as cart value, product category, and promotions.
  • A Comprehensive Guide to Migrating Azure Functions C# to C# 12 with .NET 8 Isolated9/21/2024 4:12:20 AM. Ziggy Rafiq shows how to leverage modern C# features, and how to optimize the performance and scalability of Azure Functions by migrating them to .NET 8 Isolated Processes.
  • Implement Rate Limiting in REST API in .NET 89/13/2024 9:02:49 AM. Rate limiting is a technique used to control the number of API requests a client can make within a set timeframe, helping to prevent server abuse, protect resources, and ensure fair usage. This articl
  • Advance Chat Application with .NET and SignalR9/2/2024 8:30:14 PM. Build an advanced real-time chat app with .NET 8, SignalR, and MS-SQL. This guide covers creating a chat app with one-to-one and group messaging, utilizing ASP.NET Identity for user roles and permissi
  • Learn About Pipeline in .NET 8.08/21/2024 4:47:55 AM. Learn how to configure and optimize the .NET 8.0 pipeline for improved performance in ASP.NET Core applications. Dive into new features and enhancements in the latest .NET release.
  • CRUD Operations with Repository Pattern and Web API in .NET 88/20/2024 6:57:32 AM. This guide covers creating a clean, maintainable data access layer by leveraging the Repository Pattern for managing database interactions and exposing endpoints through Web API, enhancing your .NET 8
  • A brief introduction to ASP.NET Core using C#12 and .NET 88/18/2024 1:40:52 PM. A brief introduction to ASP.NET Core using C# 12 and .NET 8 by Ziggy Rafiq. This modern framework enables you to build cross-platform, high-performance web applications. To get started, discover key f
  • Code Examples for .NET 8 Features with C# 128/18/2024 1:22:31 PM. An in-depth look at performance enhancements, language improvements, and new libraries in this comprehensive article by Ziggy Rafiq.
  • Differences Between .NET 5, .NET 6, .NET 7, .NET 8, and .NET 97/23/2024 3:55:31 AM. key differences and advancements in .NET from versions 5 to 9, including performance enhancements, new language features, cloud-native support, and cross-platform capabilities, highlighting how each i
  • Getting started with gRPC in .NET 8 using C# 127/11/2024 1:35:30 PM. Using C# 12 and gRPC in .NET 8, Ziggy Rafiq guides you through setting up your environment, defining services, and developing client and server applications with gRPC.
  • Exploring GetItems() Method for Working with Randomness in .NET 87/2/2024 7:16:36 AM. .NET 8 introduces the GetItems() method in the Random class, enhancing random data selection in C# programming. This method simplifies selecting random items from collections, improving code efficienc
  • C# .NET 8 SQL Bulk Insert Dapper vs BulkCopy vs Table-Value Params6/18/2024 5:22:03 AM. Explore the performance of SQL bulk insert methods in C# .NET 8 by comparing Dapper, BulkCopy, and Table-Value Parameters. This comprehensive analysis covers implementation details, efficiency, and be
  • How To Convert Older C# Version to C# 12 With Example6/17/2024 5:33:27 AM. Many developers still use older versions of C# due to legacy codebases, corporate constraints, and familiarity with older language features. Upgrading can seem daunting, but modern versions of C# offe
  • Frozen Collections in .NET 86/10/2024 7:00:56 AM. Frozen Collections in .NET 8" explores the introduction of frozen (immutable) collections in the latest .NET framework. These collections offer performance optimizations and enhanced memory manag
  • RabbitMQ Messaging for .NET 8 Web API with Windows Client Part 26/4/2024 12:13:25 PM. Learn how to integrate RabbitMQ with a WebApi and a Console application. Establish communication between the producer and consumer using RabbitMQ queues. Utilize RabbitMQ's features for asynchrono
  • RabbitMQ Messaging for .NET 8 Web API with Windows Client Part 15/30/2024 9:52:24 AM. RabbitMQ Messaging for .Net 8 WebAPI with Windows Client Part 1," introduces you to integrating RabbitMQ with a .Net 8 WebAPI and a Windows client application. Learn the fundamentals of setting u
  • Microsoft Build 2024: Innovations and Insights5/22/2024 6:10:31 AM. Microsoft Build 2024 showcased AI advancements, cloud solutions, and developer tools, highlighting innovations in Azure, .NET 8, and Microsoft 365
  • Optimize File Monitoring with Custom .Net8.FileSystemWatcher in .NET5/21/2024 7:13:02 AM. Discover enhanced file monitoring with Custom .Net8.FileSystemWatcher NuGet Package in .NET 8. Harness advanced features for real-time tracking, event-driven programming, and improved file system even
  • Efficient Solution Parsing in .NET 8 Using DTE & Microsoft.Build5/20/2024 11:41:46 AM. A solution parser within the realm of C# generally denotes a software or library capable of parsing and understanding the data within a Visual Studio solution (.sln) file and its corresponding project
  • Action and Func Delegates in C#5/18/2024 6:20:00 AM. Learn about Action and Func Delegates in C# with an app sample. In C#, delegates like `Action` and `Func` enable methods to be treated as objects, promoting flexible, modular, and reusable code throug
  • Cross-Platform Power with C# and .NET 8 for Desktop Apps5/8/2024 4:15:38 AM. Ziggy Rafiq provides a comprehensive insight into the development of cross-platform desktop apps. Ziggy Rafiq explores cutting-edge techniques, best practices, and practical guidance to elevate your p
  • .NET 8 Keyed Services in Dependency Injection4/29/2024 5:44:29 AM. .NET 8 introduces Keyed Services in Dependency Injection, enabling registration of multiple implementations for the same interface using a key. Enhance flexibility in dependency injection for dynamic
  • Intoduction of Interceptors in .NET 8 and C# 12: How to use it?4/18/2024 9:15:23 AM. Interceptors are an experimental feature, available in preview mode with C# 12. An interceptor is a method that allows you to substitute a call to an interceptable method, with a call to itself at com
  • A Comprehensive Guide to Entity Framework Core in .NET 84/16/2024 10:54:12 AM. Explore the comprehensive guide to Entity Framework Core in .NET 8, enriched with the latest features of C# 10. Authored by Ziggy Rafiq, this detailed overview covers everything from basic concepts to
  • Unit Testing with xUnit in .NET 84/16/2024 10:22:19 AM. This article talks about Unit Testing with xUnit with the .Net 8 framework as a guide. This comprehensive guide explores unit testing with xUnit in .NET 8, covering fundamentals, prerequisites, creati
  • Generate Dynamic Models in C# .NET 8 MVC from Database4/16/2024 10:20:45 AM. Creating a C# .NET 8 MVC Application To Generate Dynamic Models From A Database Table. This article demonstrates how to dynamically generate models in C# .NET MVC based on database table schemas, stre
  • Exploring Frozen Collections in .NET 8 With Benchmarking4/14/2024 5:32:01 AM. Frozen Collections is a new .NET 8 feature that can be used to create Dictionaries and Sets for faster read operations when you don’t need to make changes after the creation. In this article, I presen
  • The Experimental Attribute in .NET 8 and C# 124/3/2024 4:56:32 AM. In this article, we will discuss Experimental Attributes in .NET 8 and C# 12. The ExperimentalAttribute in C# .NET 8 marks APIs as experimental, signaling potential changes. It's crucial for libra
  • Multilingual Application with single Resx file - Forms Validation Strings4/1/2024 9:37:01 AM. Learn how to create multilingual applications using ASP.NET 8 in this third part of our series. Explore efficient techniques for managing form validation strings using a single Resx file, ensuring sea
  • ASP.NET 8 - Multilingual Application with Single Resx File - Part 2 - Alternative Approach4/1/2024 7:24:18 AM. Explore an alternative approach in ASP.NET 8 for building multilingual applications using a single Resx file in Part 2 of this series. Discover how to efficiently manage localization and globalization
  • Validate Multiple Tokens with Different Providers in ASP.NET 8 API3/15/2024 5:47:48 AM. 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 re
  • The New Avatar of Blazor with .NET 83/14/2024 10:50:52 AM. In this article, an array of new features and improvements that have been incorporated into the Blazor framework as part of the latest iteration of the .NET platform, known as .NET 8. How these enhanc
  • A Seamless Debugging Experience with Source Link in .NET 83/12/2024 5:48:06 AM. Discover how to enhance your debugging experience in .NET 8 with Source Link, authored by Ziggy Rafiq. This article guides about the efficient use of Source Link for debugging, providing invaluable in
  • Learn about Keyed Services Use in .NET3/11/2024 7:34:48 AM. .NET 8 introduces native support for keyed services in Dependency Injection (DI), eliminating the need for third-party packages. Learn about registering and resolving keyed services with examples for
  • What is New in .NET 93/4/2024 8:06:59 AM. .NET 9, succeeding .NET 8, places particular emphasis on cloud-native applications and enhancing performance. It will receive standard-term support (STS) for 18 months.
  • A Comprehensive Guide to Best Practices and Common Scenarios Using Dependency Injection in .NET 8 with C#102/21/2024 2:51:59 AM. This comprehensive resource covers everything you need to know to leverage Dependency Injection effectively in .NET 8 with C# 10. Ziggy Rafiq explains how to use Dependency Injection in the best possi
  • Rate limiting in Minimal APIs with .NET 82/20/2024 4:10:02 AM. Explore rate limiting in .NET Core to manage incoming traffic, enhance performance, and defend against malicious activities. Test fixed window, concurrency, token bucket, and sliding window limiters i
  • How to Develop a Custom Message Box in .NET 6,7,8 for WPF?2/19/2024 4:24:45 AM. As used in software development, the term "custom message box" describes a dialog box or pop-up window that is created and implemented with unique features, looks, and functionality instead
  • Explain Keyed Services in .NET 82/12/2024 11:59:02 AM. This article explores the concept of keyed services in .NET 8, a new feature enhancing dependency injection capabilities. It explains the benefits of using keyed services, along with detailed steps on
  • .NET 8 Features: Explore Performance Improvements and Language Enhancements2/11/2024 3:33:55 PM. This tutorial provides a comprehensive overview of the new features in .NET 8, focusing on performance enhancements and language improvements. Explore the advancements introduced in this version, delv
  • Deploying a .NET MVC App on Azure App Services2/6/2024 4:27:09 AM. 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 .
  • How to Refresh Memory Limit in .NET 82/5/2024 9:59:51 AM. In .NET 8, adjust memory limits dynamically with GC.RefreshMemoryLimit(). Ideal for cloud environments, this feature allows efficient scaling of memory usage.
  • Redis as Primary Database in .NET 8 Web API1/31/2024 9:51:42 AM. In this article, we are going to use Redis as our primary database for our ASP.NET Core Web API project in .NET 8. Learn about Redis, its data types, and the pros and cons of using it as a primary dat
  • Implement CRUD Operations in .NET Core 8 with Dockerized MSSQL Server1/25/2024 5:31:16 AM. In this article, I'm going to implement the basic CRUD Operations using .Net Core Web API & the Dockerized MSSQL Server. This article guides you through implementing CRUD operations in ASP.NET
  • Middleware in Minimal API with .NET 81/20/2024 11:53:50 AM. Minimal API Middleware in .NET 8, a streamlined approach to handling HTTP requests and responses. Learn about built-in middleware and create custom middleware for request logging, modification, and re
  • Difference between .NET 7 and .NET 81/17/2024 1:42:11 PM. This comprehensive comparison delves into the distinctive attributes of .NET 7 and .NET 8, shedding light on performance, integration capabilities, diagnostic tools, and compatibility. The article nav
  • FluentValidation in .NET 81/15/2024 10:08:43 AM. Validation is a crucial aspect of software development, ensuring that data meets specified criteria before it is processed further. In the .NET ecosystem, one powerful and widely used library for hand
  • Mastering PostgreSQL CRUD Operations in .NET 8 with ADO.NET1/1/2024 7:47:53 AM. Mastering PostgreSQL CRUD Operations in .NET 8 with ADO.NET: Best Practices and Code Examples
  • Manage user account in Azure AD B2C with Microsoft Graph 12/28/2023 10:19:03 AM. From this article, you will learn how to manage a user account in Azure AD B2C with Microsoft Graph. and the integration of Azure AD B2C with the Microsoft Graph SDK with C#. We’ll discuss the capabil
  • Implementing JWT Refresh Tokens in .NET 8.012/26/2023 8:27:48 AM. Secure web development involves maintaining user sessions beyond JSON Web Token (JWT) expiration. Learn to implement JWT refresh tokens in .NET 8.0, covering authentication, token generation, and refr
  • Blazor and .NET 8 QuickGrid Implementation with CSV Data Export12/22/2023 6:10:59 AM. Article for using QuickGrid in Blazor and .NET 8 and exporting data using CSV Helper as a supporting library. the simplicity and efficiency of QuickGrid, a razor component for displaying tabular data
  • Implement Entity Framework A Code First Approach in .Net 8 API12/18/2023 11:14:53 AM. In this article, we are going to discuss. How to implement Entity Framework a code first approach in .Net 8 API. In this approach, model classes and their relation are created first using the ORM des
  • .Net 8 Web API CRUD Operations12/18/2023 5:44:56 AM. 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, implementin
  • New Features of .NET 812/15/2023 5:52:28 AM. This article explains the release of .NET 8, it's new features and enhancement in the .NET ecosystem.
  • .NET Aspire: Simplifying Cloud-Native Development with .NET 812/13/2023 8:17:15 AM. 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 opi
  • System.Speech in .NET MAUI12/6/2023 5:56:53 AM. Demonstration calling System.Speech .NET 8 in .NET MAUI. Explore the integration of voice functionality into .NET MAUI applications for WinUI devices using the System.Speech NuGet package. Enhance use
  • Microsoft Entra ID Integration with .NET 8 ASP.NET Core Application11/27/2023 9:10:20 AM. 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 applicat
  • Getting Started with .NET Aspire for Production Ready Cloud Native Apps11/20/2023 10:04:13 AM. .NET Aspire is a user-friendly solution designed for crafting applications ready for the cloud. It simplifies the development process, allowing developers to focus on their core business logic. Packag
  • Empowering Developers with .NET 811/20/2023 5:34:28 AM. Step into the realm of .NET 8, the latest iteration of Microsoft's open-source platform that empowers developers to craft cutting-edge applications. With its focus on enhanced performance, cloud-n
  • Keyed Dependency Injection in .NET 811/16/2023 7:44:47 AM. Keyed dependency injection, introduced in .NET 8, is a powerful feature allowing service resolution based on specific keys. This enables managing multiple implementations of the same interface efficie
  • Identity API Endpoints based Authentication and Authorization in .NET 811/15/2023 12:10:49 PM. 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
  • New feature for Authentication and Authorization in .NET 811/15/2023 10:44:06 AM. Let's check out the cool new things that .NET 8 has added to help you keep your apps secure.
  • VS 2022 Reveals System.Runtime.CompilerServices.Unsafe Vulnerability11/15/2023 7:23:46 AM. 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 u
  • Why you need to uninstall old versions of .NET Core10/11/2023 7:15:14 AM. Why you need to uninstall old versions of .NET Core: security risks explained
  • Data Annotations in .NET9/20/2023 10:49:01 AM. In this article, we are going to learn about Data annotations and their importance in .Net Core. Data annotation is crucial in modern software development for ensuring data integrity and clarity. .NET
  • Cloning Class Using System.Text.Json in .NET 88/21/2023 8:48:15 AM. .NET 8 Preview 7 allows cloning internal properties
  • .NET 8 Preview 7: Breaking Changes for Alpine8/9/2023 10:54:01 AM. .NET 8 Preview 7 - breaking changes in 'ca-certificates' and 'krb5-libs' packages on Alpine images
  • What is new in C# 12?8/9/2023 4:49:17 AM. Let’s explore the new features in C# 12 with .NET 8 and how we can use it.
  • .NET 8 Preview 6 CreateFromDirectory using Stream7/12/2023 11:20:44 AM. .NET 8 Preview 6 new overload to CreateFromDirectory using Stream, at this sample I demonstrate to write a to MS-SQL Server
  • What’s New in .NET 8 Preview 56/14/2023 7:01:35 AM. .NET 8 Preview 5 Meter and Interface Hierarchies
  • New Features In C# 124/22/2023 11:34:16 AM. We're excited to show you three new features for C# 12:
  • New Features In .NET 84/17/2023 12:16:06 PM. In this article, you will learn about some new features in .NET 8.