Re: how to precompile a web application?
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Oct 2007 01:33:07 +0100
"bruce barker" <nospam@xxxxxxxxxx> wrote in message news:ell4Wp4DIHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
I can find no way to precompile a web application from visual studio.
Not sure about natively, but Web Deployment Projects does this (I never use anything else for deployment).
It's a simple matter of unchecking the "Allow this precompiled site to be updatable" checkbox in the WDP's Compilation options...
by precompile I mean all the aspx code is converted to assemblies by visual studio, not at runtime by asp.net. if you view the compiled aspx page it should only contain the line:
This is a marker file generated by the precompilation tool, and should not be deleted!
That's right.
replacing all the original aspx source, and of course a page assembly should exist in the bin folder thats the compiled aspx.
It certainly does.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- Re: how to precompile a web application?
- From: bruce barker
- Re: how to precompile a web application?
- References:
- how to precompile a web application?
- From: bruce barker
- how to precompile a web application?
- Prev by Date: Re: Help with ASP.NET Memberships
- Next by Date: Re: ASP .NET 2.0 Unanswered questions...
- Previous by thread: how to precompile a web application?
- Next by thread: Re: how to precompile a web application?
- Index(es):
Relevant Pages
|
Loading