Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2016, Mike Murach & Associates, Inc.

Similar presentations


Presentation on theme: "© 2016, Mike Murach & Associates, Inc."— Presentation transcript:

1 © 2016, Mike Murach & Associates, Inc.
Chapter 24 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

2 © 2016, Mike Murach & Associates, Inc.
Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

3 © 2016, Mike Murach & Associates, Inc.
Objectives (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

4 A WCF service that uses SOAP
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

5 A Web API Service that uses REST
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

6 © 2016, Mike Murach & Associates, Inc.
Advantages of SOAP © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

7 The New Project dialog box and the files and folders after adjusting
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

8 How to create a new WCF service application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

9 How to set up the folders and files for a Category service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

10 The ICategoryService interface
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

11 The ICategoryService interface (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

12 The CategoryService class
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

13 The CategoryService class (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

14 The WCF Test Client window
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

15 How to test a WCF service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

16 How to view information about a WCF service in a browser
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

17 The Edit Categories page of the WCF client web application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

18 The Edit Categories page in Insert mode
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

19 The Add Service Reference dialog box
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

20 How to have a client and service run simultaneously in IIS Express
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

21 How to add a web service reference to a web application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

22 C# code to use the WCF service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

23 © 2016, Mike Murach & Associates, Inc.
The data source and data-bound controls from the Edit Categories aspx file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

24 © 2016, Mike Murach & Associates, Inc.
The data source and data-bound controls from the Edit Categories aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

25 © 2016, Mike Murach & Associates, Inc.
The data source and data-bound controls from the Edit Categories aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

26 The New ASP.NET Project dialog box
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

27 How to start a new Web API service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

28 © 2016, Mike Murach & Associates, Inc.
How to adjust the initial files and folders for the Edit Categories page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

29 The CategoriesController.cs file
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

30 The CategoriesController.cs file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

31 HTTP verbs and corresponding methods and URLs in the Category service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

32 Testing the GET methods in a browser
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

33 How to test the GET methods of a Web API service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

34 How to view information about a Web API service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

35 A Categories page when jQuery is used to consume the Web API service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

36 The head element and the column divs that contain the category data
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

37 © 2016, Mike Murach & Associates, Inc.
The head element and the column divs that contain the category data (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

38 © 2016, Mike Murach & Associates, Inc.
The head element and the column divs that contain the category data (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

39 The JavaScript and jQuery in the webapi.js
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

40 The JavaScript and jQuery in the webapi.js (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

41 The JavaScript and jQuery in the webapi.js (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

42 A Categories page when C# is used to consume the Web API service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

43 The code-behind file for the page
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

44 The code-behind file for the page (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

45 Extra 24-1 Test and consume the Category WCF service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

46 Extra 24-1 Test and consume the Category WCF service (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

47 Extra 24-2 Test and consume the Categories Web API service
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

48 Extra 24-2 Test and consume the Categories Web API service (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015


Download ppt "© 2016, Mike Murach & Associates, Inc."

Similar presentations


Ads by Google