实现多租户ASP.NET MVC应用程序最快捷的方式 [英] Quickest way to implement multi tenant ASP.NET MVC Application

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

问题描述

我觉得我没有得到任何这是什么意思。
我的目的是建立一个多租户ASP.NET MVC应用程序。

I think I am not getting the meaning of any of this. My purpose is to create a multi tenant ASP.NET MVC Application.

我看到关于如何做一个很好的职位<一个href=\"http://bartreyserhove.blogspot.com/2009/01/building-multi-tenant-applications-with.html\">here
但Nhibernate的是不是一个选项。

I saw a great post on how to do this here , but Nhibernate isn't an option.

有一个问题我想了解的一件事是:
MVC是应该在创建多租户网络应用来帮助(与其他内容一起)?

One of the things I want to understand is: Is MVC (along with everything else) supposed to help in creating multi tenancy web apps?

我见过一些意见这是类似我的问题,但他们往往不会出现打我试图让在同一点:

I have seen several comments which are similar to my question, but they often don't appear to hit the same point I am trying to get at:


  • 一个DB

  • 一个模式

  • 没有NHibernate的

如果有人简单的解释是知道如何可以做到这一点,我AP preciate它。

If anyone knows of a simple explanation as to how this can be done, I appreciate it.

页面上的内容是我所知道的关于这个问题,我想可以理解的是如何MVC(如果有的话)有助于得非常好,如果它可以更容易与否。

the contents on this page are all I know on the subject, what I wish to be able to understand is how MVC (if at all) helps in getting it done and if it makes it simpler or not.

非常感谢,

里克

推荐答案

在这里回答我的问题,我能找到自己最接近的事是对的迈克哈德洛的博客

The closest thing to answer my question here, that I can find myself is the read on Mike Hadlow's blog

其具体,但是到了点,我下载了 SutekiShop 应用

Its detailed, but to the point, and I downloaded the SutekiShop app.

我还没有达到AHA!此刻还,但它似乎接近。

I haven't yet reached the AHA! Moment yet, but it seems close.

我相信他已经实现了多租户是与角色ID的方式,现在我想我只需要继续读和调整。

I believe the way he has implemented the multi tenancy was with the role id, I guess now I just have to keep reading and tweaking.

最新帖子(据我所知)关于这个问题似乎与WCF使用,以解决这一问题。

His latest post (afaik) on the subject seems to address the issue with WCF use.

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

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