In this blog post I will try to cover how to use a custom ASP.NET identity provider for MySQL I have created. Default ASP.NET Identity provider uses Entity Framework and SQL Server to store information’s [Read More…]
When you parse a large number of sites / RSS feeds using Microsoft HTTPClient or WebClient you can get an exception : ”ProtocolViolationException: “The value of the date string in the header is invalid” This [Read More…]
In one of my previous blog posts 8 ways to improve ASP.NET Web API performance I talked how we’ve used manual JSON serialization from DataReader to gain some performance benefits. I haven’t provided any code [Read More…]
Sometimes when we write integration tests we need to fake HttpContext to test some functionality proper way. In one of my projects I needed a possibility to fake some session variables such as userState and [Read More…]
I have recently come across a comparison of fast JSON serializers in .NET, which shows that Jil JSON serializer is one of the fastest. Jil is created by Kevin Montrose developer at StackOverlow and it [Read More…]
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 [Read More…]
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 [Read More…]
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 [Read More…]
If you are building high performance applications that consumes WebAPI, you often need to enable GZip / Deflate compression on Web API. Compression is an easy way to reduce the size of packages and in [Read More…]