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

How to configure IIS to use pre-compiled website?

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 DLLs obtained from
aspnet_compiler. When we access pages from the application, we still
see cached files created on the server, under "C:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\Temporary ASP.NET Files"
It looks like the framework does not use the precompiled files and
compiles on first access as usual.
How do we configure the application so that ASP .NET runs the pre-
compiled files?

Please note that on the server on which we deploy, there is no Visual
Studio to be able to Publish the website.

Thanks,
Yash

Feb 21 '07 #1
2 3921
Hello ya****@gmail.com,
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 DLLs obtained from
aspnet_compiler. When we access pages from the application, we still
see cached files created on the server, under
"C:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\Temporary ASP.NET Files"
It looks like the framework does not use the precompiled files and
compiles on first access as usual.
are you sure thet the precompiled version is used?
How do we configure the application so that ASP .NET runs the pre-
compiled files?
Have u tried to publish site to the separate folder and check whether it
creates the temporary files?

BTW, what's wrong with the approach that ASP.net generate smth? This is standard
internal behavoiur of ASP.net

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Feb 21 '07 #2
Ray
That's normal. It is using the precompiled files. Those
files though are just the code-behind classes from which
the final page must still derive, create a new dll, for the whole
pages to execute.

In 2.0 there is another compilation option called "Deployment
pre-compilation", which pre-compiles the whole thing. The downside
there though is that you'll have to pre-compile the whole web site for
every little change you make to it.
<ya****@gmail.comwrote in message
news:11*********************@v33g2000cwv.googlegro ups.com...
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 DLLs obtained from
aspnet_compiler. When we access pages from the application, we still
see cached files created on the server, under "C:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\Temporary ASP.NET Files"
It looks like the framework does not use the precompiled files and
compiles on first access as usual.
How do we configure the application so that ASP .NET runs the pre-
compiled files?

Please note that on the server on which we deploy, there is no Visual
Studio to be able to Publish the website.

Thanks,
Yash

Feb 22 '07 #3

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

Similar topics

0
by: Christopher De Vries | last post by:
The predominant operating system in my workplace is Solaris, with a bit of Linux and MacOS X thrown in. As such people expect to install new software with the sequence: ../configure make make...
7
by: Alan Illeman | last post by:
How do I set several different properties for PRE in a CSS stylesheet, rather than resorting to this: <BODY> <PRE STYLE="font-family:monospace; font-size:0.95em; width:40%; border:red 2px...
8
by: Jarno Suni not | last post by:
It seems to be invalid in HTML 4.01, but valid in XHTML 1.0. Why is there the difference? Can that pose a problem when such a XHTML document is served as text/html?
0
by: Gabe | last post by:
I am printing a receipt or an invoice, not too sure what to call it in English; anyway, the thing is that there erm ... files are printed in a half of a paper, so I want to configure the page for...
9
by: Eric Lindsay | last post by:
I can't figure how to best display little snippets of shell script using <pre>. I just got around to organising to bulk validate some of my web pages, and one of the problems occurs with Bash...
14
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to...
1
by: Jim McCullars | last post by:
Greetings: Getting configure errors trying to build PHP 5.2.5 under Solaris 9. The configure command I use is this: ../configure --with-mysql --with-gd --with-jpeg-dir=/usr/local...
2
by: Bob | last post by:
Hello, I need to develop an application in ASP .NET (C#): this is my first time. The application will be very simple, but I need a third-party control for generating PDFs, and I have chosen one...
7
by: Mathieu Prevot | last post by:
Hi, I have the following error when I run configure: checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t) what can I do ? Mathieu
0
by: lee.walczak | last post by:
I actually post a topic relating to my problem here: (http://groups.google.co.uk/group/comp.lang.python/browse_thread/ thread/a073d532c4481bfe?hl=en# ) But I thought it could be useful to...
1
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.