Presentation is loading. Please wait.

Presentation is loading. Please wait.

Paul Litwin Programmer Manager Fred Hutchinson Cancer Research Center SESSION CODE: WEB206.

Similar presentations


Presentation on theme: "Paul Litwin Programmer Manager Fred Hutchinson Cancer Research Center SESSION CODE: WEB206."— Presentation transcript:

1 Paul Litwin Programmer Manager Fred Hutchinson Cancer Research Center SESSION CODE: WEB206

2

3

4

5 What?

6

7

8 Why?

9

10

11

12 How?

13

14

15

16

17 Create ASP.NET MVC Application Go ahead and let VS create test app Remove following starter files Controllers|HomeController.cs All views in Views|Home folder In Test app, Controllers|HomeControllerTest.cs

18

19

20 We will use LINQ to SQL We will build a model on 3 tables from Northwind Products Change ProductID to id Categories Suppliers Set UpdateCheck property on Product fields to Never

21 While we could have controller call LINQ to SQL classes, directly, it’s better to provide another layer using a repository pattern We will create repository classes for each model object Very similar to creating a business tier in N-tier app design

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40 Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.

41

42 www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn

43

44 Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year

45

46


Download ppt "Paul Litwin Programmer Manager Fred Hutchinson Cancer Research Center SESSION CODE: WEB206."

Similar presentations


Ads by Google