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

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

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

10/09/17

When to use the volatile keyword in C#

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

10/02/17

How to perform lazy initialization in C#

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

09/25/17

How to work with MongoDB in .Net

How to work with MongoDB in .Net

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

09/18/17

How to work with Elasticsearch in .Net

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

09/11/17

How to use the object pool design pattern in C#

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

09/04/17

How to get started with Akka.Net

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

08/28/17

Load More