[MonoDevelop] Mono ASP.NET
florian at nedlinux.nl
Sat May 20 12:16:39 EDT 2006
> Florian Hester wrote:
>>Mono says that CodeFile is an unknown attribute.
>>Maybe .NET 2.0 supports it?
> Perhaps. You can find the following at:
> "The compilation models of ASP.NET 1.x and ASP.NET 2.0 are built on
> completely different bases.
> The new class-derivation model enables the page to define controls
> without the need to have protected members created in the inherited
> separation file, or to have explicit event definition.
> Pages that use code separation take advantage of a feature known as
> Partial Classes. When the page runs, ASP.NET 2.0 dynamically creates and
> instantiates a class representing the page, and the compiler uses the
> |CodeFile| attribute in the |@Page| directive to find the file
> containing the code.
> The |Inherits| attribute defines the name of the class that will be
> created, and by default, use the page name as the basis for creating the
> class name."
I have configured Apache to use ASP.NET 2.0 and it works now.
Thanks for your help :)
More information about the Monodevelop-list