Hello, everybody!
I have created a WCF/WPF application. WCF is using Entity Framework to get data from database.
And on my local computer everything is working just fine.
But, how can I make this work in LAN? I have couple of computers in my home, so I wanted to work in this application on all of them.
This is how app.config from service look like:
="1.0"="utf-8"
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<system.web>
<compilation debug="true" />
</system.web>
<system.serviceModel>
<services>
<service name="ISKUService.Service1">
<host>
<baseAddresses>
<add baseAddress="http://localhost:8733/Design_Time_Addresses/ISKUService/Service1/" />
</baseAddresses>
</host>
<endpoint address="" binding="basicHttpBinding" contract="ISKUService.IService1">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="True" />
<serviceDebug includeExceptionDetailInFaults="False" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
</entityFramework>
</configuration>
Thanx!
What I have tried:
I have tried to change
<add baseAddress="http://localhost:8733/Design_Time_Addresses/ISKUService/Service1/" />
into
<add baseAddress="http://192.168.1.13:8733/Design_Time_Addresses/ISKUService/Service1/" />
This is the error that I get on the other computer:
https://s4.postimg.io/otyu519xp/error.jpg[
^]
but no luck...