Deep Dive 

ASP.NET Core 2.1

INTRODUCTION TO ASP.NET CORE

  • What is ASP.NET Core

  • History of ASP.NET Core

  • Features of ASP.NET Core 

  • Advantages and Disadvantage 

  • ASP.NET CORE vs Node.js

  • Performance Benchmark

Click Here

Contents

  • Objective of ASP.NET Core

  • .NET Core Composition

  • Project Structure  

  • Command-line Interface

  • Reference

The Purpose of .Net Core

To provide a unified platform for all types of applications

Text

.NET Core Composition

The . NET Core Framework composed of the following parts:

 A JIT based CLR (Command Language Runtime).

 Set of framework libraries.

Language compiler for C# and Visual Basic

Project Structure

Project Structure

  • Properties

launchSettings.json

Project Structure

  • wwwroot folder

Treated as a web root folder - by default

Standard ASP.NET application - static files can be served from the root folder of an application or any other folder under it.

 

ASP.NET Core - only those files that are in the web root (wwwroot folder) can be served over an http request.

All other files are blocked and cannot be served by default.

Project Structure

  • wwwroot folder

COMMAND-LINE INTERFACE

.NET Core Command-line Interface

Command Structure

dotnet <command> <argument> <option>

All the commands start with driver named dotnet.

REFERENCES

Made with Slides.com