Web.Config - create WCF REST Service and host in Windows Azure
来源:互联网 发布:笔记本外置光驱 知乎 编辑:程序博客网 时间:2024/06/06 15:48
In contract PlayerData is namespace and IService1 is ServiceContract we created in previous step. Finally configuration will be as below,
<system.serviceModel><behaviors><serviceBehaviors><behavior name="servicebehavior"><serviceMetadata httpGetEnabled="true"/><serviceDebug includeExceptionDetailInFaults="false"/></behavior></serviceBehaviors><endpointBehaviors><behavior name="restbehavior"><webHttp/></behavior></endpointBehaviors></behaviors><services><service name ="PlayerData.Service1" behaviorConfiguration ="servicebehavior" ><endpoint name ="RESTEndPoint"contract ="PlayerData.IService1"binding ="webHttpBinding"address =""behaviorConfiguration ="restbehavior"/></service></services><serviceHostingEnvironment multipleSiteBindingsEnabled="true" /></system.serviceModel>
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.Config - create WCF REST Service and host in Windows Azure
- web.config in WCF Rest
- How to create, host, test and consume a WCF Web Service
- Create an ASP.NET web app in Azure App Service
- Host WCF Service in WAS
- How to: Host a WCF Service in a Managed Windows Service
- Create and Pulish web service, call in Asp.net(Demo).
- How to create simple web service in VS2010, NOT WCF service
- code4fun:host wcf service just in time
- How to create (and deploy) a windows service in C# ?
- WCF (Windows Communication Foundation) Create & Implement a WCF Host
- WCF 、Web API 、 WCF REST 和 Web Service 的区别
- WCF、 Web API、 WCF REST 和 Web Service 的区别
- WCF 、Web API 、 WCF REST 和 Web Service 的区别
- WCF ,Web API , WCF REST 和 Web Service 的区别
- 使用windows service Host wcf服务
- 将WCF Rest应用发布到Windows Azure上
- Call WCF Rest Service without svc file and wcf configuration
- C#正则表达式
- Java代码编译和执行的整个过程
- 818
- 输入一个单向链表,输出该链表中倒数第k 个结点。链表的倒数第0个结点为链表的尾指针。
- 基本放大电路
- Web.Config - create WCF REST Service and host in Windows Azure
- svn实战-基于windows平台下SVN的安装与使用详细步骤
- java 反射入门
- C++ 三种继承方式
- 阿发
- 【Java】javac 编译源文件出现“锘缝ublic”、“非法字符: \65279”的乱码情况
- STL函数对象及函数对象适配器
- JVM基本结构
- XML的编程