的SharePoint Web部件VS ASP.NET Web部件 [英] SharePoint Web part vs ASP.NET web part

查看:126
本文介绍了的SharePoint Web部件VS ASP.NET Web部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能有人给我的SharePoint Web部件和ASP.NET Web部件之间的区别。我发现描述的差异非常少的信息。

Can some one give me the difference between a SharePoint web part and an ASP.NET web part. I found very less information describing the differences.

先谢谢了。

推荐答案

<一个href=\"http://msdn.microsoft.com/en-us/library/bb153523%28office.12%29.aspx#WSS3ASPNET20WebParts_ChoosingtherRightapproachApproach\">MSDN - 选择ASP.NET 2.0 Web部件和Windows SharePoint Services 3.0之间的Web部件

您应该创建ASP.NET 2.0 Web部件时,您可以。然而,在有些情况下使用基于SharePoint的Web部件可能提供的优势。该表提供了决策矩阵,以帮助您根据自己的业务需求选择最佳方案有少数例外。

You should create ASP.NET 2.0 Web Parts whenever you can. However, there are a few exceptions where using SharePoint-based Web Parts might offer advantages.. The following table provides a decision matrix to help you choose the best option depending on your business needs.

创建自定义的ASP.NET 2.0 Web部件


  • 对于大多数的业务需求。

  • For most business needs.

要发布你的Web部件的网站
该运行ASP.NET 2.0或SharePoint
网站。

To distribute your Web Part to sites that run ASP.NET 2.0 or SharePoint sites.

当你要重复使用一个或多个
对于ASP.NET 2.0中创建Web部件
网站上的SharePoint网站。

When you want to reuse one or more Web Parts created for ASP.NET 2.0 sites on SharePoint sites.

要使用提供的数据或功能
由Windows SharePoint Services 3.0。
例如,你正在创建一个在Web
与网站或列表的一部分工作
数据。

To use data or functionality provided by Windows SharePoint Services 3.0. For example, you are creating a a Web Part that works with site or list data.

创建基于SharePoint的Web部件


  • 当您要迁移一组Web
    使用基于SharePoint的Web部件
    部分基础设施到Windows
    SharePoint Services 3.0中。

  • When you want to migrate a set of Web Parts using the SharePoint-based Web Part infrastructure to Windows SharePoint Services 3.0.

要创建跨页连接。

要创建Web之间的连接
部分是外部的Web部件
区。

To create connections between Web Parts that are outside of a Web Part zone.

要与客户端的连接工作
(Web部件页服务组件)。

To work with client-side connections (Web Part Page Services Component).

要使用数据缓存基础设施
允许缓存的内容
数据库。

To use a data-caching infrastructure that allows caching to the content database.

这篇关于的SharePoint Web部件VS ASP.NET Web部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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