ASP.NET多租户应用程序 [英] ASP.NET multi-Tenant Application

查看:427
本文介绍了ASP.NET多租户应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Asp.net 3.5应用程序。我希望能够允许多个/不同的客户端来访问相同的应用程序,但使用不同的URL。我已经成功地将数据库配置为允许这一点。
 因此,这里的主要部分。
我想举办一个域中的我的应用程序说...

I have an Asp.net application 3.5. I want to be able to allow multiple/ different clients to access the same application but using different URL's. I have already managed to configure the database to allow this. So here's the main part. I want to host my application in a domain say...

wwww.myapplication.com

wwww.myapplication.com

然后让不同的客户端使用来访问相同的应用程序

then allow different client to access the same application using

1)www.clientOne.myapplication.com

  2)www.clientTwo.myapplication.com

1) www.clientOne.myapplication.com
2) www.clientTwo.myapplication.com


  • 同时在客户端的子域即(clientone.myapplication.com和clienttwo.myapplication.com)
    应该由客户在注册,可以自动创建

我如何能实现this..Your帮助将大大pciated AP $ P $

How can I achieve this..Your help will be greatly appreciated

我如何想我的应用程序的工作是一个很好的例子
www.quickschools.com

A good example of how I want my application to work is www.quickschools.com

推荐答案

大家好,我终于找到了我想要的解决方案,所以我想我会与大家分享我的发现。事实证明,我需要创建另一个运行Asp.net Web应用程序的Web应用程序(从C#code)

hi Guys i finally found out the solution that i wanted, so i thought i would share with you my finding. It turns out i needed to create a web application from another running Asp.net web application (From C# Code)

这<一个href=\"http://www.eggheadcafe.com/tutorials/aspnet/d4bba585-b517-4834-8476-ff05b085d86e/iis--create-app-pools-virtual-directories-and-web-sites-c-net.aspx\"相对=nofollow>由罗伯·莫里斯教程是真正有用的,如果你需要得到这个启动

This tutorial by Robbe Morris was really helpful if you need to get started on this

您可能会想看看另一篇文章是<一个href=\"http://www.bloggingdeveloper.com/post/Creating-IIS7-sites-applications-and-virtual-directories-using-Internet-Information-Services-Manager.aspx\"相对=nofollow>这个

Another article you might want to check out is this one

感谢所有帮助。

这篇关于ASP.NET多租户应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆