Wrox Programmer Forums
|
BOOK: Beginning SharePoint 2010 Development
This is the forum to discuss the Wrox book Beginning SharePoint 2010 Development by Steve Fox; ISBN: 978-0-470-58463-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning SharePoint 2010 Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2010, 12:10 PM
Authorized User
 
Join Date: Jun 2010
Posts: 18
Thanks: 0
Thanked 6 Times in 5 Posts
Default What is with Chapter 5?

It's missing download files (like SPListEventReceiver.zip), the code isn't very explanatory (on the REST project, when you add the service reference, the figure 5-23 shows HomeDataContext, but the code references TeamSiteDataContext), and even some of the variables are specific to a site and need to be changed to reflect your install (the myRestSvc.Products service proxy for my system turned out to be mySPContext.Products). In one way, it's helping me understand what's going on with the SharePoint implementation, but it's frustrating to spend 45 minutes typing in commands and then have the debugger keep slapping errors in front of you that are due to naming conventions. Since this is a beginners book, I think more effort needs to be made to help us understand where the code ties in with the tools and what to look for with user's system specifics.

P.S. - I did find the SPListEvent project - it's listed as AnnouncementListEvent. That's just sloppy.

Last edited by dloker; July 16th, 2010 at 12:19 PM..
 
Old August 23rd, 2010, 02:46 PM
Authorized User
 
Join Date: Jul 2010
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for the notes....

I ran into the same issues and I'm glad you noted them here...

Appreciated.
 
Old October 28th, 2010, 07:57 AM
Wrox Author
 
Join Date: Jun 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Code in Chapter 5

Hey guys,

The reason for TeamSiteDataContext being in the book is that the SP code-based changed to use HomeDataContext late in the cycle, and this slipped through the cracks in the technical review process.

I'll be doing a scrub of the code here in the coming weeks to make sure some of these issues are worked out.

Also, I'm documenting issues as they are found on my blog as well, e.g. http://blogs.msdn.com/b/steve_fox/ar...-of-notes.aspx.

Apologies for the inconvenience.

Steve
 
Old March 24th, 2011, 02:22 PM
Authorized User
 
Join Date: Dec 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Steve,

Your blog lists a solution to the Value2 issue, how would I amend the later portion of the code in the lstBxProducts_SelectionChanged method?

I'm specifically referring to

Code:
Excel.Worksheet myProductWorksheet = Globals.ThisAddIn.Application.ActiveSheet as Excel.Worksheet;

myProductWorksheet.Cells[1,1].Value2 = "Product";
...
myProductWorksheet.Cells[2,3].Value2 = "txtBxPrice.Text";





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 - Code Download Missing for this Chapter dbaechtel BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 0 August 11th, 2009 11:02 AM
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.