Code samples from the Project 2010 SDK webcast

Code samples from the Project 2010 SDK webcast

  • Comments 0

The attached WebcastSamples_Project2010SDK.zip file contains three complete Microsoft Visual Studio 2010 projects for code samples that were briefly discussed in the Project 2010 Software Development Kit (SDK) Drilldown webcast:

  • ProjectGuideAddIn:  Uses Microsoft Office development tools (VSTO) in Visual Studio 2010 to add a toggle button to the Project Standard or Project Professional 2010 ribbon, which turns the Project Guide on or off. You can install the compiled add-in by running setup.exe in the ProjectGuideAddIn\publish subdirectory. The add-in uses a hard-coded location of the Project Guide files, C:\PG\DefaultProjectGuideFiles. To install the Project Guide files, install the Project 2010 SDK download, and then extract ProjectGuideFiles.zip to C:\PG.
  • ASMXLogon_MultiAuth:  Shows how to make ASMX web service calls to the PSI on a Project Server installation that uses both Windows authentication and Forms authentication. The solution uses the LoginWindows and Project proxy source files, available in the Project 2010 SDK download, and derives Web service classes that override the Web request headers. ASMXLogon_MultiAuth is a complete solution that implements the Using Claims Multi-Authentication discussion in the Prerequisites for ASMX-Based Code Samples article.
  • WCFLogon_MultiAuth:  Shows how to make Windows Communication Foundation (WCF) service calls to the PSI on a Project Server installation that uses both Windows authentication and Forms authentication. The WCF solution does the same job that the ASMX solution does, but uses the ProjectServerServices.dll proxy assembly for the PSI services instead of proxy source files. The Project 2010 SDK download includes a script to compile the proxy assembly from the proxy source files. The WCF solution also uses an App.config file to configure the WCF client endpoints. Because the solution uses the ProjectServerServices.dll proxy assembly, you can see Intellisense descriptions while programming the PSI by using the ProjectServerServices.xml file from the SDK download. WCFLogon_MultiAuth is a complete solution that implements the Using Claims Multi-Authentication discussion in the Prerequisites for WCF-Based Code Samples article.

The ASMXLogon_MultiAuth and WCFLogon_MultiAuth solutions are useful to compare the differences in developing a basic application with ASMX web services and WCF services for the PSI -- as well as to learn how to handle Project Server installations that use both Windows and Forms authentication.

Attachment: WebcastSamples_Project2010SDK.zip
Leave a Comment
  • Please add 1 and 6 and type the answer here:
  • Post