24.5.14

MVC- Difference between View and View Model?


MVC- Difference between View and View Model?
http://www.itorian.com/2013/06/what-is-model-and-viewmodel-in-mvc.html
http://www.dotnet-tricks.com/Tutorial/mvc/QHQT270712-Understanding-ViewModel-in-ASP.NET-MVC.html
http://stackoverflow.com/questions/11212484/difference-between-models-and-view-models
MVC- Difference between DTO and View Model?
http://stackoverflow.com/questions/1431445/what-is-the-difference-between-a-view-model-and-a-data-transfer-object

What is the Difference Between a DTO and a POCO?
http://rlacovara.blogspot.in/2009/03/what-is-difference-between-dto-and-poco.html
Datacontract in MVC
http://philmunro.wordpress.com/2012/01/03/keeping-domain-models-and-view-models-separate-with-asp-net-mvc-and-wcf/
http://www.c-sharpcorner.com/UploadFile/dacca2/understand-wcf-part-10-attributes-of-datacontract-and-data/
1.)Repository pattern
2.)Unit of work
3.)Dependency Injection
4.)AutoMapper
5.)DTO

18.5.14


Balance puzzle

We have 3 coins and one coin is light, How to find which coin is light with one attempt on Balance Machine.
The maximum number possible is three. To find the lighter one we can compare any two coins, leaving the third out. If the two coins tested weigh the same, then the lighter coin must be one of those not on the balance - otherwise it is the one indicated as lighter by the balance.

6.5.14

5.5.14

why use dependency Injection


\ why use dependency Injection
https://www.youtube.com/watch?v=i4q_zHothhw