The scenario In a SharePoint federated scenario, the user session has the same validity time as the SAML token. If the user is inactive during a certain period of time, the session must expire. Implementation in SharePoint To achieve this behavior, SharePoint provides a configuration called LogonTokenCacheExpirationWindow. The way it works is detailed in the... read more
The Open Data (OData) is a new protocol for querying and updating data. Find in this site a list of sites that are already supporting OData. Windows Azure Table Storage is one of them but to use this endpoint, the storage key is needed. Sharing an Azure Table is easy using WCF Data Service and... read more
During the last months, we have been working on a sample application for the Windows Azure Architecture Guide. One of the challenges we want to face in the development side is to develop the majority of the sample application following TDD practices. This post shows how we mocked-up Azure Storage Tables by using a IAzureTable... read more
It was a some-hours-troubleshooting the Bad Request (400) response from azure storage when trying to add an object (context.AddObject). The result was simple: the partition key and/or the row key contained Characters Disallowed in Key Fields. In my case I was trying to use as the partition key the user name: “ADATUM\Mary”. Trying to find... read more
For a couple of months I’ve been working with Eugenio Pace, Scott Densmore and Matias Woloski between others in creating the Windows Azure Application Guidance. The business stories of the project are detailed in Eugenio’s blog so, if want to get familiarized with it, I’d recommend starting with this post. The motivation for this post... read more
Published by fboerr on March 13th, 2009 11:37 pm under agile
I’ve signed the Manifesto for Software Craftsmanship. What is it about? The answer provided by Micah Martin in the discussion group is one I most agree with: “…a gentle push away from “crap code” and toward craftsmanship.” This manifesto is created after the agile manifesto but it’s not intended to be an appendix or an... read more
Today I went to my car’s insurance company looking for a refund check (some issue with the car during holidays). After a usual 10 minutes wait, I got to a desk and presented my case with the proper documents to Mr. Payments (don’t know the real name so this will be his name from now).... read more
Published by fboerr on June 19th, 2008 8:45 pm under AddIn
Using .Net System.AddIn framework in an environment that needs to handle concurrency may be a bad idea. The problem is that the communication between Host adapter and AddIn adater, using remoting, can handle only 2 concurent conections. This is because the implemented remoting communication is opening only 2 channels as shown in the picture below. If more... read more
Published by fboerr on June 19th, 2008 8:10 pm under AddIn
Component Description The Application that will use the AddIn. Component that runs on the application’s ApplicationDomain. It is the gateway between the application and the addIn. Component that runs on the addIn’s ApplicationDomain. It is the entry point of the addIn. The AddIn that is executed. The call to it is made by the... read more
While researching on a memory leak created by WPF, I ran across this page: A WPF application that uses a VisualBrush object in a RichTextBox control encounters a memory leak when you try to clean up the RichTextBox control Hopefuly, this post saves your time. The solution is tricky but it works.