Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEV313. MVC Unit Testing Repository Pattern Change Tracking Concurrency Unit of Work MVVM Separation of Concerns Dependency Injection N-Tier TDD Transactions.

Similar presentations


Presentation on theme: "DEV313. MVC Unit Testing Repository Pattern Change Tracking Concurrency Unit of Work MVVM Separation of Concerns Dependency Injection N-Tier TDD Transactions."— Presentation transcript:

1 DEV313

2 MVC Unit Testing Repository Pattern Change Tracking Concurrency Unit of Work MVVM Separation of Concerns Dependency Injection N-Tier TDD Transactions Performance

3 SQL Server SQL Azure … Entity Framework

4 demo

5 Optimizing EF StartupMinimizing Trips to DatabaseQuery CachingCustomizing SQLChange Tracking

6 customer

7

8

9 Implemented as Composite Application

10

11

12 Oracle Data Provider for.NET Devart MySQL Connector/NET Progress DataDirect Connect VistaDB OpenLink Software IBM (DB2, Informix, U2) Sybase SQL Anywhere Sybase Adaptive Server Enterprise Phoenix Software Solutions SQL CompactSynergex

13 demo

14

15

16

17 www.microsoft.com/teched Sessions On-Demand & CommunityMicrosoft Certification & Training Resources Resources for IT ProfessionalsResources for Developers www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn http://northamerica.msteched.com Connect. Share. Discuss.

18

19 Scan the Tag to evaluate this session now on myTechEd Mobile

20

21

22 SQL Server SQL Azure Visual Studio Entity Framework ADO.NET WCF Data Services …

23 View Generation impacts application startup (first query) Use Precompiled views Optimizing EF Startup Automatic Lazy Load is default Turn off Lazy Loading/use Eager Loading if required Watch for the over-use of Eager Loading Minimizing Trips to Database Compilation is expensive the first time Use compiled LINQ queries for frequently used queries Query Caching Use Read stored procedures where appropriate Use database Views where appropriate Use ExecuteStoreQuery/Command when desired Customizing SQL Disable for Read Only entities Change Tracking

24


Download ppt "DEV313. MVC Unit Testing Repository Pattern Change Tracking Concurrency Unit of Work MVVM Separation of Concerns Dependency Injection N-Tier TDD Transactions."

Similar presentations


Ads by Google