Tuesday, July 22, 2014

What is ASP.NET MVC

Hi Tracy,

Today we'll learn the basics of ASP.NET MVC. So let's get started.

ASP.NET MVC is a framework for building web applications using a MVC (Model View Controller). Let me put each of these in a nutshell.


  1. Model -> Responsible for Handling/using the data required for the application.
  2. View -> Responsible for presenting the data in the visual format by using the data provided by the model
  3. Controller -> controls the data retrieval from view to model and provides data from model back to view.
Tracy: Now I understand, but where do I put my business logic in M or V or C?

Good Question! The Business logic are mostly written in the Model layer but there are two types of Buisness Logic.

  1. Domain Logic
  2. Application Logic.
Domain logic goes into Model layer. Tracy: That's a no brainer

Where as Application logic is for example rule for logging or tracing or reading only a csv file are not dependent on Domain. We call them as cross cutting concerns. Which can reside in Model or controller or even better a separate layer. (Example like Microsoft Enterprise Libraries).

Tracy: Mr. MVC, Excuse me do I know you?

MVC doesn't want to say Hello World! since, Its been around with us for decades. ASP.NET MVC is a framework built using the MVC architectural pattern.

in the next post let's see what is ASP.NET MVC life Cycle. Where does it starts and what happens after the request hits the IIS.

Monday, July 14, 2014

Free Microsoft E-Books available for Download


Microsoft has released a bunch of free e-books for Free. Why would someone interested in the topic not tempted to download the e-books when its exclusively free.

Download faster. Microsoft will close the free download as it reaches 2 Million downloads. So Hurry up.

http://blogs.msdn.com/b/mssmallbiz/archive/2014/07/07/largest-collection-of-free-microsoft-ebooks-ever-including-windows-8-1-windows-8-windows-7-office-2013-office-365-office-2010-sharepoint-2013-dynamics-crm-powershell-exchange-server-lync-2013-system-center-azure-cloud-sql.aspx