|
使用ext.net,控件已经导入到工具箱中,现在需要在web.config文件中配置下,怎么配置啊,在网上找的貌似都不行,哪位老大能给指点下啊,我的项目中web.config文件代码如下:- <?xml version="1.0"?>
- <!--
- 有关如何配置 ASP.NET 应用程序的详细信息,请访问
- http://go.microsoft.com/fwlink/?LinkId=169433
- -->
- <configuration>
-
-
-
- <system.web>
- <compilation debug="true" targetFramework="4.5">
- <assemblies>
- <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
- </assemblies>
- </compilation>
- <httpRuntime targetFramework="4.5"/>
- </system.web>
- <connectionStrings>
- <add name="DB" connectionString="Data Source=.; Initial Catalog=MFDB;Integrated Security=True" providerName="System.Data.SqlClient"/>
- <add name="connectionString" connectionString="Server=.;Initial Catalog=MFDB;User ID=sa;Password=jieeyi;" providerName="System.Data.SqlClient"/>
- <add name="MFDBEntities" connectionString="metadata=res://*/Store.csdl|res://*/Store.ssdl|res://*/Store.msl;provider=System.Data.SqlClient;provider connection string="data source=.;initial catalog=MFDB;persist security info=True;user id=sa;password=jiyi;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient"/>
- </connectionStrings>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="BasicHttpBinding_IService1"/>
- <binding name="WebServiceSoap"/>
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://localhost:9746/Service1.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService1" contract="WcfService.IService1" name="BasicHttpBinding_IService1"/>
- <endpoint address="http://localhost:43022/WebService.asmx" binding="basicHttpBinding" bindingConfiguration="WebServiceSoap" contract="webservice.WebServiceSoap" name="WebServiceSoap"/>
- </client>
- </system.serviceModel>
- </configuration>
复制代码 |
|