185 lines
9.7 KiB
XML
185 lines
9.7 KiB
XML
<?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>
|
|
<configSections>
|
|
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
|
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
|
|
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
|
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
|
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
|
</sectionGroup>
|
|
</sectionGroup>
|
|
</sectionGroup>
|
|
</configSections>
|
|
|
|
<appSettings>
|
|
<add key="EmailTo" value="apetuhov@smartru.com"/>
|
|
<add key="EmailFrom" value="apetuhov@smartru.com"/>
|
|
<add key="CondoStatusChangedSubj" value="Condo status was changed"/>
|
|
<add key="CondoStatusChangedBodyTemplate" value="Condo name: $condo.OfficialName.\nDeactivated: $condo.Deactivated"/>
|
|
<add key="BoardMemberStatusChangedSubj" value="Board member status was changed"/>
|
|
<add key="BoardMemberStatusChangedBodyTemplate" value="Board member: $boardMember.FirstName $boardMember.LastName.\nCondo: $boardMember.Condo.OfficialName\nDeactivated: $boardMember.Deactivated"/>
|
|
<add key="BoardMemberNewSubj" value="New board member registered"/>
|
|
<add key="BoardMemberNewBodyTemplate" value="Board member: $boardMember.FirstName $boardMember.LastName.\nCondo: $boardMember.Condo.OfficialName\nDeactivated: $boardMember.Deactivated"/>
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="Taloyhtio.GeneralApi.MasterDB" connectionString="Data Source=(local);Initial Catalog=TaloyhtioMaster;User ID=sa;Password=sa" />
|
|
</connectionStrings>
|
|
|
|
<system.net>
|
|
<mailSettings>
|
|
<smtp deliveryMethod="Network">
|
|
<network host="" port="25" defaultCredentials="true" />
|
|
</smtp>
|
|
</mailSettings>
|
|
</system.net>
|
|
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5" />
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.web>
|
|
|
|
<system.codedom>
|
|
<compilers>
|
|
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
|
|
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
<providerOption name="CompilerVersion" value="v3.5"/>
|
|
<providerOption name="WarnAsError" value="false"/>
|
|
</compiler>
|
|
</compilers>
|
|
</system.codedom>
|
|
|
|
|
|
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<modules>
|
|
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
<add name="DependencyRegistrarModule" type="Taloyhtio.GeneralApi.Core.Infrastructure.Web.DependencyRegistrarModule, Taloyhtio.GeneralApi.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a8ed9213fa839242"/>
|
|
<add name="UnitOfWorkModule" type="Taloyhtio.GeneralApi.Core.Infrastructure.Web.UnitOfWorkModule, Taloyhtio.GeneralApi.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a8ed9213fa839242"/>
|
|
</modules>
|
|
<handlers>
|
|
<remove name="WebServiceHandlerFactory-Integrated"/>
|
|
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
|
|
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
|
|
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
</handlers>
|
|
</system.webServer>
|
|
|
|
<system.serviceModel>
|
|
|
|
<!-- Asp.net compatibility is required in order to have Hybrid caching for IUnitOfWork in StructueMap -->
|
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
|
|
|
|
<extensions>
|
|
<behaviorExtensions>
|
|
<add name="webAuthentication"
|
|
type="WcfRestContrib.ServiceModel.Configuration.WebAuthentication.BehaviorElement, WcfRestContrib, Version=1.0.6.120, Culture=neutral, PublicKeyToken=89183999a8dc93b5"/>
|
|
<add name="customWebHttp" type="Taloyhtio.GeneralApi.WcfService.CustomWebHttpBehaviorExtention, Taloyhtio.GeneralApi.WcfService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ecbf947198042521" />
|
|
|
|
</behaviorExtensions>
|
|
</extensions>
|
|
|
|
<!-- bindings -->
|
|
<bindings>
|
|
|
|
<basicHttpBinding>
|
|
<binding name="soapBinding">
|
|
<security mode="Transport">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
</binding>
|
|
</basicHttpBinding>
|
|
|
|
<webHttpBinding>
|
|
<binding name="webBinding">
|
|
<security mode="Transport">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
</binding>
|
|
</webHttpBinding>
|
|
|
|
</bindings>
|
|
|
|
<!-- behaviors -->
|
|
<behaviors>
|
|
|
|
<endpointBehaviors>
|
|
<!-- plain old XML with custom error handler -->
|
|
<behavior name="customPoxBehavior">
|
|
<customWebHttp/>
|
|
</behavior>
|
|
|
|
<!-- JSON -->
|
|
<behavior name="jsonBehavior">
|
|
<enableWebScript />
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
|
|
<serviceBehaviors>
|
|
<behavior name="defaultBehavior">
|
|
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
|
|
<serviceMetadata httpGetEnabled="true"/>
|
|
<!-- 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 -->
|
|
<serviceDebug includeExceptionDetailInFaults="true"/>
|
|
|
|
<webAuthentication
|
|
authenticationHandlerType="Taloyhtio.GeneralApi.WcfService.CustomAuthenticationHandler, Taloyhtio.GeneralApi.WcfService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ecbf947198042521"
|
|
usernamePasswordValidatorType="Taloyhtio.GeneralApi.WcfService.CustomCredentialsValidator, Taloyhtio.GeneralApi.WcfService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ecbf947198042521"
|
|
requireSecureTransport="false"
|
|
source="TaloyhtioIntegration"/>
|
|
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
</behaviors>
|
|
|
|
<services>
|
|
<service name="Taloyhtio.GeneralApi.WcfService.TaloyhtioIntegration" behaviorConfiguration="defaultBehavior">
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="https://TaloyhtioIntegrationWcf/TaloyhtioIntegration.svc" />
|
|
</baseAddresses>
|
|
</host>
|
|
<endpoint address="soap"
|
|
binding="basicHttpBinding"
|
|
bindingConfiguration="soapBinding"
|
|
contract="Taloyhtio.GeneralApi.WcfService.ITaloyhtioIntegration" />
|
|
<endpoint address="pox"
|
|
binding="webHttpBinding"
|
|
bindingConfiguration="webBinding"
|
|
behaviorConfiguration="customPoxBehavior"
|
|
contract="Taloyhtio.GeneralApi.WcfService.ITaloyhtioIntegration" />
|
|
<endpoint address="json"
|
|
binding="webHttpBinding"
|
|
bindingConfiguration="webBinding"
|
|
behaviorConfiguration="jsonBehavior"
|
|
contract="Taloyhtio.GeneralApi.WcfService.ITaloyhtioIntegration" />
|
|
</service>
|
|
</services>
|
|
|
|
|
|
</system.serviceModel>
|
|
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="NHibernate"
|
|
publicKeyToken="aa95f207798dfdb4"
|
|
culture="neutral" />
|
|
<bindingRedirect oldVersion="2.1.0.4000"
|
|
newVersion="2.1.2.4000" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|