2/12/2014 1:13:55 PM
1284
Reputation
156
Total posts
Hi Inac,
Though i haven't implemented the complete solution yet but will share what i have done so far.
Still waiting reply from monox guys!!
Step1.
Create a http module and on init event override beginrequest. in beginrequest set the applicationname in context.Items["ApplicationName"].
Step2:
Register the module on portal by adding this line under httpmodules
<add name="ApplicationName" type="SetApplicationNameDynamically.SetApplicationName, SetApplicationNameDynamically" />
Step3:
Add the same line mentioned above under <modules runAllManagedModulesForAllRequests="true"> section
Step4:
Do the changes in RoleProvider, PersonalizationProvider and MembershipProvider as explained in http://www.mono-software.com/blog/post/Mono/35/Hosting-multiple-applications-in-MonoX/
Step5:
Now host the application in 2 different url.
Step6:
Run the app.
Issue: the application will run fine from one URL but will give run time error from another URL.
Hope this help you.
Regards
Sumit
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.