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

.NET Programming

Filter by
Analysis
BrandPost
Feature
How-To
Interview
News
News Analysis
Opinion
Reviews
Tip
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
opinion

How to work with the Visitor design pattern

The Visitor design pattern provides flexibility in your designs by enabling you to define a new operation without needing to change the types of the elements on which it would operate

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

Compressing Web API responses to reduce payload

The abundance and easy availability of CPU at the expense of network bandwidth can be a good reason to use content compression in Web API for faster responses and improved performance

By Joydip Kanjilal
Feb 27, 2017 5 mins
Software Development
how-to

How to enable CORS on your Web API

Cross-Origin Resource Sharing in ASP.NET Web API allows cross-domain access to your Web API methods.

By Joydip Kanjilal
Feb 24, 2017 4 mins
C# Microsoft .NET Web Development
opinion

Implementing the Composite design pattern in C#

This pattern represents part-whole hierarchies of objects such that the consumers or the clients can treat the objects and also the compositions of objects in a uniform manner

By Joydip Kanjilal
Feb 22, 2017 4 mins
C# Software Development
opinion

My two cents on task continuation in .Net

Create continuations using the Task Parallel Library that can run immediately after the execution of the antecedent is complete or to chain tasks as continuations

By Joydip Kanjilal
Feb 17, 2017 4 mins
Software Development
opinion

How to work with xUnit.Net framework

xUnit.Net is an open source unit testing tool for the .Net Framework that provides an easy way to work with data driven unit tests

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

How to work with ConcurrentBag and ConcurrentDictionary in .Net

The ConcurrentDictionary and ConcurrentBag classes provide lock-free, thread-safe implementations to work with collections in .Net

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

Implementing the Observer design pattern in C#

The observer design pattern defines one-to-many relationship between objects so that changes to one object can be notified to the other dependent objects

By Joydip Kanjilal
Jan 30, 2017 4 mins
Software Development
  • 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.