Hello,
I was just looking at aspnet_compiler.exe and thinking how useful it was
to have your web site compiled, then I thought that maybe it isn't!!
What's the advantage? I would never upload a site, nor even upload a new
version of one file, without immediately testing it a browser. Thus, any
first-time compilation delay will be seen by me.
Did I miss something? TIA
--
Alan Silver
(anything added below this line is nothing to do with me) 10 1251
> I was just looking at aspnet_compiler.exe and thinking how useful it was to have your web site compiled, then I thought that maybe it isn't!!
What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
rumor says this first time compilation did not look good during public
presentations.
Wiktor Zychla
In article <OP*************@tk2msftngp13.phx.gbl>, "Wiktor Zychla [C#
MVP]" <wz*****@nospm.ii.uni.wroc.pl.nospm> writes I was just looking at aspnet_compiler.exe and thinking how useful it was to have your web site compiled, then I thought that maybe it isn't!!
What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
rumor says this first time compilation did not look good during public presentations.
Ah, another management-driven decision eh? It looked about that useful!!
--
Alan Silver
(anything added below this line is nothing to do with me)
re: What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
Of course, if you're running a site with 4,000 pages, it might take you a while
to call each page so it gets compiled so there's no appreciable delay the first
time any page is called by any client.
Might that be what you missed ?
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:Ra**************@nospamthankyou.spam...
In article <e8**************@TK2MSFTNGP14.phx.gbl>, Juan T. Llibre
<no***********@nowhere.com> writes re: What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
Of course, if you're running a site with 4,000 pages, it might take you a while to call each page so it gets compiled so there's no appreciable delay the first time any page is called by any client.
Might that be what you missed ?
Could be, but then how often do you change that many pages in one go? A
site that big would probably be run from some sort of dynamic source,
no?
The other point is that the first-time hit isn't *that* significant, and
it only happens once, so even if a user were to experience it, they
probably wouldn't notice.
Comments? Thanks
--
Alan Silver
(anything added below this line is nothing to do with me)
I have similar doings but afaik IIS still compiles (from MSIL to PE..)
I can't tell if a pre-compiled situation is more speedy on the first hit?
So i wonder if it really helps.
I'm using it for distribution, i don't want to spread plain code.
Bad situation of pre-compiled is that you can't easily replace a single aspx
or so.
"Juan T. Llibre" <no***********@nowhere.com> schreef in bericht
news:e8**************@TK2MSFTNGP14.phx.gbl... re: What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
Of course, if you're running a site with 4,000 pages, it might take you a while to call each page so it gets compiled so there's no appreciable delay the first time any page is called by any client.
Might that be what you missed ?
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Alan Silver" <al*********@nospam.thanx.invalid> wrote in message news:Ra**************@nospamthankyou.spam...
In article <dt**********@azure.qinip.net>, Edwin Knoppert
<in**@pbsoft.speedlinq.nl> writes I have similar doings but afaik IIS still compiles (from MSIL to PE..) I can't tell if a pre-compiled situation is more speedy on the first hit? So i wonder if it really helps. I'm using it for distribution, i don't want to spread plain code.
Why not? Anyone can decompile your compiled code, so what do you gain?
Bad situation of pre-compiled is that you can't easily replace a single aspx or so.
Yup, that was one of the disadvantages that made me wonder if it was
worth it.
"Juan T. Llibre" <no***********@nowhere.com> schreef in bericht news:e8**************@TK2MSFTNGP14.phx.gbl... re: What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
Of course, if you're running a site with 4,000 pages, it might take you a while to call each page so it gets compiled so there's no appreciable delay the first time any page is called by any client.
Might that be what you missed ?
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Alan Silver" <al*********@nospam.thanx.invalid> wrote in message news:Ra**************@nospamthankyou.spam...
--
Alan Silver
(anything added below this line is nothing to do with me)
Thus wrote Alan, Hello,
I was just looking at aspnet_compiler.exe and thinking how useful it was to have your web site compiled, then I thought that maybe it isn't!!
What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
I've also thought of pre-compilation as an overrated feature for exactly
that reason: You don't simply deploy a web app without doing a proper shakedown
test. Even if not, who really cares about the early bird user who has two
wait a second or two when hitting a page for the first time?
The remaining practical use case is assuring that all pages actually do compile
-- something that depending on how your pages are composed (think of dynamically
created server controls) could be rather hard to verify during testing.
Cheers,
--
Joerg Jooss ne********@joergjooss.de
1) You can prevent decompilation, not a discussion for now though.
2) The question from me was if a 4000+ page was faster if compiled on the
first hit then ordinary aspx pages.
I'm not sure, but i can't test that since i don't have such a situation.
"Alan Silver" <al*********@nospam.thanx.invalid> schreef in bericht
news:IQ**************@nospamthankyou.spam... In article <dt**********@azure.qinip.net>, Edwin Knoppert <in**@pbsoft.speedlinq.nl> writesI have similar doings but afaik IIS still compiles (from MSIL to PE..) I can't tell if a pre-compiled situation is more speedy on the first hit? So i wonder if it really helps. I'm using it for distribution, i don't want to spread plain code.
Why not? Anyone can decompile your compiled code, so what do you gain?
Bad situation of pre-compiled is that you can't easily replace a single aspx or so.
Yup, that was one of the disadvantages that made me wonder if it was worth it.
"Juan T. Llibre" <no***********@nowhere.com> schreef in bericht news:e8**************@TK2MSFTNGP14.phx.gbl... re: What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
Of course, if you're running a site with 4,000 pages, it might take you a while to call each page so it gets compiled so there's no appreciable delay the first time any page is called by any client.
Might that be what you missed ?
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Alan Silver" <al*********@nospam.thanx.invalid> wrote in message news:Ra**************@nospamthankyou.spam...
-- Alan Silver (anything added below this line is nothing to do with me)
On Thu, 23 Feb 2006 15:28:48 +0000, Alan Silver
<al*********@nospam.thanx.invalid> wrote: Hello,
I was just looking at aspnet_compiler.exe and thinking how useful it was to have your web site compiled, then I thought that maybe it isn't!!
What's the advantage? I would never upload a site, nor even upload a new version of one file, without immediately testing it a browser. Thus, any first-time compilation delay will be seen by me.
Did I miss something? TIA
Alan et al,
There are a couple advantages I can think of.
1) I can use the aspnet_compiler on a build engine to make sure there
are no errors in any of the .aspx files. If you do any sort of
continuous integration [1] in your CM process then you can let
developers know quickly if they checked in an ASPX file that the
runtime can't parse. I was never really happy that ASPX files could
escape the build process and make it to test before a simple syntax
error was caught.
2) I can pre-compile a non-updateble site and ensure that noone can
"tweak" an page in test or production. I could also deploy a site
without source any .aspx or .ascx files! (some caveats apply).
3) When combined with aspnet_merge I can reduce the number of
assemblies in a web app. A small performance benefit.
All that being said, using aspnet_compiler for performance reasons is
overrated. Getting a web application off the ground is a lot of work!
There is an appdomain to create, assemblies to resolve and load, the
cache is empty, the connection pool is empty, the JITter has to JIT,
etc. etc. The perf benefits of removing the parse/code-generation are
there, but can be dissapointing for someone who thinks it will be a
huge gain.
[1] http://www.martinfowler.com/articles...tegration.html
--
Scott http://www.OdeToCode.com/blogs/scott/
In article <9d********************************@4ax.com>, Scott Allen
<sc***@nospam.odetocode.com> writes
<snip> Alan et al,
There are a couple advantages I can think of.
1) I can use the aspnet_compiler on a build engine to make sure there are no errors in any of the .aspx files. If you do any sort of continuous integration [1] in your CM process then you can let developers know quickly if they checked in an ASPX file that the runtime can't parse. I was never really happy that ASPX files could escape the build process and make it to test before a simple syntax error was caught.
OK, I guess this is a good point for many people, but for me (lone
developer, no CM system), it's not so important.
2) I can pre-compile a non-updateble site and ensure that noone can "tweak" an page in test or production.
Ditto previous comment ;-)
I could also deploy a site without source any .aspx or .ascx files! (some caveats apply).
A benefit if you obfuscate, not otherwise - despite popular
(mis)conception.
3) When combined with aspnet_merge I can reduce the number of assemblies in a web app. A small performance benefit.
OK, so all in all, I can happily ignore precompilation as it has little
advantage for me. I am in sole control of my server, so I don't have
much worry about people looking at my code. If they can get as far as
the code, they can probably just go straight into SQL Server, bypassing
my code. At that stage, I have more to worry about than my code!!
Thanks for the info.
All that being said, using aspnet_compiler for performance reasons is overrated. Getting a web application off the ground is a lot of work! There is an appdomain to create, assemblies to resolve and load, the cache is empty, the connection pool is empty, the JITter has to JIT, etc. etc. The perf benefits of removing the parse/code-generation are there, but can be dissapointing for someone who thinks it will be a huge gain.
[1] http://www.martinfowler.com/articles...tegration.html
-- Scott http://www.OdeToCode.com/blogs/scott/
--
Alan Silver
(anything added below this line is nothing to do with me) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: amit |
last post by:
I am trying to compile the sample program genwin.sqc, using nsqlprep
which is used to precompile embedded sql in C. I am getting weird
errors and that is because windows.h is included in the...
|
by: jj |
last post by:
Care to enlight?
Thanks!
|
by: Darren |
last post by:
I just want do some console C++ programs. Do I still need this wield
header"stdafx.h"? Thanks
|
by: Roger Withnell |
last post by:
I seem to spend far too much of my time struggling with browser
inconsistencies concerning Javascript (not to mention CSS).
What do you think is the most efficient development regime, including...
|
by: zelzel.zsu |
last post by:
What is php's behavior when connect to a db?
I've been told that php was once a dominant web programing language.
I've read a few chapters of a php book.
I was wonder what's php's performance....
| |
by: TRI_CODER |
last post by:
I am trying to solve the following exception. The exception occurs when my
ASP.NET code behind code attemtps to access a remore site using SSL. Please
note that all certificates are valid and the...
|
by: archsg |
last post by:
Hello,
I have an ASP.Net 1.1 application that I need to move to a production server
on a customer's network. I do not want the customer to have access to any
code.
It looks like VS2003 does...
|
by: salad |
last post by:
XML seems to be a hot technology buzzword. And it appears XML is
supported in A2003.
I am wondering if it could be used in the following scenario. I create
an order record for the customer. ...
|
by: Viken Karaguesian |
last post by:
Hello everyone,
Just an observation here: the CSS newsgroup
(comp.infosystems.www.authoring.stylesheets) is totally dead. Why?...
Anyway here's my discussion point: What is the most versatile...
|
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...
|
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...
| |
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 ...
| |