© 2016, Mike Murach & Associates, Inc.

Slides:



Advertisements
Similar presentations
Murach’s JavaScript, C2© 2009, Mike Murach & Associates, Inc. Slide 1.
Advertisements

Murach’s JavaScript, C1© 2009, Mike Murach & Associates, Inc. Slide 1.
Chapter 1 Murach's JavaScript and jQuery, C1© 2012, Mike Murach & Associates, Inc.Slide 1.
Chapter 4 Murach's JavaScript and jQuery, C4© 2012, Mike Murach & Associates, Inc.Slide 1.
Murach's ASP.NET 4.5/C#, C3© 2013, Mike Murach & Associates, Inc.Slide 1.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2009, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2013, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2006, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
© 2010, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
© 2003, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
© 2017, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

© 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

© 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

© 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

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

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

© 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

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

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

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

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

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

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

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

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

© 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

© 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

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

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

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

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

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

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

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

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

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

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