/
ASP.NET Core* ASP.NET Core*

ASP.NET Core* - PowerPoint Presentation

alida-meadow
alida-meadow . @alida-meadow
Follow
501 views
Uploaded On 2017-09-24

ASP.NET Core* - PPT Presentation

Shahed Chowdhuri Sr Technical Evangelist Microsoft shahedC WakeUpAndCodecom A Quick Overview of ASPNET Core aka ASPNET 5 before RC1 ASPNET Web API Active Server Pages Classic ASP ID: 590304

asp net web core net asp core web framework pages mvc microsoft add migration api migrations strings dnx connection

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "ASP.NET Core*" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

ASP.NET Core*

Shahed ChowdhuriSr. Technical Evangelist @ Microsoft@shahedCWakeUpAndCode.com

A Quick Overview of ASP.NET Core

* aka ASP.NET 5 before RC1Slide2

ASP.NET

Web API

Active Server Pages

(Classic ASP)

ASP.NET

(Web Forms)

ASP.NET

MVC

1/2/3/4/5

ASP.NETWeb Pages

ASP.NETMVC 6 Unified MVC, Web API and Web Pages

ASP.NET

Web API

Active Server Pages(Classic ASP)

ASP.NET(Web Forms)

ASP.NETMVC1/2/3/4/5

ASP.NETWeb Pages

ASP.NETMVC 6Core MVCUnified MVC, Web API and Web Pages

Evolution of ASP and ASP .NETSlide3

C# 6.0

.NET Framework 4.6

ASP.NET 5

(runs on .NET Core 5 or .NET Framework 4.5.2+)

ASP.NET

MVC 6

.NET Core 5

SignalR

3

C# 6.0

.NET Framework 4.6

ASP.NET

5 Core 1.0

(runs on .NET Core 5 1.0

or .NET Framework 4.5.2+)ASP.NET

MVC 6Core MVC.NET Core 5.NET Core 1.0

SignalR

3Names & Version NumbersSlide4

ASP.NET Core High-Level OverviewSlide5

Compilation ProcessSlide6

What About .NET Framework 4.6?Slide7

How about Entity Framework?

DB

ORM

Entities in CodeSlide8

Entity Framework Core*

Shahed ChowdhuriSr. Technical Evangelist @ Microsoft@shahedCWakeUpAndCode.com

The Future of EF for ASP.NET Core

* aka EF7 before RC1Slide9

EF Core Agenda

Overview

Models and Fields

Connection

Strings

Add Initial

MigrationAdditional MigrationsControllers and ViewsMigration

History and SnapshotsSlide10

DB-Driven Web Applications

Database

Web App

Internet

Users

ORMSlide11

Models and Fields

C# classes with data types, annotated with attributesSlide12

Connection Strings

Added with DB Context Options in

Startup.ConfigureServices

()Slide13

Connection Strings in Development

More info:

http://docs.asp.net/en/latest/security/app-secrets.html

Slide14

Connection Strings in Azure

More info:

https://azure.microsoft.com/en-us/documentation/articles/web-sites-configure

Slide15

Add Initial Migration *

>

dnvm

use 1.0.0-rc1-update1

>

dnx

ef migrations add initial

>dnx ef database update

* Subject to change after RC2, see official documentation:

https://docs.efproject.net/en/latest/platforms/aspnetcore/new-db.html Slide16

Add Additional Migrations *

>

dnvm

use 1.0.0-rc1-update1

>

dnx

ef migrations add

FriendCode>dnx ef database update

* Subject to change after RC2, see official documentation:

https://docs.efproject.net/en/latest/platforms/aspnetcore/new-db.html Slide17

EF Migration Commands

More info:

https://msdn.microsoft.com/en-us/magazine/mt614250.aspx

Slide18

Controllers and ViewsSlide19

Migration History and SnapshotsSlide20

Email:

shchowd@microsoft.com

Twitter:

@shahedC