-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
Not an issue but a clarification.
How do you implement self-hosted exactly?
Add an endpoint to your App.config file.
is this in a new file called App.config? I notice that fresh WCF project doesn't have App.config
<services>
<service name="SwaggerWcf.SwaggerWcfEndpoint">
<endpoint address="http://localhost/docs" binding="webHttpBinding" contract="SwaggerWcf.ISwaggerWcfEndpoint" />
</service>
</services>
And create a WebServiceHost
Create a WebServiceHost
var swaggerHost = new WebServiceHost(typeof(SwaggerWcfEndpoint));
swaggerHost.Open();where do you put this line above?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels