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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:14:23+00:00 2026-05-20T20:14:23+00:00

I’m building SaaS application where back end will be SQL Server and WCF Services.

  • 0

I’m building SaaS application where back end will be SQL Server and WCF Services.

Here is where I’m little worrying.. I’m planning to have separate database per customer (thats decided) and will authenticate users against their database. Thats decided as well.

There will be central database which will have customers info like what database is their and what endpoints to use.

Ideally, I want something like this:

  • a. Client hits main page ASP.NET or
    Silverlight or open client app on
    PC/mobile device/etc
  • b. Types in Customer ID, user name
    and password
  • c. Call being made to main URL
  • d. I will pull endpoint and DB
    information for this Customer ID. I
    do want WCF endpoint info also be
    configurable for future
    expansions/upgrades
  • e. Need somehow pass information
    about endpoint/database to user.
    Multiple customers can share same WCF
    endpoint.
  • f. Call endpoint from client and
    login to specific database.

This way I can see how performance will be OK since I won’t have to go through my “system” proxy on each call. Client will KNOW what endpoint and which database it deals with.

But I’m not sure how to implement this securely. Because database information in step “e” will flow back to customer. Technically, even if it’s cracked on customer – still no access to DB itself from outside. But not nice..

What your thoughts are? Or should each call be made with companyID token and then main central service will route those calls? But that’s like single point of failure. I’d rather see main server to work on on login.

  • 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-20T20:14:24+00:00Added an answer on May 20, 2026 at 8:14 pm

    We’ve done WCF sites connecting to multiple databases handling 1000 concurrent requests, there are fiddly bits in the WCF config that you need to tweak, but it should work fine.

    I don’t see why database information needs to ‘flow’ back to the user.

    All of that could happily live server side. Then all decisions about what database to connect to can be made based on the user credentials.

    If you want multiple endpoints to handle load, then you redirect to a relevant (or random) end-point after login. Then store the relevant routing/mapping data on the relevant endpoint (or all of them if you’re using random).

    All you need from them is their credentials to decide what database to use.

    Tip: As with all performance issues: measure, measure, measure. You need to know if there is any benefit with multiple end-points under your expected load; so build a load test. Then you can see where the performance hit is. Over engineering before measuring sometimes works, but always wastes time.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into

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.