开发者

Moving from WCF RIA Beta to RC: best practices?

I have an existing WCF RIA project built on the Release Candidate; I'm now moving to the Release version & have discovered many changes. Da开发者_运维百科vid Scruggs made the following comment on his (MSDN) blog:

"If you’ve written anything in SIlverlight 4 RIA Services, you’ll need to rewrite it. There has been a lot of refactoring and namespace moves."

Having made a brief attempt to compile the old solution with the new RIA framework I'm inclined to agree. My current plan is to:

  • remove the Silverlight Business Application projects from the Solution
  • rebuild the EF4 items from the database
  • create a new Silverlight Business Application project
  • re-add the files (XAML, CS) from the old Silverlight Business Application project

Does this sound like a reasonable approach? I think it's cleaner than trying to manually alter the existing project.


If your project started with a Silverlight Business Application then yes, that is a decent way to go about it.

There are quite a few changes in that template that your work will depend on, so having the base code working again makes it easier to do the minor tweaks needed. For me it was mostly namespaces, but having all of the Login controls throwing a fit over namespaces and undefined type etc, makes it feel like more of a problem than it is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜