Category
C#
C# is a versatile, object-oriented language from Microsoft used for enterprise applications, game development with Unity, and cloud services. Dive into .NET ecosystem tips and patterns.
36 articlesSet MongoDB GMT Time in C#
2014/06/07·1 min readHow to save DateTime as GMT/UTC time in MongoDB using C#.
How to Log All WebAPI Request Response at ASP.NET MVC
2014/05/31·1 min readExample code of logging every request, response, and exception when accessing an ASP.NET MVC 3 controller.
Simple Code to Setup WebApi with OData
2014/05/31·1 min readThis section show how to setup OData Web api
Code Snippet - How to Use Extension with Enum
2014/05/03·1 min readIn C# you sometimes need to convert an enum to an int value. This snippet shows how to create an extension method for enums.
How to Use Ninject as Dependency Injection with ASP.NET MVC
2014/04/05·2 min readHow to use Dependency Injection with Ninject in an ASP.NET MVC application.
Code Snippet - How to Add Index to Document at MongoDB C#
2014/03/01·1 min readA quick code snippet showing how to set up an index on a MongoDB document or subdocument field using C#.