ASP.NET Core And History Of Microsoft Web Stack.......

Microsoft .NET Core

In this article I will discuss about Microsoft .NET Core. Microsoft .NET Core is a completely new thing in the Microsoft web stack when it was introduced. So before going to .NET Core some introduction of the history of .NET web stack is necessary.

ASP.NET Web forms

ASP.NET Web forms were released with the first version of .NET in 2002. In early web development ,web forms were the heart of ASP.NET. Web forms provide the User Interface UI of the application. In web forms developers have two options to design the UI. The first is to use tool box and design UI by dragging and dropping every control and setting the layout of the web page. The second is to write full HTML scripts in order to add controls like textbox, labels, buttons etc. In design view, web page written in HTML code looks similar to that which is done by drag and drop of controls. The logic of the page is in .cs file where C# or VB code is available. Later web forms are enhanced and thier functionality become more and more better by use of bootstrap, javascript and other javascript libraries.

ASP.NET MVC

In 2009, Microsoft introduced a new framework for web development named ASP.NET MVC, which is based on Models, Views and Controllers patterns to keep a separation between business logic and presentation logic and allow complete control over HTML markup. For developers, it became more easy to write code in ASP.NET MVC as compared to Web forms. It was so easy to write code as Models, handle the business logic in controllers and generate Views from controllers. Everything is controlled in ASP.NET MVC.

But ASP.NET MVC, although solving the problem of slow release cycle and removing HTML markup abstraction, still suffered from the dependency on .NET framework and System.Web which strictly made it coupled with IIS and windows.