By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,165 Members | 894 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,165 IT Pros & Developers. It's quick & easy.

aspnet_compiler.exe?

P: n/a
Is aspnet_compiler.exe actually the tool used by the ASP.NET runtime to
dynamically compile an ASP.NET 2.0 application? ...Or is the
aspnet_compiler.exe tool just a console application "front-end" for some
lower level functionality and the ASP.NET runtime actually hooks into this
lower level API?

Similarly, is the aspnet_compiler actually what get's called when using the
"Publish Web Site" utiltiy (or again, is the "Publish Web Site" utility
actually hooking into a lower level API?

TIA

Feb 16 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Documentation says:

The ASP.NET Compilation tool (Aspnet_compiler.exe) enables you to compile an
ASP.NET Web application, either in place or for deployment to a target
location such as a production server.

It means precompiling. Normal compilation which happens whern request comes
to a page for the first time involves page parsing process (turn markup to a
control tree) and then .NET language compiler (cs.exe or vbc.exe for C# and
VB.NET respectively) depending on the language used, to compile the parse
tree into a class.

aspnet_compiler is the one VS2005 uses for publishing yes.

Following article: http://odetocode.com/Articles/417.aspx although being bit
old, explains the concept nicely'

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Brian McCullough" <no**********@test.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Is aspnet_compiler.exe actually the tool used by the ASP.NET runtime to
dynamically compile an ASP.NET 2.0 application? ...Or is the
aspnet_compiler.exe tool just a console application "front-end" for some
lower level functionality and the ASP.NET runtime actually hooks into this
lower level API?

Similarly, is the aspnet_compiler actually what get's called when using
the "Publish Web Site" utiltiy (or again, is the "Publish Web Site"
utility actually hooking into a lower level API?

TIA
Feb 18 '07 #2

P: n/a
Somewhat related question here...

When I choose the "Build Web Site" menu item from my Build menu for my Web
Site Project (not Web Application Project), is this actually using MSBuild
to perform the precompilation on my site or is this hooking directly into
the aspnet_compiler.exe tool?

Thanks!!


"Brian McCullough" <no**********@test.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Is aspnet_compiler.exe actually the tool used by the ASP.NET runtime to
dynamically compile an ASP.NET 2.0 application? ...Or is the
aspnet_compiler.exe tool just a console application "front-end" for some
lower level functionality and the ASP.NET runtime actually hooks into this
lower level API?

Similarly, is the aspnet_compiler actually what get's called when using
the "Publish Web Site" utiltiy (or again, is the "Publish Web Site"
utility actually hooking into a lower level API?

TIA

Feb 19 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.