473,513 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment Question

In consideration of protecting intellectual property, when deploying an
ASP.NET application, do I have to deploy all of the code-behind files?
(e.g., default.aspx.cs), or can I simply deploy the ASPX and ASCX files,
with all the code from all code-behind files compiled into an obfuscated
assembly? I need to know the minimum number of files I need to distribute.
What about .ascx files and their associated code-behind files?

Thanks.
Nov 18 '05 #1
2 1570
Hi There Jeff,

The code-behind files are compiled into a dll which can be found in the bin
dir of your application. So basicly the .aspx files and the dll in the bin
dir would be enough to run your app.

Though there is an option in VS.NET to do this for you:

Use the option "Copy project" from the VS.NET project menu and then specify
"Only files needed to run this application".

Hope it helps,

Gerben van Loon.

"Jeff S" <Ya*****@OkeyDokey.com> wrote in message
news:OW*************@tk2msftngp13.phx.gbl...
In consideration of protecting intellectual property, when deploying an
ASP.NET application, do I have to deploy all of the code-behind files?
(e.g., default.aspx.cs), or can I simply deploy the ASPX and ASCX files,
with all the code from all code-behind files compiled into an obfuscated
assembly? I need to know the minimum number of files I need to distribute.
What about .ascx files and their associated code-behind files?

Thanks.

Nov 18 '05 #2
Jeff S wrote:
In consideration of protecting intellectual property, when deploying an
ASP.NET application, do I have to deploy all of the code-behind files?
(e.g., default.aspx.cs), or can I simply deploy the ASPX and ASCX files,
with all the code from all code-behind files compiled into an obfuscated
assembly? I need to know the minimum number of files I need to distribute.
What about .ascx files and their associated code-behind files?

Thanks.


There's an obfuscator in VS.NET 2003 I believe, but not really
rock-solid in my mind. If you need more protection, seek out 3rd party
obfuscators.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #3

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

Similar topics

6
2010
by: Paul | last post by:
Hello everyone: I am developing a VB.Net Windows Application and I am now ready to create the deployment project for it. This application needs to be installable on a different number of users...
0
1032
by: Bob Curry | last post by:
I have a pretty simple project (C++) which I'm trying to deploy using a VS.NET deployment project. The problem I'm having is that when the deployment project is executing, it finds a previous...
4
3805
by: Thornmastr | last post by:
Good Afternoon, I need to distribute an application which includes the run time files for Access 2002. I do have the Office XP Developer CD’s. The application itself is written in VB 6 with an...
3
293
by: Jim Owen | last post by:
Hi All, I'm putting together my first web deployment project using VS2003 and have a few questions someone might be able to help on. First, I need to modify the web.config file based on entries...
1
650
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
399
by: Steve | last post by:
Does anyone know where I could find a walkthrough on setup and deployment. I want to distribute an application I wrote. I want it to have a liscense agreement show up during the istallation. I am...
7
2820
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
3
264
by: Ant | last post by:
Hi, Is there a newsgroup here committed to deployment (specifically using setup & deployment projects)? Are there any good MS press books on the subject? Thanks very much for any clues Ant
10
2990
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
1
2561
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
0
7157
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...
0
7379
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,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7521
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5084
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...
0
4745
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...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
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 ...
0
455
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...

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.