Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computer Certification > MCAD > asp.net

Reply
Thread Tools

asp.net

 
 
Guest
Posts: n/a
 
      02-06-2004
what is a precompiled webform?
if webform1.aspx is precompiled, then what should be the
page directive for webform1.aspx??
 
Reply With Quote
 
 
 
 
Ryan Walberg
Guest
Posts: n/a
 
      02-06-2004
wrote:

> what is a precompiled webform?


The .DLL that's created when you build your project. It contains the
Page class in compiled form.

> if webform1.aspx is precompiled, then what should be the
> page directive for webform1.aspx??


The @Page directive will have an attribute called `Inherits' that
specifies the name of the Page-derived class and a `CodeBehind'
attribute that isn't a real attribute, but tells VS.NET which file
contains the code.

If you didn't want precompiled forms, you'd use the `Source' (or is it
`Src'?) attribute that tells ASP.NET which file contains the source. It
would then be compiled the first time it's accessed.

HTH, HAND.

--
Ryan Walberg, B.Sc., MCSD, MCSD for .NET
am
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      02-07-2004
thanks.
got the answer.
shrin
 
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




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