Multiple partial classes for an aspx page

W

warfi

Dear All,

I have been working on a transformation project in VB.Net 2.0. I have
to reuse existing code, in the existing code UI and BL are being
written at one place. I have been working in WebSite type of project,
I need something similar to this:

- I have a page Default.aspx (that will contain all UI controls)
- Default.aspx.vb with the class name _Default (it will contain events
handled for the controls)
- DefaultBL.aspx.vb (this should be a partial class _Default the same
class defined in Default.aspx.vb)

If I define my BL class as a separate one, then I would have to
introduce some model that I am not willing to due to constraints of
the project. I can accomplish the above scenario using WebApplication
but finding no way to achieve it using WebSite. Can someone please
help me out in this regard?

Regards,
Warfi
 
W

warfi

Dear All,

I have been working on a transformation project in VB.Net 2.0. I have
to reuse existing code, in the existing code UI and BL are being
written at one place. I have been working in WebSite type of project,
I need something similar to this:

- I have a page Default.aspx (that will contain all UI controls)
- Default.aspx.vb with the class name _Default (it will contain events
handled for the controls)
- DefaultBL.aspx.vb (this should be a partial class _Default the same
class defined in Default.aspx.vb)

If I define my BL class as a separate one, then I would have to
introduce some model that I am not willing to due to constraints of
the project. I can accomplish the above scenario using WebApplication
but finding no way to achieve it using WebSite. Can someone please
help me out in this regard?

Regards,
Warfi

I have figured out the solution to this problem ...

Regards,
Warfi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top