10 Ways to Build Web Services in .NET
Using 10 different web frameworks and client libraries to build and use web services in .NET
What you'll learn
With the new-found popularity of single-page applications, smartphone applications, and multi-device experiences, web services are becoming increasingly important in the infrastructure of the web and applications. This course will present a few different ways that web services may be created within the .NET framework, ranging from ASMX web services all the way to MVC4 Web API. We will also look at a handful of options available to connect to those web services from a client application. Both Microsoft.NET framework as well as open source options will be explored.
Table of contents
- Introduction 5m
- Understanding WCF AJAX Configuration 3m
- WCF AJAX WebGet Attributes 3m
- Our First WebGet Method 2m
- Passing Parameters Into WebGet Methods 2m
- Creating and Testing WebInvoke Methods 4m
- Sending Exception Details to The Client 2m
- Some Minor Refactoring 1m
- WebInvoke With A Simple Parameter 1m
- Sending XML Instead of JSON 1m
- The Generated JavaScript Proxy Library 1m
- Creating an ASP.NET Web Form Client 5m
- Calling A WebInvoke Method From The JavaScript Client 2m
- Handling Errors From The JavaScript Client 2m
- Review 3m
- Introduction 3m
- Understanding WCF REST Configuration 4m
- Our First WebGet Method and DataContract 2m
- Disabling The WCF Test Client 1m
- Passing Parameters Through The URI Template 3m
- Our First WebInvoke Method and Testing with Fiddler2 4m
- Our First WebInvoke Method Using PUT 2m
- WebInvoke with DELETE 1m
- Returning Data in Different Formats 2m
- Connecting using WebClient and Deserializing JSON 3m
- Deserializing XML 3m
- Connecting to our Web Service Using HttpWebRequest 5m
- Updating on The Client Using HttpWebRequest 2m
- Deleting from The Client 3m
- Review 3m
- Introduction 3m
- Understanding WCF Data Service Configuration 2m
- WCF Data Services with ADO.NET Entity Data Models 3m
- Querying Data with OData 4m
- Creating, Updating and Deleting Data with OData 5m
- Retrieving Data with A Custom Data Source Object 2m
- Creating Data with A Custom Data Source Object 6m
- Updating Data with A Custom Data Source Object 3m
- Deleting Data with A Custom Data Source Object 1m
- Extra Methods in IUpdatable 2m
- Reading Data Through A Service Reference 2m
- Filtering Data Through A Service Reference 1m
- Debugging Service Reference Calls with Fiddler2 1m
- Creating, Updating and Deleting Data Through A Service Reference 2m
- Review 5m
- Introduction 3m
- Understanding MVC3 Configuration 6m
- First Controller and Action Method 4m
- Action Method with Parameter 2m
- Action Method with JSON Data 3m
- Action Method with PUT and DELETE Verbs 2m
- Return XML with Action Filter 8m
- Return XML with Custom ActionResult 4m
- Fetching Data with HttpClient 4m
- Sending Data with HttpClient 3m
- PUT and DELETE with HttpClient 2m
- Review 5m
- Introduction 3m
- Understanding MVC4 Configuration 3m
- Creating an ApiController and Get Method 4m
- Automatic Content Negotiation with Accept 1m
- A Get Method with A Route Parameter 1m
- Post Method with JSON Data 2m
- Put Method with JSON Data 1m
- Delete Method with Route Parameter 1m
- Automatically Generated API Docs 4m
- Using EasyHTTP to Recieve Data 3m
- Using EasyHTTP to Send Data 3m
- Review 4m
- Introduction 4m
- Install and Configure FubuMVC 5m
- Create our First Endpoint 2m
- An Endpoint with A Route Parameter 3m
- Create and Update with Request Models 4m
- Delete Requests 1m
- Creating and Adding our Own Behavior 7m
- Getting Data Using Spring.NET REST Client 3m
- Getting Data with A Route Parameter 2m
- Sending Data Using Spring.NET REST Client 3m
- Review 4m
- Introduction 3m
- Install and Configure Service Stack 5m
- Create our First Request and Service 4m
- A Request with A Route Parameter 3m
- A Request with JSON 4m
- Reusing Request objects 2m
- Routes with Multiple Verbs 2m
- Getting Data Using ServiceStack Client 4m
- Sending Data Reusing A Request Object 2m
- Getting Raw String Data from A Response 2m
- Getting The HttpWebResponse from The Client 1m
- Review 4m
- Introduction 2m
- Installing Nancy from NuGet 1m
- Create A NancyModule and Endpoint 3m
- An Endpoint with A Route Parameter 2m
- Binding Request Data to A Model 3m
- Updating Data and Root Routes 2m
- Returning A Specific HTTP Status Code 1m
- Getting Data Using RestSharp 2m
- Using A Route Parameter in RestSharp 1m
- Sending Data to The Server in RestSharp 2m
- Checking The Status Code of A Response 1m
- Review 4m