Analagous to composing a webpage that imports other pages via frames, is it possible to write a page that imports
specific functionality and i/o from one or more existing ASPNET apps? In other words, how can I go about "mosaicing" existing ASPNET pages into new forms -or- create "views" of existing ASPNET apps (preferrably without having to wrap them in MVC projects)?
You can do that by utilizing User Controls functionality. User Control is kind of widget, it does not depend for particular page. You incapsulate any functionality into user controls. Then you can combine this functionality by placing different controls
on page, having "mosaic" effect :)
I appreciate your input, Alex. User controls are indeed a good way to package gui+logic, but I'm searching for a way to reuse parts of existing ASPNET apps; refactoring their gui+logic into new apps or views (without altering the ASPNET apps, or wrapping
them)
noelkhan
Member
5 Points
3 Posts
Re Reuse
Apr 12, 2011 06:10 PM|LINK
Forum,
Analagous to composing a webpage that imports other pages via frames, is it possible to write a page that imports specific functionality and i/o from one or more existing ASPNET apps? In other words, how can I go about "mosaicing" existing ASPNET pages into new forms -or- create "views" of existing ASPNET apps (preferrably without having to wrap them in MVC projects)?
Regards,
Noel
AlexanderB
Participant
801 Points
163 Posts
Re: Re Reuse
Apr 12, 2011 07:01 PM|LINK
You can do that by utilizing User Controls functionality. User Control is kind of widget, it does not depend for particular page. You incapsulate any functionality into user controls. Then you can combine this functionality by placing different controls on page, having "mosaic" effect :)
Just because it is interesting
noelkhan
Member
5 Points
3 Posts
Re: Re Reuse
Apr 12, 2011 07:43 PM|LINK
I appreciate your input, Alex. User controls are indeed a good way to package gui+logic, but I'm searching for a way to reuse parts of existing ASPNET apps; refactoring their gui+logic into new apps or views (without altering the ASPNET apps, or wrapping them)
Thanks again,
Noel
noelkhan
Member
5 Points
3 Posts
Re: Re Reuse
Apr 12, 2011 09:15 PM|LINK
http://xsltfilter.tigris.org/
This software intercepts ASPX pages and applies XSL to reformat or refactor the gui. Wonderful!
Regards,
Noel