Advertisement
loonerz

web.config

Jan 15th, 2013
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.   <configSections>
  4.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  5.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6.   </configSections>
  7.   <system.diagnostics>
  8.     <trace>
  9.       <listeners>
  10.         <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
  11.           <filter type="" />
  12.         </add>
  13.       </listeners>
  14.     </trace>
  15.   </system.diagnostics>
  16.   <system.web>
  17.     <compilation debug="true" targetFramework="4.0">
  18.       <assemblies>
  19.         <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  20.       </assemblies>
  21.     </compilation>
  22.     <machineKey decryption="AES" decryptionKey="F7FA540B4DFD82E5BB196B95D15FF81FD78C47C99F0B346D73B223D951082E50" validation="SHA1" validationKey="D78C47C99F0B346D73B223D951082E50E49253299DE62168764FF0DCE537184F0535D5D9AD66DEDCD78C47C99F0B346D73B223D951082E50E492532997DC1ABF" />
  23.   </system.web>
  24.   <system.serviceModel>
  25.     <behaviors>
  26.       <serviceBehaviors>
  27.         <behavior name="servicebehavior">
  28.           <!-- To avoid disclosing metadata information, set the value below to false before deployment -->
  29.           <serviceMetadata httpGetEnabled="true" />
  30.           <!-- 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 -->
  31.           <serviceDebug includeExceptionDetailInFaults="true" />
  32.         </behavior>
  33.       </serviceBehaviors>
  34.       <endpointBehaviors>
  35.         <behavior name="restbehavior">
  36.           <webHttp defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json" />
  37.         </behavior>
  38.       </endpointBehaviors>
  39.     </behaviors>
  40.     <services>
  41.       <service behaviorConfiguration="servicebehavior" name="RestServices.Service1">
  42.         <endpoint address="" behaviorConfiguration="restbehavior" binding="webHttpBinding" name="RESTEndPoint" contract="RestServices.ISismosService" />
  43.       </service>
  44.     </services>
  45.     <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  46.   </system.serviceModel>
  47.   <system.webServer>
  48.     <httpProtocol>
  49.       <customHeaders>
  50.         <add name="Access-Control-Allow-Origin" value="*" />
  51.       </customHeaders>
  52.     </httpProtocol>
  53.     <modules runAllManagedModulesForAllRequests="true" />
  54.     <!--
  55.        To browse web app root directory during debugging, set the value below to true.
  56.        Set to false before deployment to avoid disclosing web app folder information.
  57.    -->
  58.     <directoryBrowse enabled="true" />
  59.   </system.webServer>
  60.   <entityFramework>
  61.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  62.       <parameters>
  63.         <parameter value="v11.0" />
  64.       </parameters>
  65.     </defaultConnectionFactory>
  66.   </entityFramework>
  67.   <connectionStrings>
  68.     <add name="Model1Container" connectionString="metadata=res://*/Sismos.csdl|res://*/Sismos.ssdl|res://*/Sismos.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=owzh5p58k0.database.windows.net;initial catalog=Sismos;persist security info=True;user id=root_manager;password=Fishfish2012;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  69.   </connectionStrings>
  70.   <runtime>
  71.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  72.       <dependentAssembly>
  73.         <assemblyIdentity name="Microsoft.Owin.Host.SystemWeb" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  74.         <bindingRedirect oldVersion="0.0.0.0-1.0.0.0" newVersion="1.0.0.0" />
  75.       </dependentAssembly>
  76.     </assemblyBinding>
  77.   </runtime>
  78. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement