473,789 Members | 2,397 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 so that no one can view the code of my .cs files.

My mail id ap****@gmail.co m

Waiting for response

Thanks

Regards,
Govardhan

Aug 8 '07 #1
1 1059
On Aug 8, 6:15 am, apondu <apo...@gmail.c omwrote:
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 so that no one can view the code of my .cs files.

My mail id apo...@gmail.co m

Waiting for response

Thanks

Regards,
Govardhan
Can you just use the publish wizard and deploy the application that
way? The publish wizard will pre-compile your application and compile
all code behind pages into a dll. Be warned a malicious user could
still use the MSIL Disassembler or Reflector and determine what your
code does, so you're not 100% safe.

Thanks,

Seth Rowe

Aug 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1093
by: Andrew S. Giles | last post by:
Hello everyone, I am trying to deploy a project, and I cannot get it to work. Does anyone have any ideas how I should be going about this, since the way I am attempting is obviously wrong. Here is the situation. I have the following things that need to be installed. Monitor - C# Windoes Forms application
2
1127
by: msnews.microsoft.com | last post by:
Hi Every Body, I build an application using vb.net. Now i m deploying on the client system. I know that the deployment automatically check the .net framework on the client system at startup. I include the .net framework in the deployment setup. I want that if the framework is not installed on the client system then my deployment wizared automatically install the framework which i include in the deployment package. How can i do this....
14
1194
by: Adrian Parker | last post by:
For deployment reasons, we don't want to have to install our large app on each network client manually; we'd like to have our users run a very small app on their clients that basically runs the main installer from a hidden share on the network. We want a server app that we can run somewhere that will be able to send the necessary info to the client apps. Okay, so the problem is that we don't want to have the users type in the address of...
3
1523
by: Kathy A. Hertzog | last post by:
Hello. My name is Kathy Hertzog. I am currently the president of Landlord Association.Com, Inc. which has a website for landlords at http://www.LandlordAssociation.Org. We require technical assistance to continue maintaining and updating our growing website business. We are looking for people who are skilled in HTML, ASP.net, database management (currently Access), scripting, search engine placement, connections with sites that accept...
0
1032
by: cashdeskmac | last post by:
I have a project to create a single click deployment program. Preferably an ASP.NET application that lists all server sites (development, release candidate etc) and each entry will have a deploy button. The code will build and deploy the solution. Any ideas? So far I have come up with devenv /rebuild to build the entire solution, but I am looking for ways of automatically sending the files (preferably with an msi for speed) to a server...
7
1745
by: Altemir | last post by:
SOME BACKGROUND: I am new to ASP.NET, but somehow managed to install a perfectly working ..aspx page on our production server that I compiled in Visual Studio. However, I recently needed to update it, so I first added a ".old" suffix to the MyPage.aspx, MyProject.dll, and global.asax files on the production server so I had a backup copy of the original files in case something went wrong. Indeed, something did go wrong when I installed...
3
1324
by: Patrick | last post by:
Hi All, I'm new to all this and I'm back for more help. I am working with global variables. I'm trying to make my xls just display the data for the defined <moorname>. In my example I am using the second set of elements C10AB. I can get it to just show the <moornamebut then it wants to write out all the values for both sets. How can I fix this. I would like my output to look like this;
1
994
by: apondu | last post by:
Hello friends.. I needed some help on ASP.Net web application along with its web service deployment I have a situation where i am not able to understand and confused a bit on how to proceed with the deployment. I have a Web Application and a Web Service associated with the Web Application and each of these have a ther own web.config files. Now i want to deploy both the application together but the problem is the there are database...
14
1613
by: Jeff | last post by:
Hello I'm teaching myself web programming in ASP.NET using freely available online resource and videos. It's going really well and I've built myself some personal web pages based on the Visual Studio 2005 personal website starter kit. I now want to take the next step and put these up on a public server but I'm getting confused by what services I need - in particular whether I need SQL services. I've developped in ASP.NET 2.0 and I'm...
0
9661
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9506
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10403
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6755
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4087
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2904
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.