• 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
  • 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 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
how-to

How to use value objects in C#

Learn how you can use value objects in C# to improve the clarity, structure, and maintainability of your code.

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

When to use classes, structs, or records in C#

Learn how to choose between classes, structs, and record types in C# for power, flexibility, efficiency, and performance.

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

Create an exception handler in ASP.NET Core 8

Take advantage of the new IExceptionHandler interface to handle exceptions gracefully in your ASP.NET Core applications.

By Joydip Kanjilal
Feb 01, 2024 7 mins
C# Microsoft .NET Web Development
how-to

Demystifying the Code First approach in EF Core

Take advantage of the Code First approach in Entity Framework Core to create the data model for your application based on its domain entities in ASP.NET Core.

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

How to implement a custom object mapper in C#

AutoMapper makes life easy, but has its limits. Learn how to implement a custom mapper to handle complex data structures or incompatible types.

By Joydip Kanjilal
Jan 18, 2024 8 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to use IEnumerable, ICollection, IList, and IQueryable in C#

Understand the differences between the most commonly used interfaces for accessing and manipulating collections of data in C#.

By Joydip Kanjilal
Dec 21, 2023 7 mins
C# Microsoft .NET Web Development
how-to

The best new features in C# 12

From primary constructors and collection expressions to default lambda parameters, C# 12 has many new features that simplify building modern, flexible applications.

By Joydip Kanjilal
Dec 14, 2023 7 mins
Microsoft .NET C# Development Libraries and Frameworks
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Show me more

analysis

Beyond the usual suspects: 5 fresh data science tools to try today

By Serdar Yegulalp
Jul 12, 20242 mins
PythonProgramming LanguagesSoftware Development
Image
analysis

Generative AI won’t fix cloud migration

By David Linthicum
Jul 12, 20245 mins
Generative AIArtificial IntelligenceCloud Computing
Image
news

HR professionals trust AI recommendations

By Paul Krill
Jul 11, 20243 mins
Technology IndustryCareers
Image
video

How to use dbm to stash data quickly in Python

Jul 04, 20244 mins
Python
Image
video

How to auto-generate Python type hints with Monkeytype

Jun 11, 20245 mins
Python
Image
video

How to make HTML GUIs in Python with NiceGUI

Jun 04, 20245 mins
Python
Image

Sponsored Links

  • Get Cisco UCS X-Series Chassis and Fabric Interconnects offer.
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.