473,379 Members | 1,511 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

deploying asp.net app without shipping aspx files

Hi all,

As far as I understand, when a user requests an aspx page, this is JIT
compiled to a DLL.

In theory, I can't see any reason why I shouldn't be able to precompile all
my aspx pages into a DLL (or DLLs) and just ship them instead of shipping
the aspx source files. I guess I would have to write some custom request
handler or filter to recognise .aspx extensions and load the appropriate
class.

Assuming it's possible, this sounds like exactly the sort of thing someone
would have done already. Can anyone point me at any existing technology that
does this (or might help me implement it). Alternatively, is there some
showstopping reason I've missed why this can't be done?

TIA

Andy
Nov 19 '05 #1
2 1084

Asp.Net version 2 will support this but beta2 still leaves aspx marker files
(for now). Read about it here :

http://odetocode.com/Articles/417.aspx

Let me know if you have any more questions...

Cheers,
Tom Pester
Hi all,

As far as I understand, when a user requests an aspx page, this is JIT
compiled to a DLL.

In theory, I can't see any reason why I shouldn't be able to
precompile all my aspx pages into a DLL (or DLLs) and just ship them
instead of shipping the aspx source files. I guess I would have to
write some custom request handler or filter to recognise .aspx
extensions and load the appropriate class.

Assuming it's possible, this sounds like exactly the sort of thing
someone would have done already. Can anyone point me at any existing
technology that does this (or might help me implement it).
Alternatively, is there some showstopping reason I've missed why this
can't be done?

TIA

Andy

Nov 19 '05 #2
This is interesting, and i've never seen it done with .NET 1.1

However, .NET 2.0 has some more advanced compiling methods, where you can
compile your ASPX code as well.
Maybe exploring that might set you in the right direction

Good Luck and HTH

"Andy Fish" <aj****@blueyonder.co.uk> wrote in message
news:uU**************@TK2MSFTNGP09.phx.gbl...
Hi all,

As far as I understand, when a user requests an aspx page, this is JIT
compiled to a DLL.

In theory, I can't see any reason why I shouldn't be able to precompile
all my aspx pages into a DLL (or DLLs) and just ship them instead of
shipping the aspx source files. I guess I would have to write some custom
request handler or filter to recognise .aspx extensions and load the
appropriate class.

Assuming it's possible, this sounds like exactly the sort of thing someone
would have done already. Can anyone point me at any existing technology
that does this (or might help me implement it). Alternatively, is there
some showstopping reason I've missed why this can't be done?

TIA

Andy

Nov 19 '05 #3

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

Similar topics

1
by: Terry H | last post by:
Hi I am deploying a winforms app via the windows installer and a VS.Net 2003 setup and deploymnet project. At the moment, I am adding launch conditions for the .Net Framework 1.1 and MDAC 2.7...
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
3
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well...
4
by: Tony Moaikel | last post by:
Hi, I read that it is possible to deploy an asp.net app without the aspx code. Does anyone know about any articles that explain how to do this? Thanks, Tony
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
1
by: Mark | last post by:
When you deploy .NET 2.0 web applications, you don't have to deploy pre-compiled .dll files anymore. You deploy ALL the files (.aspx, .aspx.cs, etc) and they are compiled the first time they are...
1
by: Mike | last post by:
What is the effect of deploying asp.net 2.0 and the effect of session state to the production application? What happens when you xCopy any modified or new .vb or .cs class file from the...
5
by: daokfella | last post by:
I'm still stuck on the .dll and bin folder mentality in 1.1. When deploying a 2.0 web application, there is no web .dll to deploy? So is this how we deploy in 2.0? 1. Copy the app_code folder...
17
by: ARC | last post by:
Hello again, I'm close to the end of converting a large app from access 97 to 2007. I have many users on the old system, with the db's in Access 97, and here's what I'm thinking of doing to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.