Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Access Layer (DAL) App Logic Database View Web Service App Logic App Logic Trust Boundary.

Similar presentations


Presentation on theme: "Data Access Layer (DAL) App Logic Database View Web Service App Logic App Logic Trust Boundary."— Presentation transcript:

1

2

3

4

5

6 Data Access Layer (DAL) App Logic Database View Web Service App Logic App Logic Trust Boundary

7 AppLogicAppLogic Databases ADO.NET, ORMs (LTS, EF, …) CLR Lists/Objects Repository (nHibernate, …) Services REST/SOAP (Azure, …) XML, JSON, Binary.NET Clients Silverlight, WPF Standards Clients JavaScript Server Rendering HTML, SEO, Printing, … Services WCF Unit Test Code

8 Rich Internet Application DB ServicesServices Data Access Layer AppLogicAppLogic PresentationLogic Network DomainService Stateless CRUD + App Logic class PlateViewDomainService IQueryable Get Restaurants () IQueryable Search Restaurant (string) void Add Restaurant ( Restaurant ) Validation and authorization rules, Application workflows, … Data Model class Book DomainContext Stateful view + Bindable Data class PlateViewDomainService EntityList Books { get } EntityQuery Get Restaurant Query() EntityQuery Search Restaurant Query(string) class Restaurant Data members + Validation Data Model + Metadata + Shared Code DomainContextDataService Under the covers infrastructure

9

10

11

12

13 [EnableClientAccess] public class AuthenticationDomainService1 : AuthenticationBase {... } WebContext webContext = new WebContext(); webContext.Authentication = new FormsAuthentication(); //webContext.Authentication = new WindowsAuthentication(); this.ApplicationLifetimeObjects.Add(webContext);

14

15

16

17

18

19

20

21

22

23

24 foo1

25

26

27

28 IRevertibleChangeTracking HasChanges

29

30

31

32

33 Data Access Layer (DAL) App Logic Database View Web Service App Logic App Logic Trust Boundary

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48 Do Don’t

49

50

51

52

53

54

55

56

57

58

59


Download ppt "Data Access Layer (DAL) App Logic Database View Web Service App Logic App Logic Trust Boundary."

Similar presentations


Ads by Google