<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
http://go.microsoft.com/fwlink/?LinkId=301879
|
-->
|
<configuration>
|
<configSections>
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
</configSections>
|
<appSettings></appSettings>
|
<system.web>
|
<compilation debug="true" targetFramework="4.5" />
|
<httpRuntime targetFramework="4.5" />
|
|
</system.web>
|
<system.webServer>
|
|
<httpProtocol>
|
<customHeaders>
|
|
<add name="Access-Control-Allow-Origin" value="*" />
|
<add name="Access-Control-Allow-Headers" value="auth,ContentType,Content-Type,content-type,Authorization" />
|
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
|
|
</customHeaders>
|
</httpProtocol>
|
<handlers>
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
<remove name="OPTIONSVerbHandler" />
|
<remove name="TRACEVerbHandler" />
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
</handlers>
|
</system.webServer>
|
<entityFramework>
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
<parameters>
|
<parameter value="v11.0" />
|
</parameters>
|
</defaultConnectionFactory>
|
<providers>
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
</providers>
|
</entityFramework>
|
<connectionStrings>
|
|
<add name="dbModel" connectionString="data source=.;initial catalog=YrtWMS_Siemens2;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
|
</connectionStrings>
|
<system.serviceModel>
|
<bindings>
|
<basicHttpBinding>
|
<binding name="BasicHttpBinding_Iapitest" />
|
</basicHttpBinding>
|
</bindings>
|
<client>
|
<endpoint address="http://localhost:8733/Design_Time_Addresses/wcftest.wcf/apitest/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Iapitest" contract="sendToSap.Iapitest" name="BasicHttpBinding_Iapitest" />
|
</client>
|
</system.serviceModel>
|
</configuration>
|