Code Weaving in .NET using Fody
In almost all .NET applications you encounter lot of boilerplate code which although has pretty standard implementation but is quite important from implementation point of view. Some common examples are…
Read moreIn almost all .NET applications you encounter lot of boilerplate code which although has pretty standard implementation but is quite important from implementation point of view. Some common examples are…
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 moreIn this post I am going to talk about anuglarJS routing.We will develop a small sample application so that we can get a good idea of how to implement routing.…
Read moreConcept of services in angular can be confusing initially if you come from background of frameworks / languages which support SOA or various kind of web / window services.I am…
Read more