Mapping JSON to objects using Automapper
In one of my recent project we had a situation where we had a huge JSON array which was supposed to be mapped to different model objects. We did some…
Read moreIn one of my recent project we had a situation where we had a huge JSON array which was supposed to be mapped to different model objects. We did some…
Read moreA while back I was working on a small Proof of concept where I needed to use console based client to connect to a server and use it to send…
Read moreLets consider two situations mentioned below which define the problem.I guess lot of you would be familiar with the first one. Problem Situation 1 : You start with a project…
Read moreNoSql databases like Mongo give us advantage of storing our classes directly in data store without worrying too much about schemas.Thus saving us from object-relational impedance mismatch.Common scenario that arises…
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 more