CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Glenn Block


Seattle CodeCamp talks

I forgot to post on this, well better late than never. This weekend I'm speaking at the Seattle CodeCamp on WCSF and SCSF. Actually Day one is over, which leaves one more talk left tomorrow on using SCSF and the Disconnected Service Agent.

Session state injection your way with WCSF - Saturday, 1:45 to 3:00 PM

The StateValue mechanism in Web Client Software Factory provides a nice clean way of injecting values to and from ASP.NET's session state. One of it's big advantages is it provides for testability, allowing the values to be substituted in a unit test. Another big advantage is that it allows a declarative way for values from ASP.NET Session's state to be plugged in. But what happens if you aren't relying on ASP.NET Session and have a custom or third-party mechanism? Are you "up the creek without a paddle"? Actually no. Come to this session and I'll show you to "Have it your way" and make our Session State strategy bow to submission.

Track: ASP.NET

Black Belt DSA, building Duplex Agents - Sunday, 10:45 to 12 PM

The Disconnected Service Agent in the Smart Client Software Factory allows you to queue up web service calls to a remote server when disconnected. These calls are played back once the connection returns. This is great for simple message exchange patterns that instantly return a response. However, it does not help you in the case of a long-running operation in which the response is to be returned out-of-band. Come to this session and see how we can tweak the DSA to allow it receive an asynchronous response. We'll utilize a WCF Duplex channel to provide an agent that will make a call and go about it's merry way until it receives a call back from the server. This functionality is beneficial beyond offline scenarios, I'll show you how you can also use this technique to faciliate exchange patterns with multiple responses. For example requesting a large result set of data that is returned in a chunked fashion over multiple successive calls. If you are developing with SCSF / CAB, don't miss this session.

Track: WCF and WF

Today I delivered my WCSF talk which quickly changed from what I had intended to speak on into a deep dive into WCSF. I guess you could call this Agile presenting. Although I didn't deliver the topic I expected, the session went well with a very small but engaged group. A real treat for me was attending Brad Wilson and Jim Newkirk's talk on XUnit.net. In addition to learning about a lot of the history behind NUnit, I took away the following: The problem with TDD is [Test], and it's a brave new world of [Fact]s and [Theory]s. Another treat was being able to geek out with a bunch of the attendees including my work buddies.

I'll post decks and code from the talks after the conference. Hope to see you there!


Published Jan 27 2008, 12:52 AM by gblock
Filed under: , , ,

Comments

Udi Dahan: The Software Simplist said:

If we use a framework that by default does store-and-forward messaging, do we still need a special "disconnected service agent", and what about publish-subscribe?

# January 27, 2008 6:28 AM

wicquer.com Blog » Blog Archive » Google Alert - seattle said:

Pingback from  wicquer.com Blog  » Blog Archive   » Google Alert - seattle

# January 27, 2008 11:54 PM

Glenn Block said:

@Udi

DSA provides two main functions.

1. Is the local queuing mechanism for invocations against web services which is acting as a store-and-forward messaging.

2. Is the connectivity awareness, as the DSA includes the connection monitor which will monitor various network routes to determine whether or not there is a conneciton. You can attach pricing to each connection to deal with latency, so that it can prioritize which connection to use i.e. wireless, wired, etc. In terms of verifying connectivity, the DSA does not simply validate that a network connection is present, but it will ping the site specified in configuration to ensure that sites are actually reachable.

The connection monitor also notifies the application as to whether or not it is online / offline thus allowing you to have specific handling in your app such as display on a status bar, or switching to use a local cache.

# January 28, 2008 1:22 AM

Seattle CodeCamp talks — Buckles and belts. said:

Pingback from  Seattle CodeCamp talks — Buckles and belts.

# April 10, 2008 4:29 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About gblock

Glenn Block is the Technical Product Planner for the Client UX program at patterns & practices. As Product Planner he is responsible for driving the vision and creation of p&p client deliverables including the Web Client and Smart Client software factories. Prior to joining Microsoft, Glenn has lived in various roles being "in the trenches" with developers, including being responsible for the overall architecture and technology direction. He has worked in both large and small organizations building enterprise systems for financial services, manufacturing, and print & mail on multiple platforms including .NET and Java. His technology passions are in software frameworks, architecture and systems integration. He resides with his wife and 3 year old daughter in Seattle (his other passion). Check out Devlicio.us!

This Blog

Syndication

News

View Glenn Block's profile on LinkedIn

Me