Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <configuration>
- <appSettings>
- <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
- </appSettings>
- <system.web>
- <compilation debug="true" targetFramework="4.8" />
- <httpRuntime targetFramework="4.8" />
- </system.web>
- <system.serviceModel>
- <extensions>
- <behaviorExtensions>
- <add name="corsBehavior" type="WebHttpBehaviorExtensions.Cors.EnableCorsBehavior, WebHttpBehaviorExtensions, Version=1.0.0.0, Culture=neutral"/>
- </behaviorExtensions>
- </extensions>
- <bindings>
- <webHttpBinding>
- <binding name="webHttpBindingWithJsonP" crossDomainScriptAccessEnabled="true" />
- </webHttpBinding>
- </bindings>
- <behaviors>
- <serviceBehaviors>
- <behavior name="Accesio.WebApi.WebScanner.WebBehavior">
- <serviceMetadata httpGetEnabled="true" />
- <serviceDebug includeExceptionDetailInFaults="false" />
- </behavior>
- </serviceBehaviors>
- <endpointBehaviors>
- <behavior name="webHttpServiceBehavior">
- <corsBehavior/>
- <webHttp/>
- </behavior>
- </endpointBehaviors>
- </behaviors>
- <services>
- <service behaviorConfiguration="Accesio.WebApi.WebScanner.WebBehavior" name="Accesio.WebApi.WebScanner.ScanService">
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:7890/WebScanning/service" />
- </baseAddresses>
- </host>
- <endpoint address="" binding="webHttpBinding" contract="Accesio.WebApi.WebScanner.IScanService" bindingConfiguration="webHttpBindingWithJsonP" behaviorConfiguration="webHttpServiceBehavior" />
- </service>
- </services>
- <protocolMapping>
- <add binding="basicHttpsBinding" scheme="https" />
- </protocolMapping>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
- </system.serviceModel>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true" />
- <directoryBrowse enabled="true" />
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="RabbitMQ.Client" publicKeyToken="89e7d7c5feba84ce" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>
Add Comment
Please, Sign In to add comment