Introduction to ASP.NET Core


What is ASP.NET Core?

ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. Read Introduction to ASP.NET Core for more information.


Installation of Microsoft .NET Framework 4.6.1 or Newer

ASP.NET Maker scripts can run on .NET Core or .NET Framework. If you use SQL Server, MySQL and/or PostgreSQL, you can use either. If you use MS Access, you must run on .NET Framework. If you use Oracle, currently use must run on .NET Framework but you may be able to run on .NET Core later after Oracle releasing its provider.

To download, read Installing the .NET Framework, make sure you install the Developer Pack also.


Installing .NET Core On Windows

Please read .NET Core Downloads for instructions. Install the .NET Core SDK (v2.0.3 or newer), you can choose x86 or x64 version according to your Windows version, but if you need to work with Microsoft Access, you must install the x86 version. If you want to test with IIS, install Windows Server Hosting also.

It is possible to install both x86 and x64 version of .NET Core SDK, to choose which to use, move the path of the selected version before the other under the Path system environment variables, e.g. if you want to use x86 version, move "C:\Program Files (x86)\dotnet\" before "C:\Program Files\dotnet\" and vice versa:

  1. Above screenshot is from Windows 10. Other versions may not have the Move Up/Down button, you need to edit the Path system environment variable yourself.
  2. To edit system environment variables, search Windows Control Panel and find "environment variables".


Visual Studio

Visual Studio Community 2017 (or newer) provides the best development experience for creating ASP.NET Core applications for free.


Visual Studio Code

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. Make sure you install the C# extension which is a lightweight development tools for .NET Core.



ASP.NET Core MVC is a rich framework for building web apps and APIs using the Model-View-Controller design pattern. The Model-View-Controller (MVC) architectural pattern separates an application into three main groups of components: Models, Views, and Controllers. This pattern helps to achieve separation of concerns. Using this pattern, user requests are routed to a Controller which is responsible for working with the Model to perform user actions and/or retrieve results of queries. The Controller chooses the View to display to the user, and provides it with any Model data it requires. Read Overview of ASP.NET Core MVC for details.



Routing middleware is used to map requests to route handlers. Routes are configured when the application starts up, and can extract values from the URL that will be passed as arguments to route handlers. Routing functionality is also responsible for generating links that correspond to routes in ASP.NET apps. Read Routing in ASP.NET Core.


Publishing and Deployment

To deploy the web application, you need to publish your project for running in IIS, read Host ASP.NET Core on Windows with IIS. The following operations systems are supported:

  • Windows 7 and newer
  • Windows 2008 R2 and newer





©2004-2018 e.World Technology Ltd. All rights reserved.