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

.NET Programming

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

Best practices for handling exceptions in C#

A good knowledge of exception handling is needed to build applications that are capable of handling runtime errors efficiently. Start with these simple guidelines.

By Joydip Kanjilal
Aug 29, 2024 6 mins
Microsoft .NET C# Development Libraries and Frameworks
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
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
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
opinion

My two cents on unit testing asynchronous code

Understand how asynchrony works in .Net and adhere to the recommended practices when writing unit tests to test asynchronous code

By Joydip Kanjilal
Jan 26, 2017 4 mins
Software Development
  • 1
  • 2
  • 3
  • 4

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.