DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 08 Aug 2007 03:13:46 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    apondu
          2    Kevin Spencer


Help Needed on ASP.Net Deployment   
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@gmail.com

Waiting for response

Thanks

Regards,
Govardhan
Date:Wed, 08 Aug 2007 03:13:46 -0700   Author:  

Re: Help Needed on ASP.Net Deployment   
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"  wrote in message 
news:1186568026.634670.129200@i38g2000prf.googlegroups.com...

> 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@gmail.com
>
> Waiting for response
>
> Thanks
>
> Regards,
> Govardhan
> 
Date:Wed, 8 Aug 2007 07:07:00 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us