• 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 ProgrammingPage 5

.NET Programming

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

How to use the flyweight design pattern in C#

Take advantage of the flyweight design pattern to reduce memory consumption when working with many similar objects.

By Joydip Kanjilal
Jan 08, 2020 5 mins
Microsoft .NET C# Software Development
how-to

How to consume an ASP.NET Core Web API using RestSharp

Take advantage of the simple and easy RestSharp library to consume RESTful services in ASP.NET Core

By Joydip Kanjilal
Dec 16, 2019 6 mins
Microsoft .NET Software Development
how-to

How to perform async operations using Dapper

Take advantage of the async methods in Dapper to improve the scalability and performance of your ASP.NET Core applications.

By Joydip Kanjilal
Dec 09, 2019 6 mins
Microsoft .NET C# Software Development
how-to

How to use feature flags in ASP.NET Core

Take advantage of feature flags to easily enable and disable features in your application without changing its codebase.

By Joydip Kanjilal
Dec 02, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to use default interface methods in C# 8.0

Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations.

By Joydip Kanjilal
Nov 25, 2019 6 mins
Microsoft .NET C# Software Development
how-to

How to handle exceptions in asynchronous code in C#

Exception handling is different for asynchronous code. Learn the exception handling semantics for asynchronous methods in C#.

By Joydip Kanjilal
Nov 18, 2019 5 mins
Microsoft .NET C# Software Development
how-to

How to use the FromServices attribute in ASP.NET Core

Take advantage of the FromServices attribute in ASP.NET Core to inject dependencies directly into your action methods.

By Joydip Kanjilal
Nov 11, 2019 5 mins
Microsoft .NET C# Software Development
how-to

How to work with cookies in ASP.NET Core

Take advantage of cookies to store and retrieve user-specific information in your ASP.NET Core web application.

By Joydip Kanjilal
Nov 04, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to work with static files in ASP.NET Core

Take advantage of the static files middleware in ASP.NET Core to serve HTML, CSS, JavaScript, and images to the client.

By Joydip Kanjilal
Oct 28, 2019 6 mins
C# Microsoft .NET Web Development
how-to

How to use URL Rewriting Middleware in ASP.NET Core

Take advantage of URL Rewriting Middleware in ASP.NET Core to implement URL redirection and URL rewriting.

By Joydip Kanjilal
Oct 21, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to use System.Threading.Channels in .NET Core

Take advantage of channels to implement the fast, efficient, asynchronous producer-consumer pattern in .NET Core.

By Joydip Kanjilal
Oct 14, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to implement rate limiting in ASP.NET Core

Take advantage of rate limiting in ASP.NET Core to prevent malicious attacks on your web application.

By Joydip Kanjilal
Oct 07, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to use Azure Application Insights in ASP.NET Core

Take advantage of Application Insights to monitor performance and detect and diagnose performance issues in your web application.

By Joydip Kanjilal
Sep 30, 2019 5 mins
C# Microsoft .NET Microsoft Azure
how-to

Using advanced NLog features in ASP.NET Core

Take advantage of the free and flexible NLog to log your application data with the features and efficiency you need.

By Joydip Kanjilal
Sep 23, 2019 10 mins
Microsoft .NET C# Software Development
how-to

How to handle errors in ASP.NET Web API

Learn to handle runtime errors using exceptions and return appropriate error codes and error messages in ASP.NET Web API.

By Joydip Kanjilal
Sep 16, 2019 5 mins
Microsoft .NET C# Development Libraries and Frameworks
how-to

How to implement global exception handling in ASP.NET Core MVC

Take advantage of global exception handling to avoid writing scads of boilerplate exception handling code in ASP.NET Core MVC.

By Joydip Kanjilal
Sep 09, 2019 6 mins
C# Microsoft .NET Web Development
how-to

How to handle null values in ASP.NET Core MVC

Learn to change the default behavior and return HTTP 404 when action methods in ASP.NET Core return null values.

By Joydip Kanjilal
Sep 02, 2019 5 mins
C# Microsoft .NET Web Development
how-to

Advanced API versioning in ASP.NET Core Web API

Take advantage of API versioning in ASP.NET Core to maintain multiple versions of the same API.

By Joydip Kanjilal
Aug 26, 2019 4 mins
Web Development Microsoft .NET APIs
how-to

How to work with worker services in ASP.NET Core

Learn how to use the new template available in ASP.NET Core 3.0 to build a worker service.

By Joydip Kanjilal
Aug 19, 2019 5 mins
Microsoft .NET Software Development
how-to

How to use the Data Protection API in ASP.NET Core

Take advantage of the easy-to-use cryptographic API in ASP.NET Core to secure sensitive data in your applications.

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

How to use conditional middleware in ASP.NET Core

Take advantage of advanced operations such as conditional branching when working with middleware in ASP.NET Core.

By Joydip Kanjilal
Aug 05, 2019 6 mins
C# Microsoft .NET Web Development
how-to

How to work with session state in ASP.Net Core

Take advantage of the session middleware component in ASP.Net Core to store and retrieve user data

By Joydip Kanjilal
Jul 29, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to use the Dapper ORM in C#

Take advantage of the lightweight, open source Dapper to simplify data access and ensure high performance

By Joydip Kanjilal
Jul 22, 2019 5 mins
Small and Medium Business C# Development Tools
how-to

How to use the command design pattern in C#

Take advantage of the command design pattern to decouple the requester of an action from the object that executes the action

By Joydip Kanjilal
Jul 22, 2019 5 mins
Microsoft .NET C# Programming Languages
how-to

More advanced AutoMapper examples in .Net Core

How to use profiles, reverse mapping, nested mapping, and other advanced operations of the open source object mapper AutoMapper

By Joydip Kanjilal
Jul 15, 2019 7 mins
Microsoft .NET Development Libraries and Frameworks Software Development
how-to

How to write efficient controllers in ASP.Net Core

Take advantage of these best practices to create lean, clean, and flexible controllers in ASP.Net Core

By Joydip Kanjilal
Jul 08, 2019 7 mins
Microsoft .NET C# Software Development
how-to

How to use async and await in .NET Core

Follow these best practices when using asynchronous programming in .NET Core to build more performant and scalable applications.

By Joydip Kanjilal
Jul 01, 2019 6 mins
Microsoft .NET C# Software Development
how-to

How to work with AutoMapper in C#

Use AutoMapper to eliminate the need to write tedious boilerplate code when mapping objects in your application.

By Joydip Kanjilal
Jun 24, 2019 5 mins
Microsoft .NET C# Software Development
how-to

How to make your REST APIs backward-compatible

Take advantage of these best practices to ensure that changes to your API don’t break compatibility with current clients.

By Joydip Kanjilal
Jun 17, 2019 6 mins
APIs Software Development
how-to

How to use Swagger in ASP.NET Core

Take advantage of open source Swashbuckle to generate Swagger documents for your ASP.NET Core Web API.

By Joydip Kanjilal
Jun 10, 2019 7 mins
Web Development Microsoft .NET APIs
how-to

How to use dependency injection in ASP.Net Web Forms

Take advantage of dependency injection to create flexible, loosely coupled ASP.Net Web Forms applications

By Joydip Kanjilal
Jun 03, 2019 5 mins
Microsoft .NET C# Software Development
how-to

How to use Autofac in ASP.Net Core

Take advantage of the Autofac inversion of control container to manage dependencies in your ASP.Net Core applications

By Joydip Kanjilal
May 27, 2019 5 mins
Microsoft .NET Software Development
how-to

How to use MediatR in ASP.Net Core

Take advantage of MediatR and the mediator design pattern to reduce the dependencies between objects in your ASP.Net Core applications

By Joydip Kanjilal
May 20, 2019 4 mins
Microsoft .NET C# Software Development
how-to

How to use Nancy in ASP.Net Core

Take advantage of the lightweight and fast Nancy framework for building HTTP-based services in .Net Core

By Joydip Kanjilal
May 13, 2019 4 mins
Web Development Microsoft .NET Software Development
how-to

How not to use interfaces in C#

Follow these best practices for using interfaces to avoid interface overuse when designing your types

By Joydip Kanjilal
May 06, 2019 5 mins
Microsoft .NET C# Software Development
how-to

How to use IHostedService in ASP.Net Core

Take advantage of the IHostedService interface to execute background tasks in your ASP.Net Core applications

By Joydip Kanjilal
Apr 29, 2019 5 mins
Microsoft .NET C# Software Development
how-to

How to upload files in ASP.Net Core MVC

Take advantage of the IFormFile interface in ASP.Net Core MVC to upload small files, large files, and multiple files

By Joydip Kanjilal
Apr 22, 2019 6 mins
Microsoft .NET C# Software Development
how-to

How to use the strategy design pattern in .Net

Take advantage of the strategy design pattern to encapsulate a set of algorithms inside a class and vary them based on input

By Joydip Kanjilal
Apr 15, 2019 4 mins
Microsoft .NET C# Software Development
how-to

How to improve the performance of ASP.Net Core applications

Take advantage of these best practices to reduce resource consumption and improve the performance of your ASP.Net Core applications

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

How to implement health checks in ASP.Net Core

Take advantage of health check middleware in ASP.Net Core to monitor the health of your application, its database connection, and more

By Joydip Kanjilal
Apr 01, 2019 6 mins
Web Development Microsoft .NET Software Development
how-to

Measure the quality of your .Net code with NDepend

Take advantage of the powerful static code analysis tool to identify and understand issues in your .Net application’s code

By Joydip Kanjilal
Mar 25, 2019 6 mins
App Testing Microsoft .NET Development Tools
how-to

How to use Glimpse in ASP.Net Core

Take advantage of the Glimpse debugging and diagnostics tool to gain insight into the performance of your ASP.Net Core web application

By Joydip Kanjilal
Mar 18, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to use output formatters in ASP.Net Core

Learn how to build a custom output formatter in ASP.Net Core to exchange data in formats other than JSON, XML, and plain text

By Joydip Kanjilal
Mar 11, 2019 5 mins
C# Microsoft .NET Web Development
how-to

How to use the Save-Data request header in ASP.Net Core

Take advantage of the data-saving mode in Chrome and Opera browsers to deliver lighter and faster ASP.Net Core applications

By Joydip Kanjilal
Mar 04, 2019 4 mins
C# Microsoft .NET Web Development
how-to

How to use NCache in ASP.Net Core

Take advantage of Alachisoft’s free, open-source, distributed, in-memory cache to improve the performance and scalability of your ASP.Net Core applications

By Joydip Kanjilal
Feb 25, 2019 4 mins
Small and Medium Business Microsoft .NET C#
how-to

How to use Lamar in ASP.Net Core

Take advantage of Lamar, the speedy successor to StructureMap, to inject dependencies in ASP.Net Core

By Joydip Kanjilal
Feb 18, 2019 6 mins
Small and Medium Business Web Development Microsoft .NET
how-to

How to bypass security in integration tests in ASP.Net Core

Take advantage of fake authentication/authorization checks to simplify integration tests in ASP.Net Core

By Joydip Kanjilal
Feb 11, 2019 7 mins
App Testing C# Microsoft .NET
how-to

How to use managed pointers in C#

Learn how managed pointers differ from object references, why they are useful, and how to work with them in C#

By Joydip Kanjilal
Feb 04, 2019 5 mins
Microsoft .NET C# Software Development
how-to

Static classes and static class members in C# explained

Declare static classes and static members of a class to improve performance of your .NET applications.

By Joydip Kanjilal
Jan 28, 2019 4 mins
Microsoft .NET C# Programming Languages
how-to

How to use MiniProfiler in ASP.Net Core

Take advantage of the simple and powerful MiniProfiler to identify performance bottlenecks in your ASP.Net Core MVC applications

By Joydip Kanjilal
Jan 21, 2019 6 mins
Microsoft .NET C# Development Tools
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

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.