Presentation is loading. Please wait.

Presentation is loading. Please wait.

Entity Framework Core*

Similar presentations


Presentation on theme: "Entity Framework Core*"— Presentation transcript:

1 Entity Framework Core*
The Future of EF for ASP.NET Core Shahed Chowdhuri Sr. Technical Microsoft @shahedC WakeUpAndCode.com * aka EF7 before RC1

2 Additional Migrations
Agenda Overview Models and Fields Connection Strings Add Initial Migration Additional Migrations Controllers and Views Migration History and Snapshots Shahed Chowdhuri Web Application Security Overview SQL Injection Cross-Site Scripting (XSS) Data Exposure In the Real World Next Steps Q&A

3 DB-Driven Web Applications
Internet ORM Database Users

4 Models and Fields C# classes with data types, annotated with attributes

5 Connection Strings Added with DB Context Options in Startup.ConfigureServices()

6 Connection Strings in Development
More info:

7 Connection Strings in Azure
More info:

8 Add Initial Migration *
>dnvm use rc1-update1 >dnx ef migrations add initial >dnx ef database update * Subject to change after RC2, see official documentation:

9 Add Additional Migrations *
>dnvm use rc1-update1 >dnx ef migrations add FriendCode >dnx ef database update * Subject to change after RC2, see official documentation:

10 EF Migration Commands More info:

11 Controllers and Views

12 Migration History and Snapshots

13 Contact Microsoft Personal Dev Blog: WakeUpAndCode.com


Download ppt "Entity Framework Core*"

Similar presentations


Ads by Google