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.
Peter Willia...
0 Points
1 Post
event raised to set such as Membership.Application_Name
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.
molly_c
Participant
1590 Points
401 Posts
Re: event raised to set such as Membership.Application_Name
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.
Molly
It's time to start living the life you are imagined.