I had a solution with mvc 3 site (this site is set as startup project). I then added another mvc 3 site into this solution so now I have two mvc 3 sites but startup project is still the same.
if I run first site evrything is ok, if then I change startup project on second site also everything is ok.
Now i added reference of second mvc 3 site to the first and added @Html.ActionLink(“LinkToSecondSite”, “Index”, “Second”) link in my index page so that when I will run first site I would like to have link to my second site. The domain will be the same in the end. Is this actually possible and “right” thing to do or are there any compile or runtime problems?
Tnx for the answer
You need to use action link overload which takes hostname and fragment. Something like: