ASP.NET Forums
首页 搜索 用户列表 FAQ 注册 登录  
ASP.NET Forums » 探索2005 » 探索Visual Studio 2005 » Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
  Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
帖子发起人: venjiang   发起时间: 2006-4-19 4:03 PM   回复数: 4
« 上一主题 下一主题 »
楼主
  2006-4-19, 4:03 PM
venjiang 离线,最后访问时间: 10/10/2008 4:35:26 PM venjiang



发帖数前10位

超级管理员
职务: 超级管理员
参谋长
等级: 参谋长
注册: 2004年6月8日
区域: 中国河北
积分: 2,099
精华: 9
发贴: 1,491

ASP NET Forums2.0 中文版开发团队
  Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
 

Today we released the source code for the built-in ASP.NET 2.0 Membership, Role Management, Site Navigation, Session State, Profile, Web Events, and Web Part Personalization providers (basically all of the built-in providers that ship in the .NET 2.0 Framework Redist).  You can download them here, and learn more about the ASP.NET 2.0 Provider Model from this site here.

The source code is released under a permissive license that allows both commercial and non-commercial re-use of the source code, and should be very useful both for people wanting to build their own custom providers (you can take our source and just tweak it if you want), or to better understand/debug our existing ones.

The provider source code comes with a buildable VS 2005 Project all setup:

Jeff Prosise also wrote 130+ pages of awesome whitepapers that walkthrough the code, database schema, and how they work.  You can read them here:

  • Microsoft ASP.NET 2.0 Providers: Introduction
  • Membership Providers
  • Role Providers
  • Site Map Providers
  • Session State Providers
  • Profile Providers
  • Web Event Providers
  • Web Parts Personalization Providers

    The beauty of the ASP.NET 2.0 Provider model is that it delivers rich extensibility and flexibility to the built-in productivity features you get with ASP.NET 2.0.  Out of the box with ASP.NET 2.0 you get a secure user management and role credential store (no need to write any database code -- just call Membership.CreateUser() or use the <asp:login> controls and you are good to go).  Because you can plug-in custom provider implementations, though, you also have the flexibility to customize the implementations in the future if you want (or adapt them to go against existing databases or stores that you already have with other applications).  Code written to the Membership APIs or <asp:login> controls will work regardless of what provider you have configured in your web.config file.

    To learn more the new ASP.NET 2.0 Security Features, please check out this post I did a month ago.  It provides links to tons of content (including a nice 12 minute video you can watch to learn how easy it is to add Membership and Roles to a site from scratch).  It also links off to a number of other providers (including Access and MySql ones) that people have already written.

    Hope this helps,


  • IP 地址: 已登录   来自: 已登录    返回顶部
    第 2 楼
      2006-4-20, 10:06 AM
    小鬼仙 离线,最后访问时间: 4/18/2006 10:47:10 AM 小鬼仙



    发帖数前500位

    士兵
    等级: 士兵
    注册: 2006年4月18日
    积分: 13
    精华: 0
    发贴: 13
    Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
     
    下载学习
    IP 地址: 已登录   来自: 已登录    返回顶部
    第 3 楼
      2006-4-20, 11:09 AM
    小鬼仙 离线,最后访问时间: 4/18/2006 10:47:10 AM 小鬼仙



    发帖数前500位

    士兵
    等级: 士兵
    注册: 2006年4月18日
    积分: 13
    精华: 0
    发贴: 13
    Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
     
    有没有具体调用,使用的例子啊,大哥
    IP 地址: 已登录   来自: 已登录    返回顶部
    第 4 楼
      2006-12-14, 3:50 PM
    paofu 离线,最后访问时间: 1/6/2007 4:17:23 PM paofu

    无等级

    士兵
    等级: 士兵
    注册: 2006年9月12日
    积分: 7
    精华: 0
    发贴: 7
    Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
     
    支持.
    IP 地址: 已登录   来自: 已登录    返回顶部
    第 5 楼
      2006-12-14, 3:51 PM
    paofu 离线,最后访问时间: 1/6/2007 4:17:23 PM paofu

    无等级

    士兵
    等级: 士兵
    注册: 2006年9月12日
    积分: 7
    精华: 0
    发贴: 7
    Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
     
    支持.


    http://www.dianshijin.net/
    IP 地址: 已登录   来自: 已登录    返回顶部
     第 1 页 总共 1 页 [共有 5 条记录]
    ASP.NET Forums » 探索2005 » 探索Visual Studio 2005 » Re: Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download
    
    友情链接: hiDotNet官方论坛 | hiDotNet知识库 | 其它友情链接

    Asp.Net Forums version: 2.5.2725
    (C)Copyright 2004-2007, hiDotNet.com. All Rights Reserved.
    意见反馈 | 关于我们

    Powered by Community Server :: Forums 中文本地化: hiDotNet.com