I have an ASP.NET application that i deployed to a server by copying the project to the server and then configuring IIS.
What happens now is that i need to prevent the access to the code. Is there any way to do this?
Do i need to deploy in a different way or is there a way to somehow “encrypt” the code thus rendering it unreadable?
Regards,
Yes you should only publish.
inside Visual Studio, in solution explorer, right click on the web project and select publish.
this will create all you need to deploy ( pages, assemblies, resources…) but will not include the source code.