Web.config 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Pour plus d'informations sur la configuration de votre application ASP.NET, consultez
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. </configSections>
  11. <connectionStrings>
  12. <add name="AnnuaireEntities" connectionString="metadata=res://*/ModeleAnnuaire.csdl|res://*/ModeleAnnuaire.ssdl|res://*/ModeleAnnuaire.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.\sqlexpress;initial catalog=Annuaire;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  13. </connectionStrings>
  14. <system.web>
  15. <compilation debug="true" targetFramework="4.6.1" />
  16. <httpRuntime targetFramework="4.6.1" />
  17. </system.web>
  18. <system.codedom>
  19. <compilers>
  20. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
  21. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  22. </compilers>
  23. </system.codedom>
  24. <system.serviceModel>
  25. <behaviors>
  26. <serviceBehaviors>
  27. <behavior name="">
  28. <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
  29. <serviceDebug includeExceptionDetailInFaults="false" />
  30. </behavior>
  31. </serviceBehaviors>
  32. </behaviors>
  33. <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  34. </system.serviceModel>
  35. <entityFramework>
  36. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  37. <providers>
  38. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  39. </providers>
  40. </entityFramework>
  41. </configuration>