How to create and manage a multi-user ASP MVC application

I want to create a multi-tenant application that uses the host name to determine the client.

For instance:

CustomerOne.myapp.com AnotherCo.myapp.com AndOneMore.myapp.com ...

I can work with the database and security without any problems, I can also get the host name from the URL, but what I'm trying to figure out is to create a basic plumbing that will allow a new client to register on the Internet, specify the name of your company and application to create a new URL ready for immediate use.

Can anyone help?

Thank,

Rob.

+3
source share
1

, .

something.myapp.com, :

1) DNS -, something.myapp.com -.

2) IIS, something.myapp.com -/ /

IIS, , , , appcmd.exe IIS .

, , ...

+1

Source: https://habr.com/ru/post/1740169/


All Articles