News for hackers. Stuff that matters.

peaceison

MVC Vs MVP

http://jinaldesai.net/mvc-vs-mvp/

While surfing for the differences between MVC (Model View Controller) and MVP (Model View Presenter) I found lots of confusion over the net. Also I found some differences between the two on some sites, but none of them have complete list of differences. Following is one attempt for compiling almost all the differences between the two patterns.

( Read More... | no comments | on HN )

MVC Interview Questions – Deep Dive

http://jinaldesai.net/mvc-interview-questions-deep-dive/

Can you describe ASP.NET MVC Request Life Cycle? 1. Receive request, look up Route object in RouteTable collection and create RouteData object. 2. Create RequestContext instance. 3. Create MvcHandler and pass RequestContext to handler. 4. Identify IControllerFactory from RequestContext. 5. Create instance of class that implements ControllerBase. 6. Call MyController.Execute method. 7. The...

( Read More... | no comments | on HN )

LINQ To SQL Vs Entity Framework

http://jinaldesai.net/linq-to-sql-vs-entity-framework/

Entity Framework is ORM(Object Relational Mapping) introduced by Microsoft. It proves very useful for new developers for it’s simplicity to query against conceptual schema and also has rich feature set. Many time the question has been asked in the interview to explain differences between Entity Framework and LINQ To SQL to the developers who has work experience in Entity Framework. I have made...

( Read More... | 2 comments | 6 points | on HN )

IQueryable Vs IEnumerable

http://jinaldesai.net/iqueryable-vs-ienumerable/

IQueryable inherited IEnumerable, so it obviously get all the functionality IEnumerable has. The working style of both is still different. There are still lot many differences exists between the two which impact the decision we took in usage of either one. Both of these suits for particular scenarios. Following are some differences using which we can took decision to use anyone of these optimally.

( Read More... | no comments | 2 points | on HN )

ASP.NET MVC 3 Interview Questions

http://jinaldesai.net/asp-net-mvc-3-interview-questions/

What is MVC? MVC is a framework methodology that divides an application’s implementation into three component roles: models, views, and controllers. “Models” in a MVC based application are the components of the application that are responsible for maintaining state. Often this state is persisted inside a database (for example

( Read More... | no comments | on HN )

Entity Framework Interview Questions

http://jinaldesai.net/entity-framework-interview-questions/

What is Entity Framework? Entity Framework is an additional layer between application and database that enables the developers to program against the conceptual application model instead of programming directly against the relational storage schema. Will there be any issues adding a table without primary keys to a data model?

( Read More... | no comments | on HN )

.NET Framework Version Comparision

http://jinaldesai.net/net-framework-version-comparision-table/

It is frequent usage to see all the .NET Version with it’s features on one page. While surfing on net it is difficult to find or even not a single site provides all version on one plate with features. Following is a try to put all the .NET Framework versions together with other release and features details.

( Read More... | 49 comments | 56 points | on HN )