ASP/COM+ to .NET Migration Issue

D

Don Miller

My current ASP3.0/COM+ web application populates a large central content
"module" area on every web page with one (or several) static or dynamic
(database-driven) modules (returning handcrafted HTML/javascript displays or
forms) of which there are SCORES of modules available. Any one module can be
accessed from thoughout the website. These modules are called with either a
page refresh(reload) or with Ajax. The system for identifying these modules
is with a module ID provided by the calling ASP page, which is then used in
a database lookup to identify the COM+ component and method that returns the
correct dynamic HTML, or to read a static HTML file and return that HTML.
After the lookup, for COM+ components, it does a Call (vMyComponent & "." &
vMyMethod) to return the correct HTML output to the web page

I'm planning a migration to ASP.NET 2.0 but I am baffled on how to leverage
the framework to replicate the functionality above (return HTML for scores
of individual data displays, forms, etc. on any one page). How can one
identify a class and method and then execute that particular combination
dynamically? But is that an old way of thinking? I suppose since all code is
compiled that I could have a class method (dispatcher) that uses one big
CASE statement (with scores of CASEs) to call other class methods and
eliminate a database lookup and on-the-fly method execution entirely as long
as all of the potential classes are referenced????.

Is there a more straightforward way to do this with ASP.NET?

Thanks for any tips or help
 

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,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top