You can do as other have pointed out.  However, there is no way to really
"hide" your .Net code.  Any developer can disassemble the compiled code and
recreate it.

Just do a Google search:
http://www.google.com/search?q=.net+disassembler

MS gives developers their own disassembler and there are other really good
ones out there too.

If you have "top secret" code that you do not want someone to USE without
permission, use a license agreement to restrict the usage of your code.
There is really no other good way to protect your source code.


On Mon, Apr 6, 2009 at 1:55 AM, sara <[email protected]> wrote:

>
> Hi,
>
> I have a webservice implemented in csharp.
> public class Service : System.Web.Services.WebService{
> ....
> }
> It consists of multiple csharp files located in a folder called
> App_Code. I want to give this webservice to someone so that he can
> call some of its methos but do not want him to see the source codes.
> Is there anyway to turn the code into .exe file, dll or any format
> other than its original csharp and then give it away?
>
> Thanks a lot,
> Sara
>

Reply via email to