Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > question about compiling

Reply
Thread Tools

question about compiling

 
 
Bob
Guest
Posts: n/a
 
      08-28-2006
Hi,

I compiled my asp.net application for deployment like this:
aspnet_compiler -p "C:\MyDevelopment\WebSite1" -v / C:\mydir.

I can see the same aspx and other files and a dir 'bin' with the compiled
files.
Then i made a virtual dir. under IIS for c:\mydir. It works.

My question is: can i remove the aspx and aspx.vb files from the virtual
dir. or IIS still need them?
If IIS still need them, where is the advantage (except the error-check of
the code), because i can't see really a imptovement of speed?

Thanks
Bob


 
Reply With Quote
 
 
 
 
Kevin Jones
Guest
Posts: n/a
 
      08-28-2006
> If IIS still need them, where is the advantage (except the
error-check of
> the code), because i can't see really a imptovement of speed?



IIS still needs them.

You will get a speed up on the first request because the pages don't
need to be compiled.

Your compiled site is not-updateable (the -u flag) so if you look in
your pages you will see that they are only stubs so the aspx "code" is
not deployed to the site. This gives you a (slight) improvement in
security (at least your ISP can't read the files),

Kevin Jones

Bob wrote:
> Hi,
>
> I compiled my asp.net application for deployment like this:
> aspnet_compiler -p "C:\MyDevelopment\WebSite1" -v / C:\mydir.
>
> I can see the same aspx and other files and a dir 'bin' with the compiled
> files.
> Then i made a virtual dir. under IIS for c:\mydir. It works.
>
> My question is: can i remove the aspx and aspx.vb files from the virtual
> dir. or IIS still need them?
> If IIS still need them, where is the advantage (except the error-check of
> the code), because i can't see really a imptovement of speed?
>
> Thanks
> Bob
>
>

 
Reply With Quote
 
 
 
 
Bob
Guest
Posts: n/a
 
      08-28-2006
Thanks

"Kevin Jones" <> schreef in bericht
news:...
> > If IIS still need them, where is the advantage (except the

> error-check of
> > the code), because i can't see really a imptovement of speed?

>
>
> IIS still needs them.
>
> You will get a speed up on the first request because the pages don't need
> to be compiled.
>
> Your compiled site is not-updateable (the -u flag) so if you look in your
> pages you will see that they are only stubs so the aspx "code" is not
> deployed to the site. This gives you a (slight) improvement in security
> (at least your ISP can't read the files),
>
> Kevin Jones
>
> Bob wrote:
>> Hi,
>>
>> I compiled my asp.net application for deployment like this:
>> aspnet_compiler -p "C:\MyDevelopment\WebSite1" -v / C:\mydir.
>>
>> I can see the same aspx and other files and a dir 'bin' with the compiled
>> files.
>> Then i made a virtual dir. under IIS for c:\mydir. It works.
>>
>> My question is: can i remove the aspx and aspx.vb files from the virtual
>> dir. or IIS still need them?
>> If IIS still need them, where is the advantage (except the error-check of
>> the code), because i can't see really a imptovement of speed?
>>
>> Thanks
>> Bob
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 09:47 PM
Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 08:55 PM
Compiling when libedit is in path Is there a trick to compiling Ruby when libedit must exist in the search path? Can you statically link to readline 5.0 in some manner? -- Lon Baker Lon Baker Ruby 1 03-21-2005 08:57 AM
Newbie Question: Compiling VHDL in Mentor Graphics jk VHDL 1 01-04-2004 03:44 AM
newbie question with compiling Libin Xie Java 5 10-26-2003 03:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57