简体   繁体   中英

Is it possible to create a DLL of WCF Service which having webHttpBinding

I have searched over internet but did not get any specific answer or i say a satisfied answer that how can we make DLL of a WCF Service which is having webHttpBinding in its web.Config file.

I have a WCF Service which i want to deploy on client's server but i dont want them to see my code as if i host this service on their server they will able to see my code and i don't want that.

This Service responses in JSON Format which can be access only through URL. so how to create a dll of this service and then host this on Server.

1) A DLL does not have a web.config or any other .config.

2) Deploying a Service as a DLL does not prevent anyone from seeing the (disassembled) code.

3) You may be able to configure your service in code, but only when it's self-hosting. Which would usually be as an EXE, a DLL needs something else to host it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM