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

how to precompile a website in place on another server with aspnet_compiler

Hi,

Is there a way to use aspnet_compiler to precompile an existing asp.net 2.0
web application that is on another server?

I need to initiate the precompile programmatically from another .net windows
program running on a different machine.

thanks for any info

Tessa
Jan 23 '07 #1
1 1727
Can you access the website from VS2005? If so, it would be simple...
Just open the website project and then "Publish" the website.
You may first do it locally and then upload to the server.

That is one way.. another way, a workaround, would be you start the process
"MSBuild" yourself (Process.Start). :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"Tessa" <nospamwrote in message
news:eS*************@TK2MSFTNGP06.phx.gbl...
Hi,

Is there a way to use aspnet_compiler to precompile an existing asp.net
2.0 web application that is on another server?

I need to initiate the precompile programmatically from another .net
windows program running on a different machine.

thanks for any info

Tessa

Jan 23 '07 #2

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

Similar topics

8
by: Mike Owen | last post by:
Hi, I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005, to putting it onto a live server. The reason for doing this is that other people have access to the server, and I...
2
by: Shimon Sim | last post by:
I tried to use Precompile.axd to compile my site but got HTTP404 (The resource cannot be found) instead. I am running ASP.NET Version:2.0.50727.42 .. Any suggestions? Thank you, Shimon.
5
by: chaz | last post by:
Hi, I've a couple questions regarding in-place pre-compiling . As I understand it from ms documentation - precompiling a site in place effectively performs the same compilation that occurs when...
2
by: Jon Davis | last post by:
We maintain a large number of heavy traffic web sites hosted on limited hardware resources. The traffic is such that pre-compilation is necessary since each initial load of a page is at least two...
0
by: Tessa | last post by:
Hi, For an existing asp.net 2.0 web site which is not on the default web site, or uses a different port number, what is the syntax to precomplie using aspnet_compiler? e.g. aspnet_complier -v...
1
by: sri_san | last post by:
Hi group, I am new to MSBuild and trying to figure out how to include the "precompile option" in the project file - equivalent to "aspnet_compiler -v " so that the first request doesnt go through...
2
by: pedestrian | last post by:
I was developing a simple ASP.NET 2.0 web site. I precompiled the app using aspnet_compiler as below: aspnet_compiler -v /crosspagepost c:\asp then I uploaded *all* the (compiled) files in the...
2
by: yashgt | last post by:
Hi, We have a virtual directory MyApp that uses ASP .NET v2.0.50727, under which we have kept the source code(aspx, ascx and vb), as well as a bin directory in which we have the pre-compiled...
6
by: Ronald S. Cook | last post by:
I would like to develop a new website using VS 2008. Should I choose: File New Website ... and type http://localhost/MyNewWebsite or File New Project ... and set it up that way? What's...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.