It seems like, the way ASP.NET 2.0 works, I should be able to build a
pre-compiled version of my site so that none of the code of the site would be
accessible by the people for whom I developed it.
If I've built a site in VS 2005 that has lots of ASPX files, a few ASCX
files, both with .CS code-behinds, and a bunch of class files in the APP_CODE
directory, is there a way to "build" the site and obscure it's files and
parts as much as possible?
My primary desire is to pre-compile all of the .CS code-behind files and
APP_CODE class files. But I'd even like it if the ASPX files themselves were
somehow pulled in. From what I've read, the objects that are JIT compiled in
ASP.NET do actually include the body of the ASPX HTML as well, right? So is
there a way to "deploy" the site without even including the ASPX text files?
Alex 2 1168
What tool are you using to develop? If it's VS.Net 2005 then you can use the
publish site feature and select only the items needed to run the site (ie:
maintain an editable version and keep the ASPX pages). You can also set it
to be non-editable, which means everything is compiled into a dll, including
the html though I have never used this facility.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"Alex Maghen" <Al********@new sgroup.nospam> wrote in message
news:5C******** *************** ***********@mic rosoft.com... It seems like, the way ASP.NET 2.0 works, I should be able to build a pre-compiled version of my site so that none of the code of the site would be accessible by the people for whom I developed it.
If I've built a site in VS 2005 that has lots of ASPX files, a few ASCX files, both with .CS code-behinds, and a bunch of class files in the APP_CODE directory, is there a way to "build" the site and obscure it's files and parts as much as possible?
My primary desire is to pre-compile all of the .CS code-behind files and APP_CODE class files. But I'd even like it if the ASPX files themselves were somehow pulled in. From what I've read, the objects that are JIT compiled in ASP.NET do actually include the body of the ASPX HTML as well, right? So is there a way to "deploy" the site without even including the ASPX text files?
Alex
Hi Alex,
You want the Web Application Projects add-on: http://msdn.microsoft.com/asp.net/re...p/default.aspx
"Web Application Projects provide a companion web project model that can be
used as an alternative to the built-in Web Site Project in Visual Studio
2005."
Also, use an obfuscator to deter reverse engineering of your code.
Ken
Microsoft MVP [ASP.NET]
"Alex Maghen" <Al********@new sgroup.nospam> wrote in message
news:5C******** *************** ***********@mic rosoft.com... It seems like, the way ASP.NET 2.0 works, I should be able to build a pre-compiled version of my site so that none of the code of the site would be accessible by the people for whom I developed it.
If I've built a site in VS 2005 that has lots of ASPX files, a few ASCX files, both with .CS code-behinds, and a bunch of class files in the APP_CODE directory, is there a way to "build" the site and obscure it's files and parts as much as possible?
My primary desire is to pre-compile all of the .CS code-behind files and APP_CODE class files. But I'd even like it if the ASPX files themselves were somehow pulled in. From what I've read, the objects that are JIT compiled in ASP.NET do actually include the body of the ASPX HTML as well, right? So is there a way to "deploy" the site without even including the ASPX text files?
Alex This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Luc Saffre |
last post by:
Hello,
I had a strange problem when freezing (using either py2exe or McMillan
installer) a script that imports reportlab (which imports PIL (which
imports FixTk))).
- Python 2.3.3c (also with Python 2.3)
- PIL 1.1.4
- Installer or py2exe : latest versions.
|
by: DarkSpy |
last post by:
many c++ compilers including "gcc" have not implemented the "export"
keyword, but the comeau compilers made it (just i knew).
i want to know about: is it too difficult to implement "export"
keyword? if it is, i know the history that is without "export" keyword
of C++ compilers with five years (sorry about my poor english :-) ),
in five years still have no some idea to implement it ?
my project and many C++ programmers need this important...
|
by: mescaline |
last post by:
Hi,
Suppose a_file.cpp contains a function a_function()
Now to include it in main_file.cpp I just do #include "a_file.cpp" and
I'm all set.
i recently came across this seemingly roundabout way to do this in 3
steps:
1. Add in main_file.cpp
|
by: H. S. |
last post by:
Hi,
I am trying to compile these set of C++ files and trying out class
inheritence and function pointers. Can anybody shed some light why my
compiler is not compiling them and where I am going wrong?
I am using g++ (GCC) 3.3.5 on a Debian Sarge system. The compiler complains:
//****************************
//**************************** Compiler output starts ***********
cd /home/red/tmp/testprogs/
|
by: BobTheDataBaseBoy |
last post by:
just for grins, let's have a show of hands:
all those who think it's silly to not have a switch for stored
procedures written on 8.2 to compile through a C compiler.
^
we can't force all the clients to move at once to 8.2. nor can any
other VAR. it can't be all that difficult, can it?
| |
by: Martin Oddman |
last post by:
Hi,
I have a compiling problem. Please take a look at the code below.
I have an application that is built upon three tiers: one data tier
(Foo.DataManager), one business tier (Foo.Kernel) and one web
presentation tier (Foo.WebFiles). The data tier shall only be
accessible thru the business tier so I do NOT want a reference to
the data tier in the presentation tier.
In the business tier I have a class with the name CategoryItem that...
|
by: Steve Franks |
last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a
"release" build. Am I doing something wrong?
I'm wondering if perhaps MS locked out the ability to produce a release
build when using the RC since it does not have a go-live license? Or maybe
I'm just doing something wrong.
I do not want to go live with a release build. Rather I just want to test
locally to see if there is a performance difference and also to...
|
by: fartknuckle |
last post by:
When I try to build and install python from source It configures and
makes fine but upon 'make install' I always get to this
point:
Listing /usr/local/lib/python2.5/xml/sax ...
Compiling /usr/local/lib/python2.5/xml/sax/__init__.py ...
Compiling /usr/local/lib/python2.5/xml/sax/_exceptions.py ...
Compiling /usr/local/lib/python2.5/xml/sax/expatreader.py ...
|
by: Kurda Yon |
last post by:
Hi,
I try to "build" and "install" pysqlite? After I type "python setup.py
build" I get a lot of error messages? The first error is "src/
connection.h:33:21: error: sqlite3.h: No such file or directory". So,
I assume that the absence of the "sqlite3.h" is the origin of the
problem.
I found on the web, that this file should be either in "/usr/local/
include" or in "/usr/local/lib". I check this directories and I really
|
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...
|
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,...
| |
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...
|
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,...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |