窗体身份验证提供了Azure的应用程序MVC2? [英] Forms Authentication Provider for Azure MVC2 app?

查看:121
本文介绍了窗体身份验证提供了Azure的应用程序MVC2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在理想情况下,我想使用的Azure表存储的供应商,但SQL Azure中也可以工作。任何到目前为止我挖出来是一岁多,使用去precated的方法。即过时的code样品,软件开发工具包和IDE。

Ideally, I'd like to use Azure table storage as the provider, but SQL Azure will also work. Anything I've dug up so far is over a year old, using deprecated approaches. I.e., outdated code samples, SDKs and IDEs.

正如标题状态,这将适用于在天青运行MVC2应用程式。实施例中,code,链接等不一定必须是为MVC。任何有关使用Azure上的窗体身份验证会做一个.NET 4.0的Web应用程序。

As the title states, this would be applied to an MVC2 app running in Azure. Examples, code, links, etc. do not necessarily have to be for MVC. Anything related to a .Net 4.0 web app using Forms Authentication on Azure will do.

推荐答案

微软最初公布了一组样本提供者的PDC08 SDK - 但这些绝对不推荐用于商业用途

Microsoft originally released a set of sample providers with the PDC08 SDK - but these definitely are not recommended for commercial use.

日前该项目已产生了一些新的 - HTTP://azureproviders.$c$cplex.com/ - 我建议你用那一个,因为它是活code走出去 - 你可能还能够有所贡献回到它

Recently this project has produced some new ones - http://azureproviders.codeplex.com/ - I'd recommend going with that one as it is "live code" - you might also be able to contribute something back to it.

如果你使用这些供应商,请注意,每笔交易收费天青 - 为$ 0.01基准利率每10000交易 - 而这些供应商中的逻辑会导致出现相当多的交易。所以,如果你的网站是繁忙的,有很多会员的活动,那么它可能会制定出运作相当昂贵。

If you do use these providers, please be aware that Azure charges per transaction - at a base rate of $0.01 per 10000 transactions - and that the logic within these providers can cause "quite a few" transactions to occur. So if your site is busy and has a lot of membership activity, then it could work out quite expensive to operate.

如果您使用的是SQL Azure的会员,那么会员SQL是标准的 - http://support.microsoft .COM / KB / 2006191 - 在ASP SQL脚本唯一的区别是在会话存储(因为会话使用SQL Agent来清除会议 - 和SQL代理不支持SQL Azure上)

If you are using SQL Azure membership, then the membership SQL is standard - http://support.microsoft.com/kb/2006191 - the only differences in the ASP SQL scripts is in the Session storage (since Session uses SQL Agent to clear sessions - and SQL agent is not supported on SQL Azure)

就个人而言,我已经使用的测试/演示站点表的存储 - 但对于任何真正的我走向SQL Azure的 - 它更容易查询,运行报告,备份等

Personally, I've use the Table storage for test/demo sites - but for anything "real" I've moved towards SQL Azure - it's easier to query, to run reports, to backup, etc

这篇关于窗体身份验证提供了Azure的应用程序MVC2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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