• Spotlight: AI in Enterprise
  • Videos
  • Newsletters
  • Resources

About

  • About us
  • Advertise
  • Contact Us
  • Foundry Careers
  • Newsletters
  • Reprints

Policies

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Copyright Notice
  • Member Preferences
  • About AdChoices
  • E-commerce Affiliate Relationships
  • Your California Privacy Rights

Our Network

  • CIO
  • Computerworld
  • CSO
  • Network World

More

  • Blogs
  • BrandPosts
  • Events
  • Videos
  • Enterprise Buyer’s Guides
  • Analytics
  • Artificial Intelligence
  • Generative AI
  • Careers
  • Cloud Computing
  • Data Management
  • Databases
  • Emerging Technology
  • Technology Industry
  • Security
  • Software Development
  • Microsoft .NET
  • Development Tools
  • Devops
  • Open Source
  • Programming Languages
  • Java
  • JavaScript
  • Python
  • Enterprise Buyer’s Guides
Popular Topics
  • Artificial Intelligence
  • Cloud Computing
  • Data Management
  • Software Development
  • Spotlight: AI in Enterprise
  • Videos
  • Newsletters
  • Resources

Topics

  • Analytics
  • Artificial Intelligence
  • Generative AI
  • Careers
  • Cloud Computing
  • Data Management
  • Databases
  • Emerging Technology
  • Technology Industry
  • Security
  • Software Development
  • Microsoft .NET
  • Development Tools
  • Devops
  • Open Source
  • Programming Languages
  • Java
  • JavaScript
  • Python
  • Enterprise Buyer’s Guides

About

  • About us
  • Advertise
  • Contact Us
  • Foundry Careers
  • Newsletters
  • Reprints

Policies

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Copyright Notice
  • Member Preferences
  • About AdChoices
  • E-commerce Affiliate Relationships
  • Your California Privacy Rights

Our Network

  • CIO
  • Computerworld
  • CSO
  • Network World

More

  • Blogs
  • BrandPosts
  • Events
  • Videos
  • Enterprise Buyer’s Guides
HomeBlogs.NET ProgrammingHow-To

.NET Programming

Filter by
Analysis
BrandPost
Feature
How-To
Interview
News
News Analysis
Opinion
Reviews
Tip
how-to

How to use DispatchProxy for AOP in .NET Core

Take advantage of the DispatchProxy class in C# to implement aspect-oriented programming by creating proxies that dynamically intercept method calls.

By Joydip Kanjilal
Nov 14, 2024 7 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

Why use aspect-oriented programming

Aspect-oriented programming allows you to isolate the cross-cutting concerns of your application, reduce code duplication, and improve the readability and maintainability of your code.

By Joydip Kanjilal
Oct 31, 2024 5 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use Task.WhenEach in .NET 9

Take advantage of the new Task.WhenEach method to process asynchronous tasks as they complete, enhancing the efficiency of your .NET applications.

By Joydip Kanjilal
Oct 17, 2024 6 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to avoid exceptions in C#

Take advantage of the Result pattern, the Try-Parse pattern, and other techniques to make error handling more explicit and to avoid writing exception handling code in your .NET applications.

By Joydip Kanjilal
Aug 22, 2024 7 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use FluentValidation in ASP.NET Core

Take advantage of the FluentValidation open-source library to validate data in your ASP.NET Core application and keep your code clean, organized, and maintainable.

By Joydip Kanjilal
Aug 08, 2024 7 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

The best new features in C# 13

C# 13 introduces several new features that make it easier to build modern applications including enhanced params collections and a new Lock API that improves thread synchronization.

By Joydip Kanjilal
Aug 01, 2024 10 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use HybridCache in ASP.NET Core

HybridCache is a new API in .NET 9 that brings additional features, benefits, and ease to caching in ASP.NET Core. Here’s how to take advantage of it.

By Joydip Kanjilal
Jul 18, 2024 7 mins
C# Microsoft .NET Software Deployment
how-to

How to use FastEndpoints in ASP.NET Core

By Joydip Kanjilal
Jul 11, 2024 7 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use Refit to consume APIs in ASP.NET Core

By Joydip Kanjilal
Jul 04, 2024 10 mins
C# Microsoft .NET Software Deployment
how-to

When to use an abstract class vs. interface in C#

Understanding the differences between an abstract class and interface is key to designing loosely coupled and extensible applications.

By Joydip Kanjilal
Jun 20, 2024 10 mins
Small and Medium Business Microsoft .NET C#
how-to

6 security best practices for ASP.NET Core

Learn the best practices and built-in safeguards for preventing attacks and protecting sensitive data in your ASP.NET Core web applications.

By Joydip Kanjilal
Jun 07, 2024 6 mins
C# Microsoft .NET Web Development
how-to

How to implement identity authentication in minimal APIs in ASP.NET Core

Take advantage of improved identity management in ASP.NET Core to implement identity-based authentication for minimal APIs quickly, easily, and with less code.

By Joydip Kanjilal
May 23, 2024 6 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to work with Dapper and SQLite in ASP.NET Core

Lightweight and fast SQLite shines as a development companion. Learn how to take advantage of it in ASP.NET Core.

By Joydip Kanjilal
May 10, 2024 8 mins
C# Microsoft .NET Web Development
how-to

Build an authentication handler for a minimal API in ASP.NET Core

How to implement basic password authentication for a minimal API in ASP.NET Core using a custom authentication handler that validates the user’s credentials against a database.

By Joydip Kanjilal
May 03, 2024 10 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use the new minimal API features in ASP.NET Core 8

Parameter binding from forms, antiforgery tokens, and Native AOT are now supported in ASP.NET Core. Here’s how to take advantage of them.

By Joydip Kanjilal
Apr 19, 2024 6 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to implement database connection resiliency in ASP.NET Core

Take advantage of connection resiliency in EF Core to detect errors and retry commands and enable your ASP.NET Core application to overcome transient faults.

By Joydip Kanjilal
Apr 12, 2024 6 mins
C# Microsoft .NET Web Development
how-to

Speed up searches using SearchValues in .NET

The new SearchValues class takes advantage of vectorization and hardware acceleration to speed up repeated searches in .NET 8.

By Joydip Kanjilal
Apr 05, 2024 5 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

Avoid using enums in the domain layer in C#

Understand the pitfalls of using enumeration types in the domain layer of your .NET applications and the advantages of using record types instead.

By Joydip Kanjilal
Mar 21, 2024 5 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use the REPR design pattern in ASP.NET Core

Embrace the request-endpoint-response design pattern to simplify API development and make your code cleaner, more efficient, and easier to maintain.

By Joydip Kanjilal
Mar 14, 2024 6 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

Digging deeper into DbContext in Entity Framework Core

EF Core allows you to instantiate a DbContext in several ways. Learn when and how to use these different approaches in your ASP.NET Core applications.

By Joydip Kanjilal
Mar 08, 2024 7 mins
Microsoft .NET C# Databases
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Show me more

opinion

The dirty little secret of open source contributions

By Matt Asay
Nov 18, 20244 mins
Technology IndustryOpen Source
Image
feature

14 great preprocessors for developers who love to code

By Peter Wayner
Nov 18, 202410 mins
Development ToolsSoftware Development
Image
feature

Designing the APIs that accidentally power businesses

By Jean Yang
Nov 18, 20246 mins
APIsSoftware Development
Image
video

Building Python wheels to distribute your programs

Nov 15, 20246 mins
PythonSoftware Development
Image
video

Creating a pip install-able Python package

Nov 14, 20243 mins
PythonSoftware Development
Image
video

How to get better web requests in Python with httpx

Oct 07, 20244 mins
Python
Image
About
  • About us
  • Advertise
  • Contact Us
  • Foundry Careers
  • Reprints
  • Newsletters
  • BrandPosts
Policies
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Copyright Notice
  • Member Preferences
  • About AdChoices
  • E-commerce Affiliate Relationships
  • Your California Privacy Rights
  • Privacy Settings
Our Network
  • CIO
  • Computerworld
  • CSO
  • Network World
  • LinkedIn
  • X
  • Facebook
Copyright © 2024 IDG Communications, Inc.