Tagged: C# .NET


Content Negotiation in WebAPI

Content negotiation is one of the great feature available in Web API. Client and Server do the content negotiation based on the type of the content. ASP.NET WebAPI is built on top of REST....


Difference between readonly and const

readonly and const keyword In C#, readonly and const keywords are quite similar, both of them once declared, cannot be changed through out the entire application. However couple of differences are there for both...


Dependency Injection in C#

Dependency Injection Simply, Dependency Injection means injecting any dependency to a module. Before discussing about Dependency Injection, let us start our discussion with Inversion of Control (IOC). IOC principle says that “Don’t instantiate any...