473,387 Members | 1,721 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,387 software developers and data experts.

question about compiling

Bob
Hi,

I compiled my asp.net application for deployment like this:
aspnet_compiler -p "C:\MyDevelopment\WebSite1" -v / C:\mydir.

I can see the same aspx and other files and a dir 'bin' with the compiled
files.
Then i made a virtual dir. under IIS for c:\mydir. It works.

My question is: can i remove the aspx and aspx.vb files from the virtual
dir. or IIS still need them?
If IIS still need them, where is the advantage (except the error-check of
the code), because i can't see really a imptovement of speed?

Thanks
Bob
Aug 28 '06 #1
2 930
If IIS still need them, where is the advantage (except the
error-check of
the code), because i can't see really a imptovement of speed?

IIS still needs them.

You will get a speed up on the first request because the pages don't
need to be compiled.

Your compiled site is not-updateable (the -u flag) so if you look in
your pages you will see that they are only stubs so the aspx "code" is
not deployed to the site. This gives you a (slight) improvement in
security (at least your ISP can't read the files),

Kevin Jones

Bob wrote:
Hi,

I compiled my asp.net application for deployment like this:
aspnet_compiler -p "C:\MyDevelopment\WebSite1" -v / C:\mydir.

I can see the same aspx and other files and a dir 'bin' with the compiled
files.
Then i made a virtual dir. under IIS for c:\mydir. It works.

My question is: can i remove the aspx and aspx.vb files from the virtual
dir. or IIS still need them?
If IIS still need them, where is the advantage (except the error-check of
the code), because i can't see really a imptovement of speed?

Thanks
Bob

Aug 28 '06 #2
Bob
Thanks

"Kevin Jones" <kj**********@develop.comschreef in bericht
news:Oq**************@TK2MSFTNGP04.phx.gbl...
If IIS still need them, where is the advantage (except the
error-check of
the code), because i can't see really a imptovement of speed?


IIS still needs them.

You will get a speed up on the first request because the pages don't need
to be compiled.

Your compiled site is not-updateable (the -u flag) so if you look in your
pages you will see that they are only stubs so the aspx "code" is not
deployed to the site. This gives you a (slight) improvement in security
(at least your ISP can't read the files),

Kevin Jones

Bob wrote:
>Hi,

I compiled my asp.net application for deployment like this:
aspnet_compiler -p "C:\MyDevelopment\WebSite1" -v / C:\mydir.

I can see the same aspx and other files and a dir 'bin' with the compiled
files.
Then i made a virtual dir. under IIS for c:\mydir. It works.

My question is: can i remove the aspx and aspx.vb files from the virtual
dir. or IIS still need them?
If IIS still need them, where is the advantage (except the error-check of
the code), because i can't see really a imptovement of speed?

Thanks
Bob
Aug 28 '06 #3

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

Similar topics

43
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
38
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
38
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
47
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
83
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
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,...

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.