Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 27, 2012 01:40 AM by molly_c
Dec 19, 2012 09:11 PM|LINK
in Azure hosted webroles, during deployemnt one may register several virtual applications to a given website. For example: http://foo.com/vdir/CRM , where CRM is an web application, with path-name = "/vdir/CRM". There is also the application associated
with the path-name "/".
what event is raised to allow Membership.Application_name to be set (to the current app)?
Similarly, what event is rasied for PRofile and Roles, similarly?
For context, one MIGHT think of looking at the requesting URI in application_start to figure the app name, given parameters from hosting Server. But, such values are not present at this stage in the pipeline. Obviously, _later_ events are fired, once the
app name has been matched by IIS. What is is .. then then allows one to set of the Membership providers, from the path-name of the app inferred from the URI, etc.
I can assume this all happens by default, anyway, with default event handlers. But, I need to take control, from the default.
Dec 27, 2012 01:40 AM|LINK
Azure Hosted webroles? You deployment in Azure ? Not know much about Azure, ask your question
here will help you a lot.