Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation hint regarding factory and fileless service activation #385

Closed
mortenn opened this issue Feb 22, 2017 · 2 comments
Closed

Comments

@mortenn
Copy link

mortenn commented Feb 22, 2017

The documentation said to modify your svc files, but the same can be done in web.config:

<system.serviceModel>
  <serviceHostingEnvironment>
    <serviceActivations>
      <add factory="SimpleInjector.Integration.Wcf.SimpleInjectorServiceHostFactory,
            SimpleInjector.Integration.Wcf"
        service="Some.Namespace.API" relativeAddress="Some.Namespace.API.svc"/>
    </serviceActivations>
  </serviceHostingEnvironment>
</system.serviceModel>

This also allows for file-less service activation.

@dotnetjunkie
Copy link
Collaborator

That's a great suggestion. I'll take a look if I can add this to the documentation.

@dotnetjunkie
Copy link
Collaborator

Moved issue to the Documentation repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants