• About Me
  • Contact Us
  • Privacy Policy
  • Terms and Conditions
  • Advertise / Sponsor

DOTNET DETAIL

Learn Microsoft .NET Technologies

  • Home
  • Tutorials
    • Angular
      • Angular 5
      • Angular 6
    • ASP.NET Core
    • Azure
    • React
    • Vue
  • Books
  • Courses
  • Cloud Hosting
  • Interview Questions
You are here: Home / ASP.NET Core / Introduction to ASP.NET Core 2.0

Introduction to ASP.NET Core 2.0

May 14, 2018 by mebakar1005 Leave a Comment

Hi, In this tutorial, I am going to start a series of ASP NET Core tutorials in step by step. Where you will learn many things about ASP NET Core. First-of-all, In this ASP NET Core tutorial, I will show you the introduction of ASP NET Core.  There are following points that you will learn in this tutorial.

  • History of ASP NET Core
  • What is ASP NET Core?
  • Why we use ASP NET Core.
  • Conclusion

Let’s start in step by step.

History of ASP.NET Core

In 1996, Microsoft released ASP framework which stands for Active Server Pages. It is also known as Classic ASP. It was the first step to have server-side scripting to dynamic web pages. Then in 2002, Microsoft released dot net(.net) framework. In this framework, Microsoft released ASP.NET Web forms. This evolution made the creation of web pages similar to windows form application. But unfortunately, there were some downsides in web forms. One of the biggest downsides was the page lifecycle. When requesting the page, a number of events were fired. So, getting to know all of these events was quite a bit of task.

Then in 2008, Microsoft officially released the first version of ASP.NET MVC (Model, View, Controller). Separation of concern technique was used in this version and tried to overcome most of the problems with the web forms. MVC approach is much easier for Unit testing. Then in 2016, Microsoft released a new version of ASP.NET Core. Dotnet Core is the very first version of cross-platform of dot net.

See also  Action Results in ASP.NET Core 2.0

What is ASP.NET Core?

ASP.NET Core is a cross-platform. It is open source and high-performance framework for building modern cloud-based web applications and web APIs using MVC (Model, View, Controller) approach. It is built on .NET Core runtime. It can also run on the full .NET framework for maximum compatibility. It is the latest framework that is developed from scratch parallel with .NET 4.6 framework and with some architectural changes. These changes make .NET Core much lightweight, leaner, highly testable and much more modular framework.

These are below some changes

  • NET Core has the ability to use the web server other than IIS.
  • NET Core has the ability to use unification between Web API and MVC and Web Pages.
  • NET Core has the ability to work as a cross-platform.

And much more.

Why we use ASP.NET Core?

ASP.NET Core is a redesign of ASP.NET with some architectural changes. Which makes it leaner and modular.

So, there the following benefits that ASP.NET Core provide.

  • It can use a web server other than Internet Information Services (IIS).
  • It is open source.
  • It is based on cross-platform. You can build and run your application on Windows, Mac and Linux.
  • It includes unified programming model that combines MVC, Web Pages and Web APIs.
  • It has the ability of Dependency Injection.
  • Modular request pipeline.
  • It is much easier for unit testing.
  • It uses Tag Helpers that make razor markup more natural.
  • It is based on a set of granular and well factor NuGet packages.
  • Tooling that simplifies modern web development.
  • Cloud-ready environment, based configuration system.
  • MVC approach helps make your web APIs and web apps testable.
See also  How to add Authentication to Angular 7 and Asp.Net Core 3 using VS2019

Conclusion

So, ASP.NET Core provides you all the facilities that you need to make your application leaner, lightweight, testable and to make your application for cross-platform like Mac, Linux, and Window.

How to Create a Project in ASP.NET Core 2.0

Related

Filed Under: ASP.NET Core Tagged With: ASP.NET CORE, ASP.NET CORE TUTORIAL, ASP.NET MVC6, MVC COREL MVC CORE 2.0

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Buy me a coffeeBuy me a coffee

Jobs

Dotnet Jobs

Join Us

Join Us

Subscribe to Blog via Email

Enter your email address to subscribe.

Recent Posts

  • Top LINQ interview questions and answers.
  • Difference between .NET Core and .NET Framework
  • Top 10 Programming Languages of the Future.
  • Top MVC Interview Questions & Answers
  • 20 best Data Science Books: Beginner to Advanced Level
  • 10 Best Machine Learning Laptops
Copyright © 2022