77 309
Assignments Done
Successfully Done
In July 2019

Answer to Question #14927 in C# for Mincy Murali

Question #14927
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?
Expert's answer
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:

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).

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions