Mono XSP ASP.NET has trouble locating code-behind sources

With ASP.NET pages, if code behind is used, a separate .cs file must contain the C# source code. This C# file must be manually compiled into a .DLL and placed in the Mono /lib directory, so that Mono can make use of it.

However, with XSP, it’s possible to tell Mono where the .cs code behind file is placed, so the whole process is automated. For example, instead of specifying the following Page directive in the .aspx file:

we could have specified the following one:

The new Page directive tells Mono where to find the codebehind source file and it’s name.

Advertisements

2 thoughts on “Mono XSP ASP.NET has trouble locating code-behind sources

  1. mike h, i and many others completely reovered using the techniques here and in clare weeks books. it is not about ignoring symptoms and hoping they go away it is learning how to have no fear. this takes “patience” and time.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s