8 ways to improve ASP.NET Web API performance


ASP.NET Web API is a great piece of technology. Writing Web API is so easy that many developers don’t take the time to structure their applications for great performance. In this article, I am going to cover 8 techniques for improving ASP.NET Web API performance. 1) Use fastest JSON serializer JSON serialization  can affect overall […]

What is svchost.exe and why is at 100% CPU


svchost.exe is a process that hosts, or contains other individual services that Windows uses internally. Sometimes there are large number of processes running with the same name svchost.exe. In Windows 8.1 this service is called Service Host as you can see from the picture. A few years ago Microsoft decided to move all functionalities from […]

Simple way to share Dependency Resolvers between MVC and Web API


I had several projects in past using ASP.NET MVC 4 and 5 and ASP.NET Web API that reside in same project. When you want to share DI container between MVC and Web API things can become complicated. Reason for this is because ASP.NET MVC 5 uses interface System.Web.Mvc.IDependencyResolver for implementing dependency resolver and  ASP.NET Web […]

Simple way to implement caching in ASP.NET Web API

This article is not about caching the output of APIControllers. Often in ASP.NET Web API you will have a need to cache something temporarily in memory probably to improve performance. There are several nice libraries that allow you to do just that. One very popular is CacheCow and here you will find a very nice […]

1 2 3 5