简体   繁体   English

在ASP.NET中创建基于订阅的网站

[英]Creating a subscription based website in ASP.NET

I'd like to update my website to make it subscription based. 我想更新我的网站以使其订阅。 It's a ASP.NET Web forms project. 这是一个ASP.NET Web表单项目。 I am looking for the following functionality: 我正在寻找以下功能:

  1. Ability to have users sign up for different plans (Gold, Premium etc) 能够让用户注册不同的计划(黄金,高级等)
  2. Ability to have users upgrade / downgrade to and from plans 能够让用户升级/降级计划
  3. Ability to hook this up to a Payment processor 能够将其连接到支付处理器
  4. Ability to have a credit based system (User buys x credits for $y) as an alternative to plans in (1) 能够拥有基于信用的系统(用户以$ y购买x积分)作为(1)中计划的替代方案

Most of this functionality (if not all) is supported by a large number of websites which makes me think I can leverage on an existing framework instead of re-inventing the wheel. 大多数此类功能(如果不是全部)都受到大量网站的支持,这让我觉得我可以利用现有的框架而不是重新发明轮子。

Need more opinions. 需要更多意见。 Thanks for reading. 谢谢阅读。

Check out this sample project that demonstrates building a subscription service into asp.net. 查看此示例项目,演示如何在asp.net中构建订阅服务。 It is available on MSDN and is called Freemium Web Application Toolkit 它在MSDN上可用,称为Freemium Web Application Toolkit

alt text http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WATFreemium&DownloadId=9048 alt text http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WATFreemium&DownloadId=9048

Instead of creating all the necessary logic yourself you could use a subscription payment service like chargify . 您可以使用像chargify这样的订阅支付服务,而不是自己创建所有必需的逻辑。

This has following advantages: 这具有以下优点:

  • you could start immediately with hosted payment pages 您可以立即开始托管付款页面
  • you can accept credit cards for recurring payments without needing them to signup somewhere else (as I've stated PayPal sadly does not provide this option) 您可以接受信用卡定期付款,而无需在其他地方注册(因为我已经说过,PayPal遗憾地没有提供此选项)
  • you would not have to deal with all the subscription related programming, like sending out emails, handling charge backs and so on 您不必处理所有与订阅相关的节目,例如发送电子邮件,处理退款等

There are plenty of other subscription payment collection services out there. 那里有很多其他订阅付款收集服务。 The once I know are: 我曾经知道的是:

For the Web forms project template, you will need to implement the Web Profile Builder wrapper class to enable access to user profiles. 对于Web窗体项目模板,您需要实现Web Profile Builder包装类以启用对用户配置文件的访问。 This can be implemented with PayPal. 这可以通过PayPal实现。 I've done something similar here , hopefully this will point you in the right direction :-) 我在这里做了类似的事情 ,希望这会指出你正确的方向:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM