Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ASP.NET Core und ASP.NET Core MVC (BASTA! Sprin...
Search
Christian Nagel
February 22, 2017
Programming
390
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ASP.NET Core und ASP.NET Core MVC (BASTA! Spring 2017)
Introduction to ASP.NET Core and ASP.NET Core MVC
Christian Nagel
February 22, 2017
More Decks by Christian Nagel
See All by Christian Nagel
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
140
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
220
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
110
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
150
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
120
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
170
Async mit C# 5
christiannagel
1
160
Windows Store Apps mit C#
christiannagel
0
110
Tiles, Toasts & Notifications
christiannagel
0
130
Other Decks in Programming
See All in Programming
「人を評価する AI」の設計と実装
ryoyanara
0
260
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
490
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
740
Deep dive into the select statement (GopherCon UK)
jespino
0
150
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
200
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
180
信頼性の目標を誰も求めてない
shubox
0
200
Flow は今どうなっているか
mizdra
PRO
0
750
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
390
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
5
1.8k
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
450
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
510
Crafting Experiences
bethany
1
270
Color Theory Basics | Prateek | Gurzu
gurzu
0
440
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
Unsuck your backbone
ammeep
672
58k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
490
Designing for Performance
lara
611
70k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Transcript
ASP.NET Core und ASP.NET MVC Core Christian Nagel csharp.christiannagel.com @christiannagel
Goals • Warum ASP.NET Core? • Foundations ASP.NET Core •
Intro ASP.NET MVC Core • Neue Tools (csproj)
Non-Goals • Alle Features von ASP.NET Core / MVC •
No Crashes (Visual Studio 2017 RC)
Agenda – 3 Schritte Why? What? ASP.NET Core ASP.NET MVC
Christian Nagel • csharp.christiannagel.com • www.cninnovation.com • @christiannagel
WHY? WHAT?
Why? • Reduce Overhead • Modern Architecture • Multi-Platform
What? • .NET Core • .NET Standard • ASP.NET Core
.NET Core • New Implementation of .NET • Multi-Platform •
Lightweight, Modern Patterns • Long Term Support (LTS, 1.0.3) • Current Releases (1.1), new Features
.NET Standard • Create Libraries that can be used between
different .NET Implementations • Replaces Portable Library
ASP.NET Core • New Web Framework • Fast, Modern Patterns
• Basis: .NET Core oder .NET Framework
ASP.NET CORE
Topics • Startup • Simple Routing • Dependency Injection •
Configuration • Logging
Startup
Startup • Build a WebHost (WebHostBuilder) • Configure Services (Startup)
• Configure Request Pipeline (IApplicationBuilder) • HTTP Request & Response (HttpContext)
Simple Routing
Simple Routing • Define simple routes • Map with a
predicate
Dependency Injection
Dependency Injection • Microsoft.Extensions.DependencyInjection • Container Registration – Transient/Scoped/Singleton •
Injection in Controller/Service/View
Configuration • Überfrachtetes web.config • Production/Staging?
Configuration
Diagnostics / Logging • Trace? TraceSource? Nlog? • Switch Logging
Technology?
Diagnostics / Logging • ILoggerFactory • ILogger
What you’ve seen… • Easy to use • Moderne Patterns
• Flexible Architektur
ASP.NET MVC CORE
Topics • Template Generated Code • Tag Helpers • View
Components
dotnet new • DependencyInjection • Configuration • Logging • Razor
• Logging
Tag Helpers • HTML Helpers werden auch unterstützt • Tag
Helpers mit HTML Syntax • Vergleich mit Angular • Mixed C#/HTML wird reduziert
View Components • Functionality independent of Controller • .NET Core
1.1: – Tag Helpers
What you’ve seen… • Ähnlich zu ASP.NET MVC 5.x •
Zusätzliche Features • Basis ASP.NET Core
Summary • Multi Platform • Modern Patterns
Questions?
More Information • https://csharp.christiannagel.com • https://dot.net • https://github.com/ProfessionalCSharp • https://github.com/aspnet
Thank you!
Images Copyright • Problems © 123elis • Construction Worker ©
Bogdanhoda • Sky Train © Szefei • Injection © Mabe123 • Control Panel © Antonmatveev • Telescope © Rudchenko • Modern Building © Renkshot • Plastic Blocks © Rayisa Nalivayko • Eye scanning © Saniphoto • Problem Solving Series © Pablo631 • Frankfurt © Rudi1976 http://www.dreamstime.com