ASP.NET Core - A beginner guide

In this post I assume that you are .NET developers or at least you have known C# and you want to learn ASP.NET Core. If you are new to .NET or you’re coming from another language, I would recommend you to learn C# first. You can check out this nice tutorial to getting start with C# here

Although you might encounter some issues during the development because the tooling is not stable, .NET Core and ASP.NET Core definitely are the future of .NET. I believe that after the tooling reach RTM and with the release of .NET Core 2.0 and .NET Standard 2.0 (expected in Spring 2017), the adoption rate of .NET Core will increase significantly.

ASP.NET Core in nutshell

ASP.NET Core

ASP.NET Core is very different from the ASP.NET that you have already known. For example: there is no System.Web.dll, HTTP Modules, HTTP Handlers, Global.asax or Web.config. ASP.NET Core is a significant redesign of ASP.NET.

The most important ASP.NET Core principle I think you have to remember is the modularity. ASP.NET Core is a composition of granular NuGet packages and everything is excluded by default. That means you might need to add some packages when you need some features. And by this way you only take the minimal set of packages you need.

1. What I need to install on my PC

An IDE. In theory, you can use any editor to code .NET Core. However, I would recommend you to use Visual Studio. It’s the best IDE to code .NET. My second recommendation is Visual Studio Code. Some of my friends use Visual Studio for Mac, but I haven’t.

.NET Core SDK or NET Core tools for Visual Studio if you use Visual Studio Download here.

2. Create an ASP.NET Core project

Create an asp.net core project and take a quick look at the project structure and generated code.

3. Learn core concepts

4. Follow tutorials

It is also a good idea to getting started by follow tutorials

5. More important concepts

6. Reading code samples

Further reading

Written on January 30, 2017