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

.NET Programming

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

How to do integration testing in ASP.Net Core

Take advantage of xUnit and ASP.Net Core’s test host package to run integration tests on your ASP.Net Core web applications

By Joydip Kanjilal
Mar 05, 2018 4 mins
Small and Medium Business Web Development Software Development
how-to

How to use the iterator design pattern in C#

Take advantage of the iterator pattern to traverse aggregate objects without having to expose their underlying data structures

By Joydip Kanjilal
Feb 19, 2018 4 mins
Small and Medium Business C# Development Tools
how-to

How to work with LiteDB in C#

Take advantage of the fast, lightweight, and easy-to-use LiteDB for your desktop, mobile, and simple web applications

By Joydip Kanjilal
Feb 12, 2018 5 mins
Small and Medium Business NoSQL Databases C#
how-to

How to consume a Web API using RestSharp

Take advantage of the flexible and easy-to-use RestSharp HTTP API client to consume your REST APIs

By Joydip Kanjilal
Feb 05, 2018 4 mins
Small and Medium Business Web Development Software Development
how-to

How to implement a DelegatingHandler for X-HTTP-Method-Override in Web API

Take advantage of a DelegatingHandler and the X-HTTP-Method-Override in Web API to overcome browser and firewall constraints

By Joydip Kanjilal
Jan 29, 2018 4 mins
Small and Medium Business Web Development Software Development
how-to

When to use WebClient vs. HttpClient vs. HttpWebRequest

Understand the pros and cons of the .Net Framework's various native classes for working with HTTP requests and responses

By Joydip Kanjilal
Jan 22, 2018 4 mins
Small and Medium Business Web Development Software Development
how-to

How to build custom middleware in ASP.NET Core

Take advantage of ASP.NET Core middleware to customize your application’s handling of HTTP requests and responses.

By Joydip Kanjilal
Jan 15, 2018 5 mins
Small and Medium Business Web Development Open Source
how-to

How to work with the Interpreter design pattern

This article provides a know how on the Interpreter pattern and how it can be implemented. The code examples are provided in C#.

By Joydip Kanjilal
Jan 08, 2018 4 mins
Microsoft .NET Software Development
how-to

How to create asynchronous web pages in ASP.Net

Take advantage of asynchronous web pages in ASP.Net to improve the responsiveness and scalability of your applications

By Joydip Kanjilal
Dec 18, 2017 4 mins
Small and Medium Business Software Development
how-to

How to implement a feature toggle in C#

Take advantage of feature toggles to manage application features without having to maintain multiple source code branches

By Joydip Kanjilal
Dec 11, 2017 4 mins
Small and Medium Business C# Software Development
how-to

How to avoid temporal coupling in C#

Two approaches to solving temporal coupling, a 'design smell' that results when members of a class must be invoked in a specific sequence

By Joydip Kanjilal
Dec 04, 2017 5 mins
Small and Medium Business C# Software Development
how-to

How to use the Memento design pattern in C#

Take advantage of the Memento design pattern to store and restore an object's state to support undo or rollbacks in your application.

By Joydip Kanjilal
Nov 27, 2017 4 mins
Small and Medium Business C# Software Development
how-to

How to implement a custom exception class in C#

Take advantage of custom exception classes to extend error handling or add meaningful information to the errors thrown by your .Net applications

By Joydip Kanjilal
Nov 20, 2017 4 mins
Small and Medium Business C# Software Development
how-to

How to avoid memory leaks in .Net applications

Learn the causes of memory leaks in .Net, how to detect them, and how avoid them in your applications

By Joydip Kanjilal
Nov 13, 2017 5 mins
Small and Medium Business Software Development
how-to

How to secure ASP.Net Web APIs using authorization filters

Take advantage of ASP.Net Web API authorization filters to authorize incoming requests to your web API

By Joydip Kanjilal
Nov 10, 2017 4 mins
APIs Software Development
how-to

How to implement a simple logger in C#

It's easy to create a custom logging framework to log your .Net application's errors and events to a flat file, a database, or the event log

By Joydip Kanjilal
Nov 06, 2017 4 mins
C# Software Development
how-to

How to work with logging in ASP.Net Core

Take advantage of ASP.Net Core's flexible, customizable and extendable Logging API to plug in a custom logger with ease

By Joydip Kanjilal
Oct 30, 2017 4 mins
Software Development
how-to

Testing with the InMemory provider in Entity Framework

How to use the InMemory provider in Entity Framework Core to test your methods without hitting the database or using fakes and mocks

By Joydip Kanjilal
Oct 23, 2017 5 mins
Small and Medium Business Web Development App Testing
how-to

How to use dependency injection in ASP.NET Core

Take advantage of dependency injection in ASP.NET Core to plug in components and improve code maintenance and testability

By Joydip Kanjilal
Oct 16, 2017 5 mins
Small and Medium Business Software Development
how-to

How to use in-memory caching in ASP.NET Core

Take advantage of in-memory caching in ASP.NET Core to improve the performance and scalability of your application

By Joydip Kanjilal
Oct 09, 2017 7 mins
Software Development
how-to

When to use the volatile keyword in C#

How to take advantage of the volatile keyword in C# to ensure that concurrent threads get the latest value of an object

By Joydip Kanjilal
Oct 02, 2017 5 mins
Small and Medium Business C# Software Development
how-to

How to perform lazy initialization in C#

Use lazy initialization to save resources and improve performance by deferring the initialization of expensive objects until they're requested

By Joydip Kanjilal
Sep 25, 2017 5 mins
Small and Medium Business C# Software Development
how-to

How to work with MongoDB in .NET

Get started with documents and collections in the popular, open source, NoSQL database using C#

By Joydip Kanjilal
Sep 18, 2017 5 mins
Small and Medium Business NoSQL Databases Microsoft .NET
how-to

How to work with Elasticsearch in .Net

Take advantage of the open source search engine using C# to search and analyze your application’s data in real time

By Joydip Kanjilal
Sep 11, 2017 5 mins
Small and Medium Business Microsoft .NET Open Source
how-to

How to use the object pool design pattern in C#

Boost application performance by using the object pool design pattern to recycle objects that are expensive to create

By Joydip Kanjilal
Sep 04, 2017 4 mins
Small and Medium Business C# Development Tools
how-to

How to get started with Akka.Net

Take advantage of Akka.Net to build concurrent, fault tolerant, event-driven applications using the high-level abstractions of the actor model

By Joydip Kanjilal
Aug 28, 2017 5 mins
Small and Medium Business Software Development
how-to

How to speed your code using CPU caches

Techniques include using cache-friendly structs provides a huge performance gain

By Joydip Kanjilal
Aug 21, 2017 4 mins
Software Development
how-to

How to use Apache Kafka messaging in .Net

Take advantage of the fast and scalable open source message broker to meet high-volume data processing challenges on Windows

By Joydip Kanjilal
Aug 14, 2017 5 mins
Small and Medium Business Data Management Software Development
how-to

How to (not) use the large object heap in .Net

Understand why the large object heap in .Net is prone to fragmentation and how to use memory more efficiently

By Joydip Kanjilal
Aug 07, 2017 5 mins
Small and Medium Business Software Development
how-to

How to log request and response metadata in ASP.NET Web API

Take advantage of a custom message handler to log request and response metadata in Web API for debugging, tracing, and inspection of the incoming and outgoing calls

By Joydip Kanjilal
Jul 31, 2017 7 mins
Software Development
how-to

How to write performance tests using NBench

Take advantage of NBench to analyze code throughput, memory allocations, and GC overhead in your .NET application

By Joydip Kanjilal
Jul 24, 2017 4 mins
Small and Medium Business Web Development App Testing
how-to

How to make your Web API responses consistent and useful

A custom wrapper for your Web API responses can provide meaningful information and ensure consistency regardless of success or failure.

By Joydip Kanjilal
Jul 17, 2017 6 mins
C# Microsoft .NET Web Development
how-to

How to do partial updates to REST API resources

Take advantage of HTTP PATCH to partially update resources and transfer less data over the wire

By Joydip Kanjilal
Jul 10, 2017 4 mins
Small and Medium Business Web Development Software Development
how-to

How to use the mediator design pattern in C#

Take advantage of the mediator design pattern to promote loose coupling and simplify the coding of object interactions

By Joydip Kanjilal
Jul 03, 2017 4 mins
Small and Medium Business C# Software Development
how-to

How to use correlation IDs in ASP.Net Web API

Take advantage of the built-in correlation IDs in Web API to track HTTP requests that flow through multiple back-end services

By Joydip Kanjilal
Jun 26, 2017 4 mins
Small and Medium Business Web Development Software Development
how-to

Understand the .Net CLR thread pool

Knowing how thread injection works in .Net is key to allowing your ASP.Net application to make the best use of system resources

By Joydip Kanjilal
Jun 19, 2017 5 mins
Small and Medium Business Software Development
how-to

How to work with RabbitMQ in C#

Take advantage of RabbitMQ, an open source, fast message broker to store and retrieve messages in your applications

By Joydip Kanjilal
Jun 12, 2017 4 mins
C# Open Source Software Development
how-to

How to implement the template method design pattern in C#

The template method design pattern allows you to define the skeleton of an algorithm in a base class and defer the details to subclasses

By Joydip Kanjilal
Jun 05, 2017 3 mins
Small and Medium Business C# Software Development
opinion

Introducing the ASP.Net Core MVC framework

The ASP.Net Core MVC framework enables you to build applications that are loosely-coupled, responsive, fast and easier to test and maintain

By Joydip Kanjilal
May 31, 2017 4 mins
Software Development
opinion

How to work with HTTP Range Headers in WebAPI

Range requests enable you to retrieve partial content in lieu of the entire content for improved performance when working with WebAPI over HTTP.

By Joydip Kanjilal
May 26, 2017 4 mins
Software Development
opinion

How to implement a type-safe enum pattern in C#

This article presents a discussion on enums, what they are and why they are useful and the design constraints when using enums in applications and how to implement a type-safe enum pattern with code examples wherever appropriate.

By Joydip Kanjilal
May 25, 2017 4 mins
C# Software Development
opinion

How to implement DI in WebAPI using StructureMap

StructureMap can inject the necessary dependencies seamlessly in your WebAPI controllers

By Joydip Kanjilal
May 10, 2017 4 mins
Software Development
opinion

My two cents on using the IHttpActionResult interface in WebAPI

This article provides a discussion on how we can send back responses in WebAPI using the IHttpActionResult interface and how things have changed from the way we used the HttpResponseMessage class in the earlier versions of WebAPI.

By Joydip Kanjilal
Apr 25, 2017 3 mins
Software Development
opinion

How to implement DI in WebAPI using NInject

NInject is a popular IOC container that can be used to inject dependencies in your WebAPI controllers easily

By Joydip Kanjilal
Apr 21, 2017 4 mins
Software Development
opinion

How to cache Task objects for improving performance

Cache your Task objects to improve performance by preventing the unnecessary expensive operations from being executed

By Joydip Kanjilal
Apr 20, 2017 3 mins
Software Development
how-to

How to work with Redis Cache in .NET

Redis is an open source, fast, feature rich, in-memory caching engine that can be used to store and retrieve data in your applications

By Joydip Kanjilal
Apr 05, 2017 4 mins
Microsoft .NET Software Development
opinion

How to work with FileSystemWatcher in C#

The FileSystemWatcher class can be used to monitor changes to file system and trigger events when such changes occur

By Joydip Kanjilal
Mar 28, 2017 4 mins
C# Software Development
opinion

Working with the DotMemory Unit framework

The DotMemory Unit framework from JetBrains can be used to analyze memory usage, write unit tests, and detect memory issues in .Net apps

By Joydip Kanjilal
Mar 27, 2017 3 mins
Software Development
opinion

How to measure the execution time using PostSharp

PostSharp's AOP capabilities help you profile methods and identify the slow running methods in your application

By Joydip Kanjilal
Mar 24, 2017 4 mins
Software Development
opinion

C# 7 in depth : Exploring local functions

Local functions enable you to define a function within the scope of another method to help in promoting encapsulation and bring local variables into scope

By Joydip Kanjilal
Mar 20, 2017 3 mins
C# Software Development
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

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.