Results 1 to 22 of 22

Thread: [RESOLVED] How to make my own custom "page" object?

Threaded View

  1. #12

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: How to make my own custom "page" object?

    Okay, I see what you mean regarding the attribute. It is available to the developer by simply referencing my assembly, not necessarily inheriting from. But, if the developer does not inherit, I have no knowledge of the developer's class that he created. So how would I use the SomeOtherClass.GetType().GetMethods()? This assumes I know the name of the SomeOtherClass class.

    I'm slowly getting this but still a little fuzzy on the overall setup.

    This will be an ASP.NET website, that will not necessarily have any actual ASPX pages, because I think this is what the HttpHandler is for. I can have the handler route the request context to my custom class, right? And in that custom class, based on what the user requested, I will then iterate over the developer's classes, looking for particular decorations, do some processing, and then return result via "response" object.

    So say the requested URL (could be POST or GET) is:

    http://somesite.com/customprocessor/doSomething

    The HttpHandler, will capture this, and route to my custom class, and my custom class will see the path "/doSomething" and handle it appropriately.

    Is this possible? Can the ASP.NET "engine" be attached to this, even though the user is not explicitly including a file extension like .ASPX?

    Looks like someone else is trying to do the same thing, but never got a response:
    http://www.vbforums.com/showthread.php?t=379364
    Last edited by softwareguy74; Nov 26th, 2009 at 11:19 PM.

    Visual Studio 2010

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width