Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lean .NET stack for building modern web apps

Similar presentations


Presentation on theme: "Lean .NET stack for building modern web apps"— Presentation transcript:

1 Lean .NET stack for building modern web apps
ASP.NET Core Lean .NET stack for building modern web apps Ivaylo Kenov Technical Trainer Software University © Software University Foundation – This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

2 The Trainer Ivaylo Kenov Various job titles at the same time: Contacts
Mathematical competitions champion Full Stack Technical Trainer Senior Software Developer Solutions Architect & Technical Lead Owner of a Software Company One-man {Insert Jot Title Here} Contacts

3 What Are We Going To Learn
.NET Core Platform Cross-platform, Lightweight, Flexible ASP.NET Core Server Technology IIS, Kestrel, Middleware, Built-in IoC container ASP.NET Core MVC Framework Routing, Models, Controllers, Views, Web API Entity Framework Core Database Access Code First Only, Migrations, Database Access

4 Who Is This Lecture For This lecture is suitable for:
All server-side developers C# developers ASP.NET MVC developers Everyone willing to learn! 

5 Required Software Windows 10 (Linux, Mac)
Go to and download .NET Core Visual Studio Community: Code: GitHub (for support):

6 .NET Core Platform

7 .NET Core Platform Different from the .NET Framework
Open Modular components with minimal overhead Changes based on customer requests & requirements Different project structure – the project.json file Supports Console Apps, Class Libraries, Web Apps Automatic change watcher Command-Line Interface

8 .NET Core CLI Create new project with dotnet new
Edit packages in project.json Restore them with dotnet restore Write some C# Start the application with dotnet run Be happy! 

9 ASP.NET Core Server

10 ASP.NET Core Server Modular HTTP pipeline
Supports middleware (like Node.js) Super lightweight and fast Cloud-ready environment configurations Self-hosted or IIS-hosted Supports both .NET Core and .NET Framework Built-in dependency resolver (with lifetime support)

11 ASP.NET Core MVC

12 ASP.NET Core MVC Framework
Controllers – light and easy Routing – conventional and by attributes Models – enhanced model binding Built-in dependency resolver (with lifetime support) Views – good old Razor (on steroids – injectables, tag helpers, and view components) Web API – merged with MVC Areas – separate your separation Identity – built-in authentication & authorization support

13 Entity Framework Core

14 Entity Framework Core Database Access
Code First only Supports non-relational databases No lazy-loading Explicit migrations only LINQ is same, but has some limitations

15 Thank You!

16 Introduction To ASP.NET Core
© Software University Foundation – This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

17 License This course (slides, examples, demos, videos, homework, etc.) is licensed under the "Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International" license Attribution: this work may contain portions from "End-to-end JavaScript Applications" course by Telerik Academy under CC-BY-NC-SA license © Software University Foundation – This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

18 Free Trainings @ Software University
Software University Foundation – softuni.org Software University – High-Quality Education, Profession and Job for Software Developers softuni.bg Software Facebook facebook.com/SoftwareUniversity Software YouTube youtube.com/SoftwareUniversity Software University Forums – forum.softuni.bg © Software University Foundation – This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.


Download ppt "Lean .NET stack for building modern web apps"

Similar presentations


Ads by Google