Francis K. Cheung

The journey of an agile programmer...

June, 2009

  • Francis K. Cheung

    SPG Continuous Integration builds not run on instance of SharePoint

    • 2 Comments
    Our Continuous Integration builds are run on a build server that has the necessary SharePoint assemblies, but with no installed instance of SharePoint. Licensing issues aside, this causes an interesting problem when unit tests are developed on dev boxes...
  • Francis K. Cheung

    Using Typemock Isolator for Integration Tests

    • 1 Comments
    Yeah, I know. Typemock Isolator is great for unit testing against API’s that are hard to mock, but this last iteration, I found a new use for Typemock Isolator. I worked with our test team to develop a set of integration tests that are run by MSTest and...
  • Francis K. Cheung

    What happened to my SPContext?

    • 2 Comments
    This last iteration, we ran an interesting issue when services that we request through the SharePointServiceLocator depend on SPContext.Current. This seemed like a reasonable dependency assumption. We consume these services in feature receivers. They...
  • Francis K. Cheung

    Stack Overflow when building up SiteMap structure

    • 2 Comments
    In iteration 10, we wrote HierarchicalConfigSiteMapProvider that builds up a tree of sitemap nodes based on xml retrieved from the hierarchical ConfigManager. Being a newbie with SiteMapProviders, I overwrote BuildSiteMap calling a simple recursive method...
  • Francis K. Cheung

    Granularity of SharePoint Features and Solutions

    • 1 Comments
    In our SPG v1 guidance we discussed packaging site elements into features. This is particularly important if you are using the Visual Studio extensions for WSS. We found that whenever you add a site element into a VSeWSS project, a new feature is created...
  • Francis K. Cheung

    SPG v2 Iteration 10 Drop

    • 1 Comments
    Iteration 10 is complete and the drop can be downloaded here . In iteration 10 we mainly concentrated on refactoring, code cleanup and reusable assets. We will continue refactoring and scrubbing the code in the remaining iterations but please take a look...
Page 1 of 1 (6 items)