Commit e302dffd authored by Johan Vervloet's avatar Johan Vervloet

Closes #5661 - Lifetime van data access moet samenvallen met lifetime van service instance.

parent f6deebc2
......@@ -34,13 +34,13 @@
</register>-->
<!-- repositoryprovider -->
<register type="Chiro.Cdf.Poco.IContext, Chiro.Cdf.Poco" mapTo="Chiro.Gap.Poco.Context.ChiroGroepEntities, Chiro.Gap.Poco.Context">
<lifetime type="PerOperationContext"/>
<lifetime type="PerInstanceContext"/>
</register>
<register type="Chiro.Cdf.Poco.IRepositoryProvider, Chiro.Cdf.Poco" mapTo="Chiro.Cdf.Poco.RepositoryProvider, Chiro.Cdf.Poco">
<lifetime type="PerOperationContext"/>
<lifetime type="PerInstanceContext"/>
</register>
<register type="Chiro.Cdf.Poco.IRepository`1, Chiro.Cdf.Poco" mapTo="Chiro.Cdf.Poco.Repository`1, Chiro.Cdf.Poco">
<lifetime type="PerOperationContext"/>
<lifetime type="PerInstanceContext"/>
</register>
<!-- authenticatie -->
<register type="Chiro.Cdf.Authentication.IAuthenticator, Chiro.Cdf.Authentication" mapTo="Chiro.Cdf.Authentication.Backend.BackendAuthenticator, Chiro.Cdf.Authentication.Backend">
......@@ -218,7 +218,7 @@
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="false"/>
<serviceDebug httpsHelpPageEnabled="false" includeExceptionDetailInFaults="true"/>
<serviceThrottling/>
<unity operationContextEnabled="true" instanceContextEnabled="false"/>
<unity operationContextEnabled="true" instanceContextEnabled="true"/>
</behavior>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment