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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
100
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
150
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
110
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
120
Other Decks in Programming
See All in Programming
えっ!!コードを読まずに開発を!?
hananouchi
0
210
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
750
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
490
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
370
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
420
自作OSでスライド発表する
uyuki234
1
3.8k
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
2
490
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
170
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.8k
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
130
Foundation Models frameworkで画像分析
ryodeveloper
1
120
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
210
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Git: the NoSQL Database
bkeepers
PRO
432
67k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
420
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
380
Building the Perfect Custom Keyboard
takai
2
810
A Tale of Four Properties
chriscoyier
163
24k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
How to make the Groovebox
asonas
2
2.3k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
720
Balancing Empowerment & Direction
lara
6
1.2k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
320
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