Torna al Thread

<?xml version="1.0"?> <configuration> <connectionStrings> <add name="ConnessioneSMS" connectionString="Data Source=localhost;Initial Catalog=ABC;Persist Security Info=True;User ID=xxxxx;Password=xxxxxx" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <compilation debug="true"/> </system.web> <!-- Quando si distribuisce il progetto della libreria di servizi, è necessario aggiungere il contenuto del file di configurazione al file app.config dell'host. System.Configuration non supporta i file di configurazione delle librerie. --> <system.serviceModel> <services> <service name="Wcf_SMS.Servizio" behaviorConfiguration="DefaultBehavior"> <endpoint address="" binding="wsHttpBinding" contract="Wcf_SMS.IServizio"> <identity> <dns value="localhost"/> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> <host> <baseAddresses> <add baseAddress="http://localhost:8732/Design_Time_Addresses/Wcf_SMS/Service1/"/> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="DefaultBehavior"> <serviceMetadata httpGetEnabled="True"/> <serviceDebug includeExceptionDetailInFaults="False"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5