Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 26828, Simple WCF Example for Restful API

by John Moshakis Email: Anonymous


Example of an RestFull API using Windows Communication Foundation (WCF)
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Prism, Version 1.0  to 1.0 213 downloads
Copyright: No significant restrictions


Size: 3,509 bytes
Updated on Sun, 29 Mar 2009 13:53:05 GMT
Originally uploaded on Sun, 29 Mar 2009 13:53:04 GMT
SHA1 Hash: 1FECC2840FF58B3976B261CA70ACA8BCC353F939
MD5 Hash: 910DE1A5B3FA382961F17142E2DAF420

    Explore the files in this upload

Description
Currently in the new items folder for websites, "new webservice" is the only option for creating a service endpoint. The supplied website is an example using Windows Communication Foundation (WCF)

The service consists of three items.

A service file with the extension svc, the codebehind service.pas file in the App_Code directory and the system.serviceModel section in the web.config

The service description can be seen at

http://localhost:49178/WCFWebsite/Service.svc

It exposes a single method "SomeMethod" available at

http://localhost:49178/WCFWebsite/Service.svc/SomeMethod

The implementation for this method is in the .pas file in the App_Code directory

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04