SharePoint 上的 ASP.NET Web 窗体 [英] ASP.NET Web Form on SharePoint

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

问题描述

嘿伙计们

我想在 SharePoint 服务器上创建和部署一个 ASP.NET Web 表单,它可以在 SharePoint 列表(或库)中创建文档.由于我对这两种技术都没有经验,因此如果有人指导我使用正确的工具,我将不胜感激.我应该使用 Visual Studio 还是 SharePoint 设计器?另外,我在 MSDN 上阅读了一篇关于在 Windows SharePoint Services 3.0 _layouts 文件夹中部署 ASP.NET Web 应用程序"的文章.这是最佳实践还是我应该使用基于 webpart/解决方案的部署?

I would like to create and deploy an ASP.NET web form on SharePoint server which can create document in SharePoint list (or library). Since I'm not experienced in both these technologies so would appreciate if someone guides me to the right tool. Should I use Visual Studio or SharePoint designer ? Also, I was reading an article on MSDN about "Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder". Is it the best practise or should I go with webpart/solution based deployment?

瑞希

推荐答案

根据您的需要,推荐使用自定义 ListItemEventReceiver 解决方案.

Based on your need, custom ListItemEventReceiver is the recommended solution.

如果您需要一个 UI &在其他页面中重用它,然后 WebPart 是要走的路.自定义应用程序页面是此处最不受欢迎的方法.

If you are going to need an UI & reuse it in some other page, then WebPart is the way to go. Custom application page is the least preferred approach here.

这里的一个例子:http://blah.winsmarts.com/2006-7-Sharepoint_2007__List_Events_Practical_Example__Creating_a_rigged_survey.aspx

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

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