For ASP.NET Core Online Training : +91-999 123 502
Introduction to ASP.NET Core
Shailendra Chauhan
Microsoft MVP, Founder & CEO – 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
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
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
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
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
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
For ASP.NET Core Online Training : +91-999 123 502
ASP.NET Core Performance Benchmarks
Source : https://goo.gl/pgjPfm
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
For ASP.NET Core Online Training : +91-999 123 502
ASP.NET Core Anatomy
For ASP.NET Core Online Training : +91-999 123 502
ASP.NET Core Application Model
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
For ASP.NET Core Online Training : +91-999 123 502
ASP.NET and ASP.NET Core Request Processing
For ASP.NET Core Online Training : +91-999 123 502
ASP.NET Core Request Processing
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