473,803 Members | 4,391 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspnet_compiler .exe?

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
2 9017
Documentation says:

The ASP.NET Compilation tool (Aspnet_compile r.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**********@t est.comwrote in message
news:%2******** ********@TK2MSF TNGP05.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
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**********@t est.comwrote in message
news:%2******** ********@TK2MSF TNGP05.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1117
by: Gilles | last post by:
Hello, I am new to the group so please let me know if there is a better place to post this. I am trying to use aspnet_compiler to precompile a full web site and put the result into an MSI setup This generates a bunch of randomly names assemblies (bd45ft6.dll) for instance. Sicne I cannot predict the name of the generated Dlls, I cannot easily build
3
1604
by: Sam777 | last post by:
Our global.asax file has the following line: <OBJECT ID="sInfo" RUNAT="Server" SCOPE="Session" CLASS="a.b.c.d"></OBJECT> This is referred to in other places in global.asax and other pages by just sInfo e.g. sInfo.ToString(). This works when deploying the raw pages but a compiled site fails. Reflector shows that in the working case, the class corresponding to global.asax has: private a.b.c.d sInfo { get { return...
7
6362
by: CuriousGeorge | last post by:
I'm using aspnet_compiler to precompile my web app for deployment. Currently it copies all subfolders from the asp.net projects source folder to my destination folder. I have some files I do not want it to copy when deploying this app, is there any way to exclude them? I like to keep all files related to my projects within that projects folder hierarchy (such as schemas, documentation, etc), but I don't want them deployed, or to have to...
0
1344
by: yousry | last post by:
Hi guys, I am trying to precompile a virtual directory that is located in a web site other than default web site. I do not know how to use Aspnet_compiler to precompile it. I tried to use the metabase path like the following : Aspnet_compiler -m LM/W3SVC/670816/ROOT/TestCaching/ -f C:\TempFolder When i tried this, it gave the following error : error 1002: 'LM/W3SVC/670816/ROOT/TestCaching/' is not a well formed IIS
1
2493
by: chris | last post by:
I am confused about the aspnet_compiler. I have a solution that contains a website, and other supporting assemblies such as business logic and the data layer. Before I actually run aspnet_compiler I go to the solution configuration manager and change the active configuration to Release and have all the assemblies and the website checked to build. I then change the web.config debug=false. Now I run my aspnet_compiler. I run the...
0
1166
by: JJ Koran | last post by:
I am trying to compile a web site in place on a website other than the default web site on my production server. On the development server we have a web site installed on the default web site and I was able to use the following command to compile the site: aspnet_compiler.exe -v / However, on the production server we created another website called IIE in IIS and I try the following command aspnet_compiler.exe -v IIE and I get the...
0
2787
by: Bjørn Terje Svennes | last post by:
When compiling my web site with Visual Studio everything works fine. But when bulding on our build server using the aspnet compiler (aspnet_compiler.exe), I get the message "error ASPPARSE: Could not load type <namespace>.<class>". I call aspnet_compiler from a nant script: aspnet_compiler -nologo -v <virtual path-p <physical path-u -f <target path> The type that cannot be loaded belongs to a user control located in a sub
3
2020
by: George Ter-Saakov | last post by:
If I precompiled my project with aspnet_compiler do I need to have web.config on a server? Or all I need is just a BIN directory and aspx files as markers? George.
4
3659
by: David Thielen | last post by:
Hi; I am building our asp.net app for release and we want to precompile the whole thing. A couple of questions. First off, what is the -v for? It looks like I can call it anything. Does that mean anything? Second, once I compile and have created the pre-compiled program - what files do I sign with my digital ID?
0
9699
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, 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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10542
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10309
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6840
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5496
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4274
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 we have to send another system
2
3795
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2968
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.