Tombstoning in Windows Phone 7.5

There is quite a bit written on how to handle tombstoning on a Windows Phone. Most of the guidance is for code-behind developers. Here is an MSDN article (How to: Preserve and Restore Page State for Windows Phone) that shows how to use the Page’s OnNavigatedTo and OnNavigatedFrom methods to preserve and restore page state….

0

Case Study: TailSpin Windows Phone Survey Application

We are just about to release an update to the Windows Phone 7 Developer Guide that p&p shipped one year ago. The updated guidance takes the same scenario but updates the phone client application leveraging features in the Windows Phone 7.1 OS Mango release. We will ultimately publish the final bits and docs on MSDN…

0

Composite Services Guidance: External Routing Configuration sample

Let me give you a little background on this sample. If you look at the WCF Routing Service, you can quickly and easily configure a router with endpoints and message filters in the web.config. This is a great way to set up context based routing. You can configure a message filter that identifies messages that…

3

Composite Services Guidance–Release Candidate

Yesterday we uploaded a release candidate drop of our Composite Services Guidance to CodePlex. This should be very close to our final release. The following is just a few items included in the RC drop that you may not have seen before: Enhancements to the Inventory Catalog Explorer (ICE) tool Capability Composition sample Canonical Versioning…

2

Composite Services Guidance – CTP1

Yesterday we shipped the first public drop of our guidance for building composite services. This guidance includes several SOA pattern implementations such as Policy Centralization but I’m most excited about the work we’ve done around capturing business related service metrics. We provide the ability to define the metrics to be collected in service policies and…

0

Integrating JavaScript Unit Tests with Continuous Integration

One of the main stories for the Web Client Developer Guidance project was to learn how to manage the JavaScript code that is required in modern web applications. This includes how to organize JavaScript, how to load it on a page (especially a problem when doing composite UI), and also how to test it. This…

2

SPG Continuous Integration builds not run on instance of SharePoint

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 that have SharePoint installed. Several services found in the SPG Partner Portal application access SPFarm.Local. Developers…

2

Using Typemock Isolator for Integration Tests

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 simulate running our components in the context…

1

What happened to my SPContext?

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 work fine when activating the feature via the SharePoint web UI, but don’t work when activating the feature via STSADM –o…

2

Stack Overflow when building up SiteMap structure

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 that traverses the xml and builds corresponding sitemap nodes. All of a sudden I get a stack overflow exception. No…

2