Web.Config - create WCF REST Service and host in Windows Azure

In contract PlayerData is namespace and IService1 is ServiceContract we created in previous step. Finally configuration will be as below,























This is what all we need to do to create a WCF REST Service to be hosted on Windows Azure. Press F5 to run and test WCF Service Web Role in local development fabric. Make sure that you have set Windows Azure project as startup project.

你可能感兴趣的:(Web/桌面/系统研发,wcf,service,windows,rest,binding,web)