15
Introduction to ASP.NET Core Shailendra Chauhan Microsoft MVP, Founder & CEO – Dot Net Tricks

Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

Embed Size (px)

DESCRIPTION

The Mastering ASP.NET Core course is primarily designed for .NET Beginner(s)/Professional(s) who want to learn how to develop modern cloud-based app using ASP.NET Core . In this course, you will learn about .NET Core, middleware, MVC pattern, html helpers, tag helpers, custom helpers, validation and custom validation, querying database using Entity Framework Core. Visit:- https://www.dotnettricks.com/training/masters-program/aspnet-core

Citation preview

Page 1: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

Introduction to ASP.NET Core

Shailendra Chauhan

Microsoft MVP, Founder & CEO – Dot Net Tricks

Page 2: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

• Evolution of ASP.NET Core

• ASP.NET Core Architecture

• Understanding ASP.NET Core

• ASP.NET Core Performance Benchmarks

• ASP.NET Core MVC

• ASP.NET Core Application Model

• ASP.NET and ASP.NET Core Request Processing

• ASP.NET MVC5 vs. ASP.NET Core

Agenda

Page 3: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

Evolution of ASP.NET Core

ASP.NETWeb API

1/2

Active Server Pages

(Classic ASP)ASP.NET

Web Forms1/2/3.5/4

/4.5/4.6/4.7

ASP.NETMVC

1/2/3/4/5

ASP.NETWeb Pages

1/2/3

ASP.NETMVC 6

Core MVC1/1.1/2/2.1/2.2/3.0/3.1

Unified MVC, Web

API and Web Pages

Page 4: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET Core 2.2 Architecture

Next gen JIT (RyuJIT)

SIMD

Runtime Components Compilers

Languages innovation

.NET Compiler Platform .NET Core Libraries

.NET Framework 4.6 Libraries

NuGet packages

.NET Framework 4.6+ .NET Core 2.2

Page 5: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET Core 3.x Architecture

Next gen JIT (RyuJIT)

SIMD

Runtime Components Compilers

Languages innovation

.NET Compiler Platform .NET Core Libraries

.NET Framework 4.6 Libraries

NuGet packages

.NET Framework 4.6+ .NET Core 3.x

Page 6: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

• An open-source and cross-platform framework

• Runs on .NET Core or on the full .NET Framework till ASP.NET Core 2.2

• A unified framework for building web UI and web APIs

• Built-in dependency injection

• New light-weight and modular HTTP request pipeline

• Ships entirely as NuGet packages

• Built-In support for SPA

• Integration with modern client-side frameworks like Angular, React, Vue

Understanding ASP.NET Core

Page 7: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

• Build modern cloud based applications, such as :

• Web apps

• Mobile backends

• IoT Apps

• Machine Learning and AI

• Serve 2300% more requests per second as compared to ASP.NET 4.6

Understanding ASP.NET Core

Page 8: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET Core Performance Benchmarks

Source : https://goo.gl/pgjPfm

Page 9: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

• Everything starts from Program.cs, Main Method

• ASP.NET Core apps require a Startup class

• No more Global.asax

• No more Web.Config requirement

• No more modules and handlers

• Cross-platform Kestrel web server

ASP.NET Core Anatomy

Page 10: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET Core Anatomy

Page 11: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET Core Application Model

Page 12: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

• Html Helpers

• Follows WebForms & Razor Syntaxes

• Partial Views

• Type : Web Application

• Global.asax and Web.config

• Modules and Handlers

• Hosted on IIS

• Runs only with Windows

ASP.NET MVC5 vs. ASP.NET Core MVC

• Tag Helpers and Html Helpers

• Follows only Razor Syntax

• Partial Views & View Components

• Type : Console Application

• startup.cs and appsettings.json

• Middleware

• Cross-platform Kestrel web server

• Runs with Mac, Linux & Windows

Page 13: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET and ASP.NET Core Request Processing

Page 14: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

ASP.NET Core Request Processing

Page 15: Getting Started with ASP.NET Core Training, Tutorial - Beginner to Advance- Dot Net Tricks

For ASP.NET Core Online Training : +91-999 123 502

• Html Helpers

• Follows WebForms & Razor Syntaxes

• Partial Views

• Type : Web Application

• Global.asax and Web.config

• Modules and Handlers

• Hosted on IIS

• Runs only with Windows

ASP.NET MVC5 vs. ASP.NET Core MVC

• Tag Helpers and Html Helpers

• Follows only Razor Syntax

• Partial Views & View Components

• Type : Console Application

• startup.cs and appsettings.json

• Middleware

• Cross-platform Kestrel web server

• Runs with Mac, Linux & Windows