在vs2013下使用wcfRestservice40 是安装不成功的,尝试多遍,都是这样。查看以前vs2012做的wcfrest,经过调教,终于在vs2013下也可以了!

1.新建wcf服务应用程序

2.调制配置文件

<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</modules>
</system.webServer>
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
<standardEndpoints>
<webHttpEndpoint>
<!--
Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
via the attributes on the <standardEndpoint> element below
-->
<standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true"/>
</webHttpEndpoint>
</standardEndpoints> </system.serviceModel>
</configuration>

3.添加全局应用程序类 Global.asax

里面代码:

void Application_Start(object sender, EventArgs e)
{
RegisterRoutes();
} private void RegisterRoutes()
{
RouteTable.Routes.Add( new ServiceRoute("Service1", new WebServiceHostFactory(), typeof(Service1)));
//RouteTable.Routes.Add("test", new ServiceRoute("Service1", new WebServiceHostFactory(), typeof(Service1)));
}

4.新建Service1.cs类库 (以后作为服务的节点)

[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
public class Service1
{
[WebGet(UriTemplate = "")]
public List<SampleItem> GetCollection()
{
return new List<SampleItem>(){new SampleItem(){Id = ,StringValue = "Hello"}};
}
}
public class SampleItem
{
public int Id { get; set; }
public string StringValue { get; set; }
}

Service1

5.运行调试,

刚运行的时候aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAh0AAAEACAIAAACYolNoAAAfHElEQVR4nO3dy1MdSWLv8VzMcpaznOVs3Juz4S+wI27M0hN32hFelO9CK0c4HPb12PPqthTun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z2KzhdM8adRI/vlGmCmlkzzpp9KkhcsbOsfQETu9nzdXpIy1tEclc0WaEbvhK7H5SnIvNMaTfDu2cprIfAEmTMGwgdRckVfLlCvp85XYgB99MLiVJHYvQfmPU5IXdMpdiN8mVs6V8nEdtoZcifNd11EOsTUHL/JRn1AOSBNVE7MRaWHRZES3F6ffupM8O26oa1nipubywaPn++YBKDYFK7UV+xOD+B8cJO9IKp82iq++3DXl7oatX6FNblPl0Dm6v8CT73DzoltbS5W2t0eFbzvlzRzd1lA6HVS6yBCeM5UG3nB7xpaobqbY6mb/+UqK+Civ7COlDSGtcJC8ut02x3xFt5Wk2yld5W6CWEyof0UU6y4zFEvIFQCATeQKAMAmcgUAYBO5AgCwiVwBANhErgAAbCJXAAA2kSsAAJvIFQCATeQKAMAmcgUAYBO5AgCwiVwBANhErgAAbCJXAAA2kSsAAJvIFQCATeQKAMAmcgUAYBO5AgCwiVwBANhErgAAbHojudLV1fUxAKAi2c+Vr776ag0AUKns5woAoJKRKwAAm8gVAIBN5AoAwCZyBQBgE7kCALCJXAEA2ESuAABsIlcAADaRKwAAm8gVAIBN5AoAwCZyBQBgE7kCALCJXAEA2ESuAABsIlcAADaRKwAAm8gVAIBN5AoAwCZyBQBgE7kCALCJXAEA2ESuAABsIlcAADaRKwAAm8gVAIBN5AoAwCb7ufIxAKCCvZFcWQMAVKo3lSvWmwUA7ArkCgDApv8B/tlKExDZo8IAAAAASUVORK5CYII=" alt="" />

运行服务,在当前地址后面添加上面的服务节点

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUUAAABzCAIAAACAQocOAAASBUlEQVR4nO2d+VMbZ56H9cdsVWpcteXUerO1tbOp7KQqmWQmOzlxnMkS27Ed27HjsbETXxDI2I6NnWxlkmFsnBABAksIhC4kkAC1EBJIXLLuG12cQhJCF5Jagv1BILqlliy8BDvt71NPUfSrt99+m+pPv2+3WoIinprNKZrMOtM36e2d8ArH3AKVkz/q4Cls3GEzR2biyEzsISN7yNAtNb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vK8+b1+VwbQ0A2+Dx8kzBsfkyvianstRpoFQ5p3LrbKCv31v6ZhsAADl2cHwuyDk+iOXm+VHLAAAUYwfzzKksOZKWm2dOJSU/zzBCA0BZ7Oz4XGoghfEZAH5pyspzqYkzZklfvxcztOrr63Gj6raun3MlMDoDQPmU9TwJ5mr4Ec+Hbd2XxiUbd2GNyypROa4dCDMAlA08vw0A5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADkAfIMAOQB8gwA5AHyDADk4f8AiVhiNSGx08cAAAAASUVORK5CYII=" alt="" />

可以再路径后面添加“help/”查看服务的各个方法。

到此结束!

05-07 15:47