Hi,
I'm developing a website that has modular section. I would like it that when a new aspx (and aspx.cs) file is placed in a subdirectory of the application that I can ask the class some information...
The idea is that when the file is placed in the directory a new menu item is added to the menu. To do that I need to "ask the class" for its name, icon, description, etc.
Is there a way to determine the class that is defined in codebehind file and to instantiate an instance of it?
I know I could look for and parse a config file for each plugin but I would rather not have to go that route.