Everything SharePoint and XAML

My continuous learning of SharePoint, XAML, Silverlight, Windows Phone 7, Windows 8, Office, VSTO, C#…

Archive for October, 2010

Links (10/25/2010)

Posted by Steve Pietrek on October 25, 2010

SharePoint

  1. Silverlight and Sharepoint 2010: Getting Started – I need to do my series on SharePoint and Silverlight integration.
  2. Blog Post: Office 365: Part 1 – An Overview
  3. SP2010 Branding Tip #13 – Hiding the Recently Modified on Team Sites
  4. Querying an SPFieldMultiLineText field for an exact line match with LINQ
  5. How to register a javascript script block in a SharePoint Application Page
  6. Hiding the SharePoint Ribbon from Anonymous Users
  7. SharePoint: JavaScript in Quick Launch and Top Link Bar!
  8. Improving Web Part Performance by Creating a Base Page Layout Type
  9. Getting Started with jQuery Templates and SharePoint 2010
  10. Getting Started with the SharePoint Developers Tools in Visual Studio 2010
  11. Even More Resources for SharePoint Developers
  12. Where are Assemblies in Sandboxed Solutions Deployed?
  13. How to Attach an Event Receiver to the Web Added Event And For What Purpose
  14. SharePoint 2010 and the iPad
  15. Always Create Your Own Group Templates with SharePoint Ribbon Customizations
  16. Using SharePoint Web Controls
  17. Sample: Accessing SharePoint 2010 Data with the .NET Client Object Model
  18. Video: Accessing SharePoint Data with the .NET Client Object Model
  19. Accessing SharePoint Data with the .NET Client Object Model (Visual How to)
  20. The Power of Classifying in SharePoint 2010 – White Paper
  21. 50 SharePoint 2010 Interview Questions With Answers – IT Pro / Architect
  22. Handling Events in the SharePoint Ribbon

Silverlight

  1. Step-by-Step Guide to Silverlight Shape Controls
  2. Installing Silverlight applications without the browser involved
  3. S-OOB + W7 = ? – associate a .xap file with sllauncher.exe
  4. How to distribute a Silverlight OOB Application?
  5. Better Silverlight 4.0 Installation and Upgrade Experience
  6. Dan Wahlin’s on MVVM
  7. Deploying Silverlight assemblies via NuPack
  8. Using The Silverlight Data Pager Control With View Model / MVVM
  9. InfoWorld review: Microsoft Silverlight 4 vs. Adobe Flash 10.1
  10. RichTextBox.Xaml Builder Add-In for Expression Blend 4
  11. New Online XAML Interface Designer Released (Open-Source)
  12. Sterling Isolated Storage Database with LINQ for Silverlight and Windows Phone 7
  13. Making the Most of Silverlight Text Rendering
  14. Developing a (very) Lookless Silverlight Radial Gauge Control
  15. Developing a Lookless Silverlight Gauge Control (part 2)
  16. How to detect installed Silverlight version?
  17. Simplest way to Create a Non-Movable Silverlight Child Window
  18. Silverlight and .NET RIA Services – Step by Step – 7
  19. Silverlight and .NET RIA Services – Step by Step – 8
  20. Silverlight and .NET RIA Services – Step by Step – 9
  21. MVVM Implementation Toolkits Help

WP7

  1. 31 Days of Windows Phone | Day #1: Project Template
  2. 31 Days of Windows Phone | Day #2: Page Navigation
  3. 31 Days of Windows Phone | Day #3: The Back Button Paradigm
  4. 31 Days of Windows Phone | Day #4: Device Orientation
  5. 31 Days of Windows Phone | Day #5: System Theming
  6. 31 Days of Windows Phone | Day #6: Application Bar
  7. 31 Days of Windows Phone | Day #7: Launchers
  8. 31 Days of Windows Phone | Day #8: Choosers
  9. 31 Days of Windows Phone | Day #9: Debugger Tips
  10. 31 Days of Windows Phone | Day #10: InputScope & TextBoxes
  11. 31 Days of Windows Phone | Day #11: Accelerometer
  12. 31 Days of Windows Phone | Day #12: Making A Phone Vibrate
  13. 31 Days of Windows Phone | Day #13: Location Services
  14. 31 Days of Windows Phone | Day #14: Tombstoning (Multi-tasking)
  15. 31 Days of Windows Phone | Day #15: Isolated Storage
  16. 31 Days of Windows Phone | Day #16: The Panorama Control
  17. 31 Days of Windows Phone | Day #17: The Pivot Control
  18. 31 Days of Windows Phone | Day #18: WebBrowser Control
  19. 31 Days of Windows Phone | Day #19: Push Notifications
  20. 31 Days of Windows Phone | Day #20: Map Control
  21. 31 Days of Windows Phone | Day #21: Silverlight Toolkit for Windows Phone
  22. 31 Days of Windows Phone | Day #22: Apps vs. Games
  23. Architecting WP7 – Part 1 of 10: Navigation Framework
  24. Architecting WP7 – Part 2 of 10: Pivot and Panorama Issues
  25. Architecting WP7 – Part 3 of 10: Enough Architecture (or Where is my VM)
  26. Architecting WP7 – Part 4 of 10: Client-side Data
  27. Architecting WP7 – Part 5 of 10: Tombstoning
  28. Architecting WP7 – Part 6 of 10: Loosely Coupled Messaging
  29. Developing Windows Phone 7 Applications for SharePoint 2010
  30. ResourceDictionary in WP7
  31. Windows Phone 7 RTM charting using the Silverlight Control Toolkit
  32. Silverlight and Windows Phone 7 Performance Tips
  33. Hello, Windows Phone
  34. You want a wide tile icon on your WP7 application eh? I’m afraid I have some bad news for you.
  35. Windows Phone Tutorial: Why Windows Phone Developers Should Must and Are Learning and Using Expression Blend
  36. WP7 Tip: Setting the Panorama Page After Tombstoning
  37. Designing for Windows Phone 7
  38. Why Use the MVVM Pattern with Silverlight Applications?
  39. Silverlight TV 50: Scott Guthrie Discusses the State of Silverlight

Posted in SLLinks, SPLinks | Comments Off on Links (10/25/2010)

Links (10/21/2010)

Posted by Steve Pietrek on October 21, 2010

Yep, it has been way too long since I wrote a links post. Moving to a new city (Raleigh, NC), jumpstarting a new office, and learning new technologies have taken my available time. I hope to continue with my links blog posts. Definitely a great way to stay up-to-date on the latest technologies and news.

SharePoint

  1. SharePoint 2010: Planning and Deploying User Profiles
  2. SharePoint 2010: Governance Planning
  3. SharePoint IE8 Accelerator
  4. The SharePoint 2010 developer center
  5. SharePoint Cascading drop downs using jQuery
  6. Adding Intellisense for SharePoint 2010 Custom Workflow .Actions File
  7. Set object caching user accounts with PowerShell
  8. SharePoint 2010 Themes Gallery
  9. Video: Creating Custom SharePoint 2010 Field Types
  10. Creating Multicolumn SharePoint 2010 Field Types (Visual How To)
  11. Creating Custom SharePoint 2010 Field Types (Visual How To)
  12. Video: Creating Multicolumn SharePoint 2010 Field Types
  13. Blog Post: Microsoft launches the Online Service Health Dashboard for BPOS – Standard customers World Wide
  14. Blog Post: 12th Largest State Is 1st to the Cloud with BPOS
  15. Features of a SharePoint 2010 Learning Platform- The power of search for learning (1 of 3)
  16. Features of a SharePoint 2010 Learning Platform- The power of search for learning (2 of 3)
  17. Chapter 3: SharePoint Developer Tools in Microsoft Visual Studio 2010 (Inside SharePoint 2010)
  18. Chapter 4: Sandboxed Solutions (Inside SharePoint 2010)
  19. How to set values for a checkbox choice list field? (SPFieldMultiChoice)
  20. SharePoint 2010 Fixed Width Master Pages Revisited
  21. “Object reference not set to an instance of an object” when using SharePoint’s ClientContext.Current in Silverlight
  22. What’s My Correlation ID
  23. Comparison of User Experience / Usability differences from MOSS 2007 to SharePoint 2010
  24. SharePoint development environments, my guidance
  25. Inconvenient SharePoint 2010 Content Query Web Part and Anonymous Access
  26. Minifying custom JavaScript files in SharePoint 2010
  27. SharePoint 2010 Centered Fixed Width Design
  28. Enable Small Social Buttons in SharePoint 2010
  29. Enumerating All SPWebs In SPFarm.Local Into Strongly Typed Collection
  30. Why There is a Shortage of SharePoint Experts
  31. Using Business Connectivity Services to Display SharePoint 2010 ULS Logs
  32. Using jQuery validation in a sharepoint web part
  33. Deploying an ASP.NET HttpHandler to SharePoint 2010
  34. Setting up Audiences in SharePoint
  35. SharePoint REST (ODATA) is Insecure
  36. Nifty trick with Visual Studio 2010 replaceable parameters for SharePoint 2010 Web Parts
  37. Walkthrough of creating association between Sharepoint BDC entities using Visual Studio 2010
  38. Uses of SharePoint
  39. Top 10 technical questions you should be asking before upgrading your customer to SharePoint 2010
  40. How to provision SharePoint 2010 Rating columns in Content Types
  41. Push or pull publishing pages from SharePoint 2010
  42. Extending LINQ to SharePoint Entity Models for SharePoint Server 2010 or Custom Field Types
  43. Service Application Overview in SharePoint 2010
  44. SharePoint 2010 Service Application Design Best Practices
  45. Building Secure SharePoint Service Oriented Farms

Silverlight

  1. **** Understanding the Role of Commanding in Silverlight 4 Applications
  2. Silverlight Media Framework Now With Windows Phone 7 Goodness
  3. Yet Another Podcast Show #3 – John Papa on MVVM and Patterns
  4. The Future of Silverlight
  5. PropertyOf and INotifyPropertyChanged.PropertyChanged without strings
  6. Debugging Silverlight with Visual Studio and Firefox
  7. Listening to DependencyProperty changes in Silverlight
  8. Flashing Text in Silverlight 4
  9. Encryption in Silverlight and .NET Applications
  10. SketchFlow from a developer point of view – Part II – Dev Stuff
  11. Building a DataGrid Control for Silverlight for Windows Phone – Part 1
  12. “Fade in” Screen in Silverlight 4
  13. Loading a static XML file to your Windows Phone/Silverlight App
  14. Windows Phone 7 Developer Tools Released
  15. Architecting Enterprise LOB Silverlight applications – Part 3
  16. Simplifying Silverlight Web Service Calls with Reactive Extensions (Rx)
  17. Styles In Silverlight
  18. A DotNetNuke Silverlight Expense Report Module
  19. WCF RIA Services Part 4 – MVVM articles is live
  20. WCF RIA Services Part 6 – Validating Data
  21. Validating Data in Silverlight 4 Applications – IDataErrorInfo
  22. Unit Testing XAML Data-Bindings in Silverlight
  23. Windows Phone 7 MVVM Template for Visual Studio
  24. Async Data Validation
  25. Navigating between Pages in Different Xaps (by using MEF)
  26. A Dial (User) Control
  27. How To Start An Animation From View Model (MVVM)
  28. Silverlight: Why I feel “Design Is The Most Important Thing”

Azure

  1. Blog Post: SQL Azure and On-Premise Solutions – Weighing your Options
  2. Understanding the Procedure Cache on SQL Azure

Posted in SLLinks, SPLinks | Comments Off on Links (10/21/2010)

Book Review: Microsoft Silverlight 4 and SharePoint 2010 Integration

Posted by Steve Pietrek on October 18, 2010

If you don’t already know, I am passionate about Silverlight. I love working in it. I love talking about it. Where Silverlight really shines is when it is integrated with SharePoint. When calling SharePoint 2007 web services (assuming you have the cross domain files defined) allow you to create rich applications that can be integrated in (or outside) of SharePoint very quickly. The biggest issue working with SharePoint 2007 is if the web service doesn’t have the necessary API’s. If the web service doesn’t have the required API’s, you had to write custom web services or remove the feature. I was quite excited to hear that Microsoft was going to support a new way to access SharePoint content from a Silverlight application in SharePoint 2010. The feature is known as the Client Object Model. The book Microsoft Silverlight 4 and SharePoint 2010 Integration by Gastón C. Hillar covers the new Client Object Model functionality along with WCF Services.

Chapter 1 is an introduction chapter. The first thing it covers is the benefits of Silverlight with SharePoint. The next section discusses setting up a development environment. I like how it goes through each application and gives a description of the application. Developers need to understand how to manually install the application rather than relying on Web Platform Installer. The 3rd section walks through creating a Silverlight application. Finally, once the application is built, the steps to deploy the Silverlight application to SharePoint is covered.

In Chapter 2, you begin learning how to interacting with SharePoint data and services. When working with SharePoint content, you need to have a full understanding of the fields you are working with. One great tip is using the Server Explorer to view the InternalName and FieldValueType properties of a field. The book then goes through some examples of using the Client Object Model to interact with SharePoint content. It does so by listing out the code up front and then diving into each method. Many times you see the detail of how something is done and then see the full source listing. It did take a bit of switching back and forth between pages to understand what was going on. When working with Silverlight, all requests are asynchronous; however, unlike SharePoint 2007, the request is on a different thread. In order to update the UI, you must use Dispatcher.BeginInvoke. The book does a good job of covering this. The next area is hooking up your Silverlight application with SharePoint and how to debug it. Finally, the book covers tips on 32-bit vs. 64-bit, Visual Studio 2010 multi-monitor support, scalability, and multiple browsers.

Chapter 3 expands on the previous chapter by adding error handling and more CRUD operations (outside of READ). The first CRUD operation is Create. It walks through inserting items using the Client Object Model. The chapter demonstrates how to handle asynchronous calls when the request is successful and unsuccessful. One nice piece is it shows using the Server Explorer to work with more complex field types (Priority and Status). Too many times you see examples where only simple field types (string, number, and date) are used. The next section in the chapter is creating multiple Silverlight applications that communicate with each other – a huge plus IMO. Finally, the chapter finishes the CRUD operations by cover delete and update using the Client Object Model.

Chapter 4 covers more complex topics to create dynamic business solutions. The first section in the chapter (quite a bit of content) is creating Silverlight application that leverages external content types (BCS) in order to integrate with external databases. The next section discusses the process of creating an out-of-the-browser application. The final section walks through interacting with SharePoint workflows.

Chapter 5 discusses a new feature in SharePoint 2010 and that is the WCF Data Services. Instead of interacting with SharePoint 2010 data using the Client Object Model, your Silverlight application can consume data exposed by WCF Data Services. WCF Data Services supports the Open Data Protocol (OData) which has become quite popular recently. WCD Data Services allows you to call URL (i.e. ListData.svc) to retrieve content – similar but not as feature rich as RPC that could be used by Silverlight to call SharePoint 2007 content. The chapter starts off discussing using ListData.svc to retrieve list information. The next section walks through displaying SharePoint list content consuming a SharePoint 2010 WCF Data Service. The next section covers using SharePoint 2010 WCF Data Services to perform CRUD operations. Finally, the chapter covers advanced debugging techniques such as using Fiddler to debug HTTP requests and using the SharePoint Developer Dashboard.

Chapter 6 covers interacting with rich media and animations. These are two areas where Silverlight really shines and is very complex to do in standard SharePoint web parts.

I enjoyed reading Microsoft Silverlight 4 and SharePoint 2010 Integration. I truly believe Silverlight is a game changer when it comes to SharePoint. Being able to create applications that integrate with SharePoint either in the browser, out-of-the-browser, in a Windows Gadget, or on a Windows 7 Phone is very powerful. I am amazed how much more productive I am creating Silverlight applications compared to traditional SharePoint web parts. The only area missing from the book is a chapter on MVVM. I would recommend this book to developers who have some basic knowledge in Silverlight and SharePoint – not for beginners.

Posted in SLBookReview, SPBookReview | Comments Off on Book Review: Microsoft Silverlight 4 and SharePoint 2010 Integration

October 2010 TriSPUG Meeting Announcement

Posted by Steve Pietrek on October 5, 2010

Mike Oryszak will be speaking at the TriSPUG meeting on October 5 from 6:00 PM – 8:00 PM. Mike’s topic is as follows:

A Developers Introduction to SharePoint Search. The session will cover Search from a Developer’s perspective including Query Structure, how to configure the standard search web parts, how to format the results display along with how to extend search and integrate it into your customizations using the API for rich user experiences.

The Triangle SharePoint User Group was formed in 2008 to provide an outlet for developers, IT, and business users who are interested in learning, sharing, and growing their knowledge in Microsoft SharePoint. Their goal is to bring together local, regional, and national speakers to share their knowledge of SharePoint and foster the SharePoint community in the greater Raleigh Durham area. They cover the entire spectrum of SharePoint topics. The group meets on the 1st Tuesday of each month. Attendance is free and informal. All interest levels and experience levels are welcome!

The meeting will be at Tek Systems – Raleigh Office.

Posted in SPUserGroups | Comments Off on October 2010 TriSPUG Meeting Announcement