Déploiement application Silverlight 4 iis 6.0 et windows server 2003
Bonjour tout le monde je souhaiterais deployer mon application silverlight 4, tout fonctionne lorsque je teste en local, par contre je trouve que mon web.config est bizarre par rapport a ceux que je peux trouver sur le net en effet je n'ai pas de endpoint.
Voici mon web.config
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| <?xml version="1.0"?>
<configuration>
<connectionStrings>
<add name="BDDConnectionString1" connectionString="Data Source=****;Initial Catalog=****;Persist Security Info=True;User ID=****;Password=****"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<httpRuntime executionTimeout="999999" maxRequestLength="2097151"/>
<compilation debug="true"/>
<identity impersonate="true"/>
<!--possibilité d'ajouter des infos pour forcer l'execution dans un contexte donné ex : userName="TOTO" password="titi"-->
<authentication mode="Windows"/>
<customErrors mode="Off"/>
</system.web>
<system.codedom>
</system.codedom>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration> |
j'ai egalement trouvé dans ma solution un fichier nommé ServiceReference.ClientConfig celui ci contient des endpoints
voici le code :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IServiceWCF" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>
<binding name="BasicHttpBinding_IServiceWCF1" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:3310/ServiceWCF.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IServiceWCF" contract="MonService.IServiceWCF"
name="BasicHttpBinding_IServiceWCF" />
<endpoint address="http://localhost:3187/ServiceWCF.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IServiceWCF1" contract="ServiceWCF.IServiceWCF"
name="BasicHttpBinding_IServiceWCF1" />
</client>
</system.serviceModel>
</configuration> |
Est ce que quelqu'un pourrait m'aider a comprendre?