69 lines
3.7 KiB
XML
69 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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>
|
|
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
|
|
</appSettings>
|
|
<system.web>
|
|
<compilation debug="true" />
|
|
</system.web>
|
|
<!-- When deploying the service library project, the content of the config file must be added to the host's
|
|
app.config file. System.Configuration does not support config files for libraries. -->
|
|
<system.serviceModel>
|
|
<services>
|
|
<service name="Service_Server.Service1">
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="http://localhost:8733/Design_Time_Addresses/Service_Server/Service1/" />
|
|
</baseAddresses>
|
|
</host>
|
|
<!-- Service Endpoints -->
|
|
<!-- Unless fully qualified, address is relative to base address supplied above -->
|
|
<endpoint address="" binding="basicHttpBinding" contract="Service_Server.IService1">
|
|
<!--
|
|
Upon deployment, the following identity element should be removed or replaced to reflect the
|
|
identity under which the deployed service runs. If removed, WCF will infer an appropriate identity
|
|
automatically.
|
|
-->
|
|
<identity>
|
|
<dns value="localhost" />
|
|
</identity>
|
|
</endpoint>
|
|
<!-- Metadata Endpoints -->
|
|
<!-- The Metadata Exchange endpoint is used by the service to describe itself to clients. -->
|
|
<!-- This endpoint does not use a secure binding and should be secured or removed before deployment -->
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|
</service>
|
|
</services>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior>
|
|
<!-- To avoid disclosing metadata information,
|
|
set the values below to false before deployment -->
|
|
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True" />
|
|
<!-- To receive exception details in faults for debugging purposes,
|
|
set the value below to true. Set to false before deployment
|
|
to avoid disclosing exception information -->
|
|
<serviceDebug includeExceptionDetailInFaults="False" />
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
</behaviors>
|
|
</system.serviceModel>
|
|
<entityFramework>
|
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
|
<parameters>
|
|
<parameter value="mssqllocaldb" />
|
|
</parameters>
|
|
</defaultConnectionFactory>
|
|
<providers>
|
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
|
</providers>
|
|
</entityFramework>
|
|
<connectionStrings>
|
|
<add name="Database_Model" connectionString="data source=(LocalDb)\MSSQLLocalDB;initial catalog=Service_Server.Database_Model;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
|
<add name="DBModelContainer" connectionString="metadata=res://*/Models.DBModel.csdl|res://*/Models.DBModel.ssdl|res://*/Models.DBModel.msl;provider=System.Data.SqlClient;provider connection string="data source=LAPTOP-S6N189QG;initial catalog=EHEC_DB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
|
|
</connectionStrings>
|
|
</configuration> |