Data Access Layer Shahed Chowdhuri Using Code-First Migrations.

Slides:



Advertisements
Similar presentations
Entity Framework Code First Migrations
Advertisements

Collections Create and organize your own privet and public collections.
Part 05 – Code First Migrations and Azure Deployment Entity Framework and MVC Series Tom Perkins NTPCUG.
1 Introducing Scenario Network Data Editing and Enterprise GIS January 27, 2010 Minhua Wang, Ph.D. Citilabs, Inc.
Development and Production Environment Setup with Kentico CMS Karol Jarkovsky Consultant Kentico Software
? Data-Driven apps and LightSwitch TechEd sessions Domain-Driven Design,.NET and Loosely-coupled approaches TechEd sessions Windows Apps Modernization.
René Balzano Technology Solution Professional Data Platform Microsoft Switzerland Database Development with SQL Server Data Tools (SSDT)
Tutorial -01. Objective In this session we will discuss about : 1.What is MVC? 2.Why MVC? 3.Advantages of MVC over ASP.NET 4.ASP.NET development models.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Powerful, modern desktops enable next generation applications Hardware acceleration brings real-time lighting, texturing and rendering Visual.
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
SQLTeach Presentation Template Use of this template is mandatory (no exceptions) Please note the orientation of this presentation is landscape (16:10);
DotNetNuke v4 on ASP.NET v2 Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application developer Conference.
Entity Framework Code First End to End
BIT 286: Web Applications Lecture 04 : Thursday, January 15, 2015 ASP.Net MVC - Models.
Intro to Entity Framework By Shahed Chowdhuri Don’t drown in database design during WakeUpAndCode.com.
Visual Studio 2010 and.NET Framework 4 Training Workshop.
Secure ASP.NET MVC5 Application with Asp.Net Identity Changde Wu Self Introduction Professional.NET Developer in greater Boston area Specialized in WPF.
Part 04 – Preparing to Deploy to the Cloud Entity Framework and MVC Series Tom Perkins NTPCUG.
Visual Studio 2008 and.NET 3.5 provide seamless support for all of the protocols and techniques popular in Web 2.0-style applications. Visual Studio.
DEPLOYMENT AUTOMATION & CONTINUOUS DEPLOYMENT Szymon Pobiega.
I Copyright © 2007, Oracle. All rights reserved. Module i: Siebel 8.0 Essentials Training Siebel 8.0 Essentials.
Isolated Database Environments Kevin Howell February 2014.
Database Projects in Visual Studio Improving Reliability & Productivity.
Domain-Driven Design for the Database-Driven Mind
Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.
Entity Framework 7 Who Are You & What Have You Done to my ORM?
Simplifying the Code First Approach in the Entity Framework Dhananjay Kumar Infragistics Consultant Microsoft MVP
Entity Framework 7: What’s New? Ricardo Peres Technical Evangelist at Simplifydigital. Microsoft
Visual Studio 2012: A Complete IDE (Debugging & Source Control) Kevin Howell.
Building Web Applications using the latest ASP.NET technologies Max Déboli Director de Desarrollo Microsoft Azure MVP Lagash
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
Bob German Principal Architect Developing SharePoint Applications with MVC and Entity Framework.
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core RC2 * aka ASP.NET 5 before.
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
1 Adding a Model. We have created an MVC web app project Added a controller class. Added a view class. Next we will add some classes for managing movies.
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com Deploying Your Web Apps * aka ASP.NET 5 before RC1.
DevOps with ASP.NET Core and Entity Framework Core
Visual Studio 2017 By Michael Washington
EF Code First (Advanced)
Database version control
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Did your feature got in, out or planned?
A Tour of EF Core’s Most Interesting & Important Features
CO6025 Advanced Programming
Entity Framework Core*
SQL Server Data Tools Gert Drapers
An Introduction to Entity Framework
API Application Services
Database Continuous Integration and Deployment with Visual Studio SQL Server Data Tools in < 10 minutes Eric Kang Program Manager.
A Quick Overview of ASP.NET Core 1.0
TechEd /3/2018 8:11 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Entity Framework from a database perspective
What’s new in ASP.NET Core and Entity Framework 2.2 (Preview 3)
Database version control
From Development to Production: Optimizing for Continuous Delivery
Entity Framework Core for Enterprise Applications
TechEd /7/2019 1:14 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
From Development to Production: Optimizing for Continuous Delivery
Introducing Scenario Network Data Editing and Enterprise GIS
Implementing Entity Framework with MVC Jump Start
REST Easy - Instant APIs for Your Database
Power BI/Excel Dashboards for Managerial Analysis and decision making
Entity Framework & LINQ (Language Integrated Query)
Introduction to ASP.NET Parts 1 & 2
Mark Quirk Head of Technology Developer & Platform Group
ASP.NET Core 2.0 The Future of Web Apps Shahed Chowdhuri
Presentation transcript:

Data Access Layer Shahed Chowdhuri Using Code-First Migrations

Thanks to our Sponsors for keeping the fires lit

TDD (Test Driven Development) BDD (Behavior Driven Development) CI (Continuous Integration) CD (Continuous Delivery) Introduction ASP.NET MVC DB Enterprise Web Application  Looking for Ways to Improve & Modernize  Motivation behind this design?  Our desire to do the following:

Tech Check ASP.NET MVC Entity Framework EF Code-First Development EF Code-First Development EF Code-First Migrations Are you familiar with …?

Options and Alternatives Database- First (EDMX) Model-First (Visual Designer) Code-First (automatic migrations) Code-First (manual migrations)

What are we trying to solve?

DAL: Agenda 1. Models & Mapping 2. Connection Strings 3. Enable Migrations 4. Update Database 5. Push Code + Migrate Server DB 6. Process Workflow

1. Models & Mapping DBContext.OnModelCreating()

2. Connection Strings

3. Enable Migrations

migration code 4. Update Database model code migration code + seed dev DB (sql)

5. Push Code + Migrate Server DB code push code CI code pull code migrate.exe Server DB

6. Process Workflow dev team DB architects communication DB

Code Walkthrough

DAL: Conclusion Code-First Migrations Dev Team Synchronized Server Deployment Database Versioning Continuous Development

Resources EF Code First Migrations on MSDN: – Web.config & configSource: – PluralSight EF Migrations video tutorial: –