WCF Bindings In-Depth

My latest Service Station column is nowonline— it’s called WCFBindings In-Depth.
It starts out by reviewing the WCF binding architecture, the various built-in binding classes and how to configure them. Then it shows you how to define custom bindings using the various binding element classesthat ship with the framework — it also shows you how to make your custom bindings easy to use via configuration. Enjoy.

IIS 64-bit mode – interesting tid bit

Currently I’m setting up a system and found an interesting ‘challenge’. After some
sweat and tears I stumbled upon this Microsoft article.

In the article it appears that running IIS 6.0 on a 64-bit box is cool. (obviously
or there’d be trouble)

It’s also cool to run 32-bit ASP.NET apps in 1.1/2.0

It is not cool to run a mix of
32- and 64-bit in the same IIS.

Thought I’d save you my pain!

Auckland Meetup Lessons Learnt

Auckland Meetup Lessons Learnt

I had a great time time at the Auckland Web Meetup last week, I have been skimming through the comments… the fact that 120 people came along was really quite impressive.


The day of my presentation I thought hard about whether to do any slides or just straight in with the WPF and Silverlight demos. I chose to do 10 minutes of (wooly)slides (some of you will recognise them from my brightstar presentation)… talking to Matt from Cactuslab after the session he said I really only needed to show this slide to set the scene.



I was kicking myself because I ran out of time to show BackgroundMotion.com but if you are interested take a look here


Glen Barnes will be posting a link to the video presentations from the night on his blog soon but in the mean time I thought I’d show you one of my demos from the night. In the demo I use Expression Blend 2 (26mb), notepad (you could alternatively use TextEdit and this SDK if you are a Mac user), together to create video with reflection. I have extended that demo to include Silverlight Streaming so you can see the result of the demo hosted on the web on us.


Here is the source code for the project (6kb) minus the video… or with video (12 MB).


Sit back and enjoy the 7 1/2 minute ride 😉


Double click on the video to play full screen, once full screen single click to “unpause”

function CreateSilverlight(){Sys.Silverlight.createHostedObjectEx({source: “streaming:/15799/GearsTutorial”,parentElement: GearsTutorialWrapper});}


var GearsTutorialWrapper = document.getElementById(“GearsTutorialWrapper”);
CreateSilverlight();

And the Silverlight application that we create in the presentation is online here.


On the topic of fullscreen I see that Robert has commented on this as a security concern. I talked about this with Robert on the night but I didn’t specifically call out that a Silverlight control can only enable full-screen mode in response to a set of user-initiated actions and that when in full-screen mode, with no shell showing, you can use the mouse on the canvas provided by the application, but can’t enter keystrokes with the keyboard. IMO this reduces the risk for the user considerably.


Juha also posted about the event on the computerworld site. Actually Rob O’Neill (editor of computerworld) came up to me after my presentation and said he needed to take back what he wrote last week about Microsoft not innovating 😉

As for Robert’s presentation I do want to make a couple of comments. I kept my mouth shut on the night but I am a little concerned about a few of the things that were presented in FF3 that could become blockers to this stuff being implemented in IE vNext.

The <CANVAS> tag… yes this looked great implemented but I’m concerned by this article in Wikipedia

“Intellectual property over canvas

On March 14, 2007, WebKit developer Dave Hyatt forwarded an email from Apple’s Senior Patent Counsel, Helena Plotka Workman[7], which stated that Apple reserved all intellectual property rights relative to WHATWG’s Web Applications 1.0 Working Draft, dated March 24, 2005, Section 10.1, entitled “Graphics: The bitmap canvas” (sic)[8], but left the door open to licensing the patents should the specification be transferred to a standards body with a formal patent policy. This caused considerable discussion among web developers, and raised questions concerning the WHATWG‘s lack of a policy on patents in comparison to the W3C‘s explicit favoring of royalty-free licenses.” 

In general, we’re all for standards and are working hard in the standards bodies now. However, some of the key players in this game don’t appear to have the same IP concerns (or attendant liability risk) that we do.

According to this guyOgg (the open source video format that Chris presented) still carries potential risks, because there is no guarantee that it doesn’t infringe someone’s patents. I’m sure we are all aware of what is  happening with MP3 even though in many cases it was correctly licensed!

If you missed out on my presentation last week and want to see Silverlight in action come along to the Auckland .NET user group meeting this Wednesday night at Microsoft. I’ll have some training DVD’s and copies of Visual Studio “orcas” beta 1 to give away.

Hope to see you then.


This posting is provided “AS IS” with no warranties, and confers no rights.

Silverlight Gears of War Demo

This sample relates to this post.


Note single clicking this one toggles between fullscreen mode so you will just need to be patient if the stream buffers

function CreateSilverlight(){Sys.Silverlight.createHostedObjectEx({source: “streaming:/15799/gears”,parentElement: gearsWrapper});}

var gearsWrapper = document.getElementById(“gearsWrapper”);
CreateSilverlight();

Great WCF Development adapter Article for BizTalk

Sensational Sonu has a great
article
on her blog about how we develop custom WCF Adapters for use with BizTalk
R2.

She mentions:

1. BizTalk will always call the Adapter custom channel via a ‘Request/Response’ mechanism
– this means for:

  • Custom WCF Send Adapters – BTS will *always* call IRequestChannel (two-way) (WCF
    also supports IOutputChannel – oneway)
  • Custom WCF Receive Adapters – BTS will *always* call IReplyChannel(two way) (WCF
    also supports IInputChannel – oneway)

So in short – BTS will always call a ‘two-way’ method of a custom WCF Adapter.

In terms of ‘Fire and Forget’ one way WCF Services, we still need to call the Two-Way
interface and just pass back a null response message.

Or you could use your own custom component 🙂 – said like a true developer!

Cheers,

Mick.

BI Bootcamp hits town – get Training on the new Microsoft BI Platform

I’m pretty excited about this one! BI – Business Intelligence. It usually comes up
towards the end of my project (especially BizTalk ones), what do we now do with our
information within our SQL Cubes?? I find that the subject of BI is never properly
addressed – whitepapers etc etc. How do you set this up, more importantly – how can
you make it effective and meaningful for your Organisation.

*Good question I think* – I know SQL 2005 has a whole bunch of prediction models etc
etc….once I get my winning lotto numbers out of it….this blog will be just cease…..till
then 🙂

So what’s cooking (the paperback version) of this offering:

  • 5 days – get comprehensive and specific expert knowledge for 5 days. (Could be some
    of the most fruitful 5 days you spend!)

  • Our instructors have worked with Microsoft Corp in creating and delivering the Microsoft
    BI Official Curriculum – they definitely know their stuff 🙂
    (we know your time is precious – we aim for our offerings to be pinpoint
    and as effective as possible for you)

  • Learn out the new Microsoft BI Platform- Sharepoint 2007 Portal Dashboards,
    Performance Point, Proclarity, OLAP Cubes and more

  • I’m someone that learns by doing…..so 40% of the course is interactive hands-on
    labs!

  • We’ve partnered with DDLS (this allows us to focus on what we do best together) –
    to bring you the best possible learning experience.

  • (I’m wanting to get on the course!!!! Brilliant….delivered to your city….you dont
    have to travel to the heights of Mt. Everest to find someone that knows about BI :))

More Information, Course Details – HERE

Book on the Course
HERE

Hope to see you there!! 🙂

BizTalk Best Practices

I’m working on a document which will eventually be published here on best practices

for BizTalk development. What practices do you insist on in your project?

  • Naming? I generally use Scott Colestock’s guidelines for this.

  • Backdoor Receive Locations? Any rules on putting in re-entry points for non-file adapters?

  • Mapping? Any rules about how things will be organized, laid-out, etc?

  • Anything else?

Post your comments here, I’d love to hear people’s ideas on this subject.

BackgroundMotion.com

Some of the team (Darryl, Sean, Frank) have all blogged about http://BackgroundMotion.com launching today. I have spent some time this afternoon taking it for a drive and pushing some feedback to the guys to improve some little niggles that are still lingering around here and there.


As Sean said the videos of the three sessions from the connect events are also available on the site (1,2,3) – decks (1,2,3).


There will also be an update to the Background motion code on codeplex early next week.


What I wanted to do was provide a 10 minute intro of how you can use beta and free tools and services to share video backgrounds through BackgroundMotion today.


So please check it out!


Double click on the video to play full screen, once full screen single click to “unpause”

function CreateSilverlight(){Sys.Silverlight.createHostedObjectEx({source: “streaming:/15799/bm”,parentElement: bmWrapper});}

var bmWrapper = document.getElementById(“bmWrapper”);
CreateSilverlight();

Oh yeah the moderation aspect of the site will be switched on early next week. It is being done by a chunk of users in the community with an authenticated sidebar gadget installed. The gadget allows the moderators to approve peoples submitted content. This means that your videos/ photos might not show up straight away…or at all if you choose to post dodgy content.


Some of the tools that I used in my video preview…


1. Roxio Buzz (or alternatively Expression Media Encoder with this workaround)


2. Flickr Uploader


3. http://www.esnips.com


4. Oh yeah and Windows Vista Ultimate to test 😉


The extra for experts section is to build a client application (Grab the code for jetfuel when James releases it) to automate all the steps I did in the video 😉


Next week I’ll post some more videos showing you how the moderation works in BackgroundMotion as well as a mash-up of the site into Microsoft Pop Fly.


Get out there shooting you videos this weekend!


Also I noticed that a new drop of DinnerNow.net has landed that supports Orcas and Workflow Services. Check it out as well!