How can we connect two .net web applications? I have only one domain name and hosted the first application. Now i want to host the 2nd application using a link from a page in the 1st app. Can you suggest a way?
1
Expert's answer
2012-11-08T07:38:21-0500
There are several considerations around the site / backoffice relations.
But to get to the bottom line of your question: Put your media files inside a totally separate directory, then save its location in each app's (WebForms + MVC) Web.config file, and access it by reading the appropriate configuration key. For example: C:WebsMyFrontEndMvcSite C:WebsMyBackOffice C:WebsContent
Your domain could be called static.mysite.com. It will also help you keep your site (and backoffice) clean from "user generated content", so every time you deploy, you can freely override the whole app and not afraid that you accidentally delete custom user content (the only thing you'll need to worry of is not overriding web.config in the production server).
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment