ASP.NET Services

ASP.NET Services

This evening I decided that I would venture outside and go and see a movie. Having not judged the distance to the cinema very well I arrived a good twenty minutes early, which meant that I could watch the first part of an asp.net video podcast. The show was talking about reusing the asp.net services via atlas. It shows how you can wrap the services in a webservice that can be called asychronously by an atlas enabled page. Interestingly, this is the same process you go through if you want to reuse these services in an occasionally connect application.

So I guess the question is why these asp.net services aren’t exposed by default? The short answer is probably that there wasnt demand for it. That said, it would be an interesting project for someone in the community to do – build a set of services that can be dropped onto a site in order to expose the asp.net services for that site. This of course would have to be accompanied with a client side class library that can be configured to reference the services by url. It should also be configured to cache information locally and make update calls asynchronously using the disconnected webservice agent.

The other question is why the asp.net services are relevant to a windows application:

Authentication/Roles – Absolutely, after all we need to know what functionality a user can access, assuming they are able to login. Of course, like a domain computer the app would need to be connected when a user first signs into the app. There after their credentials/roles can be cached.

Profile – Especially in light of WPF, where we can use styles to change the appearance of an application the users profile becomes important. Simple things, like where windows are docked and which toolbars are visible, can be included in the profile. Unlike settings which, unless you code your own settings provider, are saved locally, profiles can be centrally managed.

Windows Live Writer

Windows Live Writer

I was doing a bit of a search for blogging software.  When I was running Office 2007 Beta 2 I attempted to use the inbuild blogging ability, but there was no support for Community Server.  Anyhow, in my search I came across Windows Live Writer which is currently in Beta.  Although I couldn’t easily see if Community Server was supported it did seem to have a number of community plugins for services such as Flickr, so I figured I’d give it a go. 

On first launch a useful wizard pops up and walks you through configuring the editor to your blog.  And yes, Community Server is supported.  As such, this is my first blog entry using it.  Let’s see how it looks!

Other features include being able to save a local draft, toggle to a web preview and even post a draft to the blog itself.  Would highly recommend you give it a go.

The Microsoft Developer Show

The Microsoft Developer Show

Although not officially confirmed yet (ie the signed documents haven’t reach Cameron yet) I have signed up to be the new host of The Microsoft Developer Show.  Look out for some new shows to hit The Podcast Network in the coming weeks.  I have pretty big shows to fill with Dr Pete stepping down due to work and family commitments, but I have already received a number of people volunteering to help out with some of my planned shows.  Stay tuned for more information!