Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
Old August 23rd, 2010, 02:46 PM
Authorized User
Points: 95, Level: 1
Points: 95, Level: 1 Points: 95, Level: 1 Points: 95, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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";
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 04:11 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.