Presentation is loading. Please wait.

Presentation is loading. Please wait.

Aaron Skonnard President/CEO, Pluralsight SESSION CODE: ASI312.

Similar presentations


Presentation on theme: "Aaron Skonnard President/CEO, Pluralsight SESSION CODE: ASI312."— Presentation transcript:

1 Aaron Skonnard President/CEO, Pluralsight http://pluralsight.com SESSION CODE: ASI312

2 Simplified configuration DiscoveryRouting service WCF WebHttp Services Workflow Services (+ WS AppFabric) Advanced Features

3 Simplified Configuration

4

5 ......

6

7

8

9

10

11 Standard endpoint nameDescription mexEndpoint Defines a standard endpoint for MEX configured with IMetadataExchange for the service contract, mexHttpBinding as the default binding (you can change this), and an empty address. dynamicEndpoint Defines a standard endpoint configured to use WCF Discovery within a WCF client application. When using this standard endpoint, an address is not required because during the first call, the client will query for a service endpoint matching the specified contract and automatically connect to it for you. discoveryEndpoint Defines a standard endpoint that is pre-configured for discovery operations within a client application. The user needs to specify the address and the binding when using this standard endpoint. udpDiscoveryEndpoint Defines a standard endpoint that is pre-configured for discovery operations within a client application using the UDP binding at a multicast address. Derives from DiscoveryEndpoint. announcementEndpoint Defines a standard endpoint that is pre-configured for the announcement functionality of discovery. The user needs to specify the address and the binding when using this standard endpoint. udpAnnouncementEndpoint Defines a standard endpoint that is pre-configured for the announcement functionality over a UDP binding at a multicast address. This endpoint derives from announcementEndpoint. workflowControlEndpoint Defines a standard endpoint for controlling execution of workflow instances (create, run, suspend, terminate, etc). webHttpEndpoint Defines a standard endpoint configured with WebHttpBinding and WebHttpBehavior. Use to expose REST services. webScriptEndpoint Defines a standard endpoint configured with WebHttpBinding and WebScriptEnablingBehavior. Use to expose Ajax services.

12

13

14

15 Service Discovery

16 Clients can discover services on a local subnet (UDP-based) Clients can discover services on a larger "managed" network (beyond the local subnet) through a discovery proxy AdhocManaged

17

18

19

20

21

22 Routing Service

23 Client Service Router "filters"

24

25

26

27 WCF WebHttp Services

28 Automatic help page HTTP caching Message format selection HTTP “faults” WCF/ASP.NET routes REST project templates Various API extensions

29

30 [AspNetCacheProfile("CacheFor60Seconds")] [WebGet(UriTemplate=XmlItemTemplate)] [OperationContract] public Counter GetItemInXml() { return HandleGet(); } [AspNetCacheProfile("CacheFor60Seconds")] [WebGet(UriTemplate=XmlItemTemplate)] [OperationContract] public Counter GetItemInXml() { return HandleGet(); }

31 <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true"/> <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true"/>

32

33

34 private void RegisterRoutes() { WebServiceHostFactory factory = new WebServiceHostFactory(); RouteTable.Routes.Add(new ServiceRoute("Bookmarks", factory, typeof(BookmarkService))); RouteTable.Routes.Add(new ServiceRoute("Users", factory, typeof(UserService))); } private void RegisterRoutes() { WebServiceHostFactory factory = new WebServiceHostFactory(); RouteTable.Routes.Add(new ServiceRoute("Bookmarks", factory, typeof(BookmarkService))); RouteTable.Routes.Add(new ServiceRoute("Users", factory, typeof(UserService))); }

35

36

37 Workflow Services & Windows Server AppFabric see session #XXX

38

39

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

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

42

43 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

44

45


Download ppt "Aaron Skonnard President/CEO, Pluralsight SESSION CODE: ASI312."

Similar presentations


Ads by Google