How to use the iterator design pattern in C#

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

02/19/18

How to work with LiteDB in C#

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

02/12/18

How to consume a Web API using RestSharp

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

02/05/18

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

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

01/29/18

When to use WebClient vs. HttpClient vs. HttpWebRequest

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

01/22/18

How to build custom middleware in ASP.Net Core

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

01/15/18

How to work with the Interpreter design pattern

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#.

01/08/18

When to use an abstract class vs. interface in C#

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

01/01/18

How to create asynchronous web pages in ASP.Net

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

12/18/17

How to implement a feature toggle in C#

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

12/11/17

How to avoid temporal coupling in C#

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

12/04/17

How to use the Memento design pattern in C#

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

11/27/17

How to implement a custom exception class in C#

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

11/20/17

How to avoid memory leaks in .Net applications

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

11/13/17

How to secure ASP.Net Web APIs using authorization filters

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

11/10/17

How to implement a simple logger in C#

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

11/06/17

How to work with logging in ASP.Net Core

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

10/30/17

Testing with the InMemory provider in Entity Framework

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

10/23/17

How to use dependency injection in ASP.Net Core

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

10/16/17

How to use the Dapper ORM in C#

How to use the Dapper ORM in C#

Take advantage of the open source, lightweight Dapper micro ORM to simplify data access while ensuring high performance

10/12/17

Load More