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 1265
> 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 presentation s.
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*********@no spam.thanx.inva lid> wrote in message
news:Ra******** ******@nospamth ankyou.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******** ******@TK2MSFTN GP14.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*********@no spam.thanx.inva lid> wrote in message news:Ra******** ******@nospamth ankyou.spam...
In article <dt**********@a zure.qinip.net> , Edwin Knoppert
<in**@pbsoft.sp eedlinq.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******* *******@TK2MSFT NGP14.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*********@no spam.thanx.inva lid> wrote in message news:Ra******** ******@nospamth ankyou.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********@joer gjooss.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*********@no spam.thanx.inva lid> schreef in bericht
news:IQ******** ******@nospamth ankyou.spam... In article <dt**********@a zure.qinip.net> , Edwin Knoppert <in**@pbsoft.sp eedlinq.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****** ********@TK2MSF TNGP14.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*********@no spam.thanx.inva lid> wrote in message news:Ra******** ******@nospamth ankyou.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*********@no spam.thanx.inva lid> 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/ 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 genwin.sqc
file. I am using
Setting the lib and include path:
set INCLUDE=C:\Program Files\Microsoft SQL...
|
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 both
PC and Mac? In particular, two questions come to mind:
1 In which browser should I develop to ensure that the maximum amount of
code is...
|
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.
Perl was once for a while a popular programming language for cgi.
But start very process per one web visit cause serioius problem to
system...
| |
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 remote site is trusted. Also, my
web site uses a custom HTTPModule implemented in a DLL named Security.dll.
Unable to find an entry point named...
|
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 not allow for precompiling code like you can do
with VS2005 and 2.0. Is this correct? If so, is there any way to encrypt or
hide the code so that...
|
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. This customer is one I do a lot of
business with. I could create an email to send him a copy of the order.
A more preferable approach would be to...
|
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 value to use
to set font-size? I set my font size in percentages. I set the main font
size in the body tag (which everything will inherit), then...
|
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...
|
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...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |