ASP.NET Web 部件是实现门户体系结构的可行技术吗
Web 部件似乎在 Sharepoint 相关开发中广泛使用,但在 ASP.NET WebForms 应用程序中使用它们的示例却很少。 我正在实现一个特定于域的门户框架,喜欢 iGoogle 或 pageflakes 中的“类似小部件”功能,并且希望在我的应用程序中获得这种功能。 从我的角度来看,真正令人不安的问题是拖拽和拖拽。 除非您使用最新的 ASP.NET AJAX futures 库,否则 Web 部件的拖放布局功能在非 IE 浏览器中不起作用。 在我看来,如果微软打算将其作为一项基础技术,那么他们现在应该已经将这些功能转移到了主要产品中。
Web 部件是一种没有出路的技术吗? 如果是这样,还有其他选择吗?
Web parts seem to be used extensively in Sharepoint related development, but examples of using them in asp.net webforms applications are few and far between. I'm implementing a domain specific portal framework and like the "widgetlike" functionality in iGoogle or pageflakes and would like to get that kind of feature in my application. The real troubling issue from my perspective is that the drag & drop layout features of web parts do not work in non-IE browsers unless you use the latest ASP.NET AJAX futures library. It seems to me if Microsoft meant this to be a foundation technology, they would have moved these features into the main product by now.
Are web parts a dead-end technology? If so, are there any alternatives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为它们已经(死了),至少对于开发现代网络浏览器正在寻找的 UI 类型来说是这样。 我的推荐... ASP.NET MVC 和一个不错的 .js 库。 一开始需要做更多的工作,但通过适当的规划和实施,从长远来看,它将为您提供更好的服务。
i think they are (dead), at least for developing the types of UI modern web-browsers are looking for. My recommendation ... ASP.NET MVC and a nice .js library. It's more work out of the gate, but with the proper planning and implementation it will serve you much better in the long run.
我发现了一个非常棒的网站,其中提供了一些实现类似 WebPart 的行为的技巧:
http://blogs.msdn.com/b/nunos/archive/2010/02/16/quick-tips-about-asp-net- mvc-webpart-framework.aspx
I found a really great site about some tips to implementing WebParts-like behaviour:
http://blogs.msdn.com/b/nunos/archive/2010/02/16/quick-tips-about-asp-net-mvc-webpart-framework.aspx
Webpart 是 .NET 基础结构的一部分,是一项基础技术。 使 Web 部件与 J2EE 对应部件兼容的接口技术很少。
Webparts are a part of the .NET infrastructure and are a foundation technology. There are few interface technologies, to make webparts compatible with their J2EE counterparts.