Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
I currently have the BasePath property defined in my base page class and I set it in OnLoad() event to be the full URL path to the root of my website (using Request.ServerVariables). Then I can build paths to different subfolders in my website no matter what server my sight is running on.
I have not used Interfaces yet. Would I be able to access Request.ServerVariables in the get() method of my property if I were to define it in an Interface?
Matt
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement