Here is what our web.config file looks like:
<?
xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<
configuration>
<
appSettings/>
<
connectionStrings>
<
add name="TestSite.Reports.Properties.Settings.TestDatabase" connectionString="Data Source=test\sqlexpresscreate;Initial Catalog=TestDatabase;Persist Security Info=True;User ID=testuser;Password=test123" providerName="System.Data.SqlClient" />
</
connectionStrings>
<
system.web>
<
compilation debug="false" targetFramework="4.0" />
<
authentication mode="Windows"/>
<
authorization>
<
allow roles="Domain\Group1,Domain\Group2,Domain\Group3" />
<
deny users="*" />
</
authorization>
</
system.web>
<
system.serviceModel>
<
bindings>
<
webHttpBinding>
<
binding name="webHttpBinding">
<
security mode="Transport">
<
transport clientCredentialType="Windows" proxyCredentialType="None"/>
</
security>
</
binding>
</
webHttpBinding>
<
wsHttpBinding>
<
binding name="wsHttpBinding">
<!--
FOR SECURE-HTTPS -->
<
security mode="Transport">
<
transport clientCredentialType="Windows" proxyCredentialType="None"/>
</
security>
<!--
FOR NORMAL (DO NOTHING)-->
</
binding>
</
wsHttpBinding>
</
bindings>
<
behaviors>
<
serviceBehaviors>
<
behavior name="AllMyServiceBehaviors">
<
serviceMetadata httpsGetEnabled="true" httpsGetUrl=""/>
<!--
FOR NORMAL <serviceMetadata httpGetEnabled="true" /> -->
<
serviceDebug includeExceptionDetailInFaults="true"/>
</
behavior>
</
serviceBehaviors>
<
endpointBehaviors>
<
behavior name="scriptEndPointBehavior">
<
webHttp/>
<
enableWebScript/>
</
behavior>
</
endpointBehaviors>
</
behaviors>
<
services>
<
service name="Site.Web.SiteService" behaviorConfiguration="AllMyServiceBehaviors">
<
endpoint bindingNamespace="site.sitesite.org.services" address="wsHttpBinding" binding="wsHttpBinding" contract="PPD.Web.IPPDService" bindingConfiguration="wsHttpBinding">
</
endpoint>
</
service>
<
service name="Telerik.Reporting.Service.ReportService" behaviorConfiguration="AllMyServiceBehaviors">
<
endpoint bindingNamespace="site.sitesite.org.services" address="wsHttpBinding" binding="wsHttpBinding" contract="Telerik.Reporting.Service.IReportService" bindingConfiguration="wsHttpBinding">
</
endpoint>
</
service>
</
services>
<
serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
</
system.serviceModel>
</
configuration>