Introduction to Model-View-Controller (MVC) and ASP.NET

Model-View-Controller (MVC) is an architectural pattern that separates an app between data, UI and controlling. The pattern was first used on desktop computers and then became popular with web frameworks. There are several other design patterns such as MVVM (model-view-viewmodel) and MVP (model-view-presenter) that we will discuss in another post. The key with MVC is separation of concerns, or SoC, which are the different aspects of the development of an … Continue reading Introduction to Model-View-Controller (MVC) and ASP.NET

ASP.NET Web API

ASP.NET Web API allows us to build HTTP services. It can be used with ASP.NET MVC, Web Forms, WCF HttpBinding. The framework is built on ASP.NET. We will go through an example of building a Web API with MVC using Entity Framework. To create a new project, open Visual Studio and create a new ASP.NET Web Application: Now select the type of project. Here we will select Web API: The … Continue reading ASP.NET Web API