Freigeben über


[Sample Of Jan 8th] How to use RESTful WCF Service in .NET application

 

Homepage image
RSS Feed

Sample Download : https://code.msdn.microsoft.com/How-to-use-RESTful-WCF-e5e8d405

This code sample demonstrates how to use RESTful WCF Service in .NET application. REST defines an architectural style based on a set of constraints for building things the "Web" way. REST is not tied to any particular technology or platform – it's simply a way to design things to work like the "Web". People often refer to services that follow this philosophy as "RESTful services." In this sample, we'll cover the fundamental REST design principles and show you how to build a RESTful service with Windows Communication Foundation (WCF), and with "Get/Post/Put/Delete" request in the ASPNET MVC client. You can find the answers to all the following questions in the code sample:

•         How to define a RESTful WCF service with "Get/Post/Put/Delete"?

•         How to use HttpWebRequest to invoke a RESTful WCF service?

 

imageYou can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage https://1code.codeplex.com/.