Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6999751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:34:56+00:00 2026-05-27T20:34:56+00:00

I had a solution with mvc 3 site (this site is set as startup

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:34:57+00:00Added an answer on May 27, 2026 at 8:34 pm

    You need to use action link overload which takes hostname and fragment. Something like:

    public static MvcHtmlString ActionLink(
       this HtmlHelper htmlHelper,
       string linkText,
       string actionName,
       string controllerName,
       string protocol,
       string hostName,
       string fragment,
       Object routeValues,
       Object htmlAttributes
      )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've tried to search for a solution for this, but have had no joy:
I have a solution with a MVC Web Project, Infrastructure project, Services project and
I had my VB.NET project and associated solution (developed in Visual Studio 2005) in
Has anyone else had this issue and found a working solution? I've enabled the
If i had two different application running under the same solution but using different
Looking for a non-JS solution. Say I had something like this: <ul> <li> <form>
I have found some similar Que's on SO but had not find the solution.
i have installed openipmp server on my windows. They had given some client solution
I'm playing around a little with dividing up a MVC-site into several assemblies (ran
We had to separate a class library from core library project. And now, we

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.