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 743831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:54:31+00:00 2026-05-14T08:54:31+00:00

Is it possible for two or more ASP.NET MVC sites to use a single

  • 0

Is it possible for two or more ASP.NET MVC sites to use a single SQL Server database for authentication and other things?

Here’s how I’m thinking of setting it up: I will combine the current database of each site into one single database, prefixing the tables with the name of the site they belong to. I currently have authentication tables generated by the asp.net_regsql.exe utility. How should I combine those tables? I’m guessing that the way to do it is to somehow set the “application_id” column in those tables…

Thanks in advance.

  • 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-14T08:54:32+00:00Added an answer on May 14, 2026 at 8:54 am

    The membership/role/profile/session providers usually have an option to include an “ApplicationName” This applicationname will be used to filter out the membership/role/profile/session queries. You can set this applicationname in the web.config like this:

    <providers>
      <clear/>
      <add name="ProviderName"
         (...)
         applicationName="/"
         (...)
         >
    </providers>
    

    Change this tag (by deafult is’t “/”, but you can change it to any string you want) in each application and the M/R/S/P provider will take care of the rest

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing complex website built using ASP.NET MVC, including a database backend,
I have a ASP.NET MVC 3 view with esentially two forms, but which reside
Is it possible to do something like this in an ASP.NET MVC controller? public
(Note: these two questions are similar, but more specific to ASP.Net) Consider a typical
I have an ASP.NET web app where I use an ado sql connection to
Is this possible to have two (or more) different kinds of cells to be
I have to develop a fairly large ASP.NET MVC project very quickly and I
What is the correct way of generating random numbers in an ASP.NET MVC application
I am currently using ASP.NET MVC and Entity Framework Code First using the repository
I have two ASP.NET pages: site.com/foo/bar.aspx that should be world accessible and site.com/foo/baz.aspx that

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.