CS 2009扩展Web部件 [英] CS 2009 Extended Web Parts

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

问题描述

是否有人按照"添加扩展的Web部件"中的说明扩展了Commerce Server 2009 Web部件。在CS 2009文档中?


  • 是否有任何问题?

  • 您是否尝试过另一种自定义Commerce Server SharePoint的方法可扩展性工具包代码,例如。复制和重命名类?

  • 当发布另一个版本的CS时会发生什么。我们是否需要更改修改后的代码?

谢谢!

解决方案

你好。主要的"陷阱"使用可扩展性工具包是强名称签名。如果您使用的是默认站点,则这是一个更大的问题。理想情况下,您可以将要修改的位拉到自己的项目中,使用自己的强名称密钥进行构建和签名,然后部署到SharePoint中。

当另一个版本的CS发布时,您将会需要合并您所做的任何代码更改。这就是为什么最好只采取和构建你打算定制的部分,并在发货时使用其余部分。

希望这会有所帮助。

-jb

Has anyone extended the Commerce Server 2009 Web parts by following the instructions in "Adding Extended Web Parts" in the CS 2009 documentation?

  • Were there any gotchas?
  • Have you tried another means of customizing the Commerce Server SharePoint Extensibility Toolkit code, ex. copy and rename classes?
  • What happens when another version of CS is released. Will we have to change modified code?

Thanks!

解决方案

Hi.  The major "gotcha" with the extensibility kit is strong name signing.  This is more an issue if you're using the Default Site that's included.  Ideally, you'll pull the bits that you want to modify into your own project, build and sign with your own strong name key and then deploy into SharePoint.

When another version of CS is released, you'll need to merge any code changes that you made.  That's why it's best to only take and build the pieces you intend to customize and use the rest of the bits as they were shipped.

Hope this helps.

-jb


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

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