Using MongoDb _Id field with C# POCOs
When using official C# mongo driver any field with name ‘Id’ and type “ObjectId” is mapped to _Id field in mongo db.What that means is that If you don’t supply…
Read moreWhen using official C# mongo driver any field with name ‘Id’ and type “ObjectId” is mapped to _Id field in mongo db.What that means is that If you don’t supply…
Read moreASP.NET request validation is ASP.NET’s built in way of saving our applications from dangerous script injection attacks or XSS attacks.The default validation provided by asp.net is quite restrictive i.e. it…
Read moreIn this post I am going to discuss various options available for loading nested objects or entities when using entity framework.Below is the class structure I’ll be working with.This post…
Read moreIf you are using Code first approach for developing a production scale application you would have to use migrations concept of entity framework to keep your database up to date…
Read moreWhat is this new API? .NET Framework 4.5.2 has released few new APIs for ASP.NET one of them is HostingEnvironment.QueueBackgroundWorkItem .Any one who has tried to run background tasks “reliably”…
Read more.NET Framework has a rich history of asynchronous programming models starting from .NET framework 1.1 to .NET Framework 4.5. In this post i’ll be discussing briefly on these programming models…
Read moreLot has been said on this topic and today I am going to put my two cents on this one. .NET Framework is full of such interfaces and often I…
Read moreQuite often it happens that we have logic of sending mails through .Net applications which we are unable to test correctly during development due to following reasons. We don’t want…
Read more