Click here to Skip to main content
15,921,028 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i made a web application in asp.net and C#. i want to make its coding complex or hidden before giving to my client. can anyone please guide me hot to do this??
Posted
Comments
[no name] 30-Jul-12 22:47pm    
If you really think that you need to do this then you need an obfuscator.
Sergey Alexandrovich Kryukov 30-Jul-12 23:07pm    
Obfuscator of what?
--SA

The situation is very simple: what happens on the server part, does not need any protection, because it does not even exist, from the client's point of view. And everything on the client part is always fully open, by definition. The server part is used to generate the content which is downloaded to the client side fully. Before you try to do anything, the user already has it. So, you cannot hide anything on the client part.

However, you can obfuscate it, but thing twice about it: why? Do you think you have some important know how that anyone would bother to copy? Anyway, if you have such secret stuff, think about implementing it on the server side.

—SA
 
Share this answer
 
Hi,
You can just publish your website before giving it to your client.
Follow the steps given in this link:
MSDN : Walkthrough: Deploying a Web Site Project by Using the Publish Web Site Tool[^]
MSDN : How to: Deploy a Web Site Project by Using the Publish Web Site Tool[^]

--Amit
 
Share this answer
 
v2
If you are creating a web application instead of website
Go to build -> Publish

This option will make your code as dll file ie your website only contains aspx page + one dll in your bin folder there should not be any aspx.cs file
 
Share this answer
 
v2
If you dont want to show the code to the client, you can precompile your website. It will turn all your C# or VB code into a DLL. If your client is not smart enough to decompile them, your source is safe.

For more information on precompilation, check out the following MSDN article:

Precompilation Overview[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900