30
Christian Nagel | thinktecture / CN innovation Die Vorteile von .NET Core und CLI

Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Christian Nagel | thinktecture / CN innovation

Die Vorteile von

.NET Core und CLI

Page 2: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Christian Nagel

• Training

• Coaching

• Consulting

• Microsoft MVP

• thinktecture

• CN innovation

Page 3: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Agenda .NET Core

Warum? Was? Wie?

Page 4: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes
Page 5: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

15 Jahre .NET

.NET CLR C# Visual Studio

1.0 1.0 1.0 2002

1.1 1.1 1.2 2003

2.0 2.0 2.0 2005

3.0 2.0 2.0 2005+Ext

3.5 2.0 3.0 2008

4.0 4.0 4.0 2010

4.5 4.0 5.0 2012

4.5.1 4.0 5.0 2013

4.6 4.0 6 2015

Core 1.0 Core CLR 6 2015+Ext

Page 6: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Customer Requests

Faster Innovations

Multi-Platform

Open Source

Legacy Code

Page 7: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Probleme (1) - Komplexität

• .NET ist riesig

• ArrayList .vs. List<T>

• .NET Remoting .vs. ASP.NET Web

Services .vs. WCF vs. ASP.NET Web

API

• EF Model First .vs. Code First

Page 8: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Probleme (2) - Erweiterbarkeit

• Am Beispiel Entity Framework

EF .NET Features Issues

1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL

4.0 4.0 Easier, POCO, DDL.. Release Cycles

4.1 Code First via NuGet

4.2 Bug Fixes

4.3 Migrations

5.0 4.5 Performance, SQL

Server enhancements

or 4.4?

6.0 All NuGet ASP.NET Web Forms

Compat

Core 1.0 Core 1.0 NoSQL, Clients Complete Rewrite

Page 9: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Probleme (3) – Code Sharing

• .NET Class Library

– Nur mit .NET Framework

• Portable Library

– Viele verschiende Definitionen

– Silverlight, .NET, Phone, Xamarin…

• Shared Projects

Page 10: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Summary

.NET Framework ist groß und komplex

Schnellere Innovationen gefordert

Lösung von bestehenden Problemen

Page 11: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes
Page 12: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Überblick

.NET Framework

WPF ASP.NET

4.x

.NET Compiler

PlatformLibrariesRuntime

Components

Page 13: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Überblick

.NET Core 1.0.NET 4.6.1

WPF ASP.NET

4.x

ASP.NET

Core 1.0ASP.NET Core

1.0

Universal

Windows

Platform

.NET Compiler

PlatformLibrariesRuntime

Components

CoreCLR .NET Native

Page 14: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Ein neues Framework

• Open Source

• Windows, Linux, OS X

• Modern Patterns

• Code vom .NET Framework übernommen

• Kleinere Einheiten

• Modernes Design

• Native Code

Page 15: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

• .NET Command Line Interface

Einfache Tools

Page 16: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Summary

Ein neues Framework

Neue Tools

Native Code

Bestehendes weiterhin

Page 17: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes
Page 18: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Erstellen einer Console App

• dotnet new

• dotnet restore

• dotnet build

Demo

Time

Page 19: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

What you've seen

• dotnet Tools

• project.json

• NuGet Packages

• .NET 4.x .vs. .NET Core

Page 20: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Universal Windows App

• Using .NET Core Libraries

Demo

Time

Page 21: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

What you've seen

• Universal Windows App

– Using .NET Core

• Microsoft.Extensions.DependencyInjection

Page 22: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Erstellen einer Library

• project.json

• NuGet Package

• Multiple Clients

Demo

Time

Page 23: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

What you've seen

• Portable Class Libraries werden nicht

mehr benötigt

• .NET Core für alle Projekttypen

• netstandard

Page 24: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

netstandard

Target Platform Alias

.NET Platform Standard netstandard 1.0 1.1 1.2 1.3 1.4

.NET Framework net 4.6.1

4.6

4.5.2

4.5

Universal Windows Platform uap 10.0

Windows win 8.1

Windows Phone wpa 8.1

Windows Phone Silverlight wp 8.1

DNX Core dnxcore 5.0

Page 25: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Web Application

• ASP.NET Core 1.0

• ASP.NET MVC 6

Demo

Time

Page 26: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

What you've seen

• ASP.NET Core 1.0

• ASP.NET MVC

• Viele Änderungen zwischen RC1 und

RC2

Page 27: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Summary

• A new Framework

– .NET Core 1.0

• New Tools

– Dotnet Tools

Page 28: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Roadmap

• .NET Core RC1 ist verfügbar

– GO LIVE Lizenz

• Aktuell Umbau auf CLI Tools

Page 29: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

Fragen?

Page 30: Christian Nagel | thinktecture / CN innovation · 1.0 3.5 Upd 1 CSDL, MSL, SSDL .vs. LINQ to SQL 4.0 4.0 Easier, POCO, DDL.. Release Cycles 4.1 Code First via NuGet 4.2 Bug Fixes

More Information

• get.asp.net

• github.com/ProfessionalCSharp

• github.com/CNinnovation

• github.com/dotnet

• github.com/aspnet