Re: Help Needed on ASP.Net Deployment

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



How do expect anyone to be able to view the code in the .cs files? They
cannot be requested by a browser if the web server is configured correctly.
OTOH, you could compile them to an assembly, put it in a bin folder and
deploy that instead.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"apondu" <apondu@xxxxxxxxx> wrote in message
news:1186568026.634670.129200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Friends...

I have a simple query on building the Web Setup project.
When i build my setup, i see that the code behind the .aspx pages (.cs
code pages) are also included. And when i deploy the project i can see
that even those code files are also deployed on the machine and the
code with in those .cs files can be seen ( read-only format). But i
want the code to be hidden, either those code files should not be
deployed ot they should atleast be encrypted so that my code is safe
and no one can see the code.

Can anyone please help me in achieving this.

Steps i followed in building the Web Project Setup :

1. Add new project from the file menu to my existing project.
2. Selected the Setup and Deployment - > Web Setup Project
3. On file system Editor -> right click on web application folder ->
Add Project Output ->
ContentFiles selected.
4. In Properties Window of File System Editor i set the read only
properties
5. Build the Project.

These are the steps i followed.

Can anyone please help me, and let me know what are the changes i need
to do to protect my code from being included in the web set or
atleast be encrypted sp that no one can view the code of my .cs files.

My mail id apondu@xxxxxxxxx

Waiting for response

Thanks

Regards,
Govardhan



.



Relevant Pages

  • Re: Help Needed on ASP.Net Deployment
    ... use from .NET command line aspnet_compiler command utility ... Selected the Setup and Deployment -> Web Setup Project ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.general)
  • Help Needed on ASP.Net Deployment
    ... Selected the Setup and Deployment -> Web Setup Project ... In Properties Window of File System Editor i set the read only ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.framework)
  • Help Needed on ASP.Net Deployment
    ... Selected the Setup and Deployment -> Web Setup Project ... In Properties Window of File System Editor i set the read only ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.framework.aspnet)
  • Help Needed on ASP.Net Deployment
    ... Selected the Setup and Deployment -> Web Setup Project ... In Properties Window of File System Editor i set the read only ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.general)
  • Help Needed on ASP.Net Deployment
    ... Selected the Setup and Deployment -> Web Setup Project ... In Properties Window of File System Editor i set the read only ... to do to protect my code from being included in the web set or ...
    (microsoft.public.dotnet.languages.csharp)