Syringe.Net.Nz
Irregular Injection of Opinion
RSS 2.0|Atom 1.0|CDF

 Thursday, June 07, 2007
... Blocked by The Great Firewal of China

This site is proudly blocked by the Great Firewall of China....

I guess I'm jst a little too subversive for them.

Test your own site here:

http://www.greatfirewallofchina.org/test/

PoliTechLaw|Thursday, June 07, 2007 8:08:00 PM UTC|Comments [0]|    

Stripping Line Numbers from Code....

Say you've got some code with line numbers

1: using System;
2: using System.IO;

...

1430: else if (1==0)

blah blah...

 

And you want to strip out the line numbers.

This regex: ^[ 0-9]*\:

will do it for you. THanks go to the new regex building in Orcas :-)

.NET|Thursday, June 07, 2007 6:03:04 AM UTC|Comments [0]|    

 Wednesday, May 23, 2007
Something Exciting Happening @ Intergen

So we've had a team @ Intergen hard @ work for the past 6 moths putting together a fantastic new service offering that we're going to take global.

It's called ActionThis and it's basically a platform for getting things done. I can't say much more than that in terms of detail... but in the abstract here's a few things it is (grab your Buzzword Bingo Card)....

  • It's web 2.0. It has AJAX, simple graphic elements and all that Web 2.0 jazz.... yes. It looks like sex!
  • It's Software as a Service with a twist... think more Picasa meets Flickr meets Live Spaces... but in an entirely different problem domain... that I'm not going to tell you about.
  • It's going to be a platform- you'll be able to build stuff that bolts into ActionThis and help people get stuff done.

I'll probably dribble a bit more information out here before we begin yelling from the rooftops (i.e. go public with an announcement) but, if you want to be the first in the know and the first to get your hands on the bits... you should head to http://www.actionthis.com/ and sign up for our Beta news...

Intergen | ActionThis|Wednesday, May 23, 2007 4:28:43 AM UTC|Comments [0]|    

 Sunday, May 06, 2007
Jesse Ezell on Flash vs Silverlight...

http://weblogs.asp.net/jezell/archive/2007/05/03/silverlight-vs-flash-the-developer-story.aspx

This is a great run through of some comparisons between Flash and Silverlight.... My hope is that Jesse can provide a bit more detail around Flex vs .NET 3.0 at some point too....

.NET|Sunday, May 06, 2007 1:02:11 AM UTC|Comments [52]|    

 Thursday, May 03, 2007
Calling All User Experience eXperts- Come Design the Next Gen Internet

So I'm looking to hire more talented designer/developers/UXEs... that is people who have great design ability but are also able to think about the code impacts of their designs- i.e. ho can we take that design and make it into great Silverlight/WPF and AJAX experiences..... Ping me an email... chris@kognition.co.nz

If you're just a fantastic designer I'd love to talk too!

.NET|Thursday, May 03, 2007 6:59:53 PM UTC|Comments [0]|    

.NET 3.5 - WCF Support of URI Based Access

So URI based services are super popular right now. REST/POX etc...

SOme great stuff coming in .NET 3.5 to do this really easily by basically allowing URI based access into WCF services. Includes things like the ability to push back raw binary data across the HTTP stream.

This allows .NET developers to QUICKLY do 'Webby' style web services.

All these bits are there to be played with in the Biztalk Services SDK. Basically they have branched off a good chunk of the new .NET 3.5 Beta 2 bits and shipped them in this SDK.

The blog to watch on this is Steve Maine- he's the PM for Web Access features in WCF.

http://hyperthink.net/blog/

There is more great stuff around this in the Biztalk Services SDK. Particularly ServiceModel.WebClient namespace. This is basically client side stuff for easily accessing URI based content.

SO the new web response has a generic GetBody method... so you can do

response.GetBody<
. At the moment the list of Types is bounded (any XML serializable type, stream, string, SyndicationSerializable type)... it's easy to subclass the type and then override GetBody<>.

It's all just syntactic sugar across HttpWebRequest so it works very similar in terms of resource usage (little) and auto prroxy config.

.NET | Biztalk Services|Thursday, May 03, 2007 5:26:23 PM UTC|Comments [0]|    

Biztalk Services - Cool Tools

Just saw a cool piece of tooling that shipped with the BT Services CTP yesterday.

It allows you to copy a piece of example XML to the clipboard.

Then go Edit > Paste XML as Serializable Type

It then infers schema and does an xsd.exe all under the hoods and pastes in a serializabl .NET type.

It's a batch file in the tooling directory.

So to get it RIGHT NOW go and grab the Biztalk Service SDK.

This SDK is Biztalk in name only.... it's a far more broadly applicable to general distributed .NET development.... This is definitely something you should be downloading if you do WCF dev.

.NET | Biztalk Services|Thursday, May 03, 2007 5:20:40 PM UTC|Comments [0]|    

Biztalk Services SDK

I'm in a Software Design Review around Biztalk Services and Web Programability. It's being announced to us a s a small (about 15) group... and we're allowed to blog it...

So I'll be blogging live :-) Updating this post....

Web Programability with Steve Maine

How can we program against the web.
How do we wite programs such that they can be programmed as part of the web.

Stuff that shipped already

Stuff shipping in Orcas

Stuff that is more experimental (some not blogable)

Talking about processes to get an abstraction over URIs... effectivly URI templates per Joe Gregorio.
This is available in System.UriTemplate (Orcas bits)...

Two directional abiliy to map name value pairs into and out of structured URLs.

Still need to use HTTP andlers to process tis sort of stuff in IE.

Orcas now has a [WebGet] attribute for WCF service operations and effectivly creates a templated URI space for that operation.

 

.NET|Thursday, May 03, 2007 12:32:20 AM UTC|Comments [0]|    

 Wednesday, May 02, 2007
Biztalk Services SDK

I'm in a Software Design Review around Biztalk Services and Web Programability. It's being announced to us a s a small (about 15) group... and we're allowed to blog it...

So I'll be blogging live :-) Updating this post....

Web Programability with Steve Maine

How can we program against the web.
How do we wite programs such that they can be programmed as part of the web.

Stuff that shipped already

Stuff shipping in Orcas

Stuff that is more experimental (some not blogable)

Talking about processes to get an abstraction over URIs... effectivly URI templates per Joe Gregorio.
This is available in System.UriTemplate (Orcas bits)...

Two directional abiliy to map name value pairs into and out of structured URLs.

Still need to use HTTP andlers to process tis sort of stuff in IE

.NET|Wednesday, May 02, 2007 10:51:56 PM UTC|Comments [1]|    

CRM 4.0 will use Windows Workflow

Sitting in a session at mix and they have confirmed that CRM 4.0 will use Windows Workflow Foundation to manage workflow.

.NET | Windows Workflow|Wednesday, May 02, 2007 7:03:25 PM UTC|Comments [0]|    

 Tuesday, May 01, 2007
Mix 07 my best MSFT event ever.

So I'm pretty sure that this is the best MS event I've ever been to. 2nd place would be Mix from last year.

I've been to such a variety of sessions and I love the fact that there are non technical Busines Decsision Maker Sessions. I just got out of a great one where I sat next to Ade from TVNZ. It was a mixture of people from Coke Digital Strategy, ABC and Sandisk talking about online advertising and market perceptions thereof. Probably the best session yet- well worth downloading.

I've been to the MySpace sesion where they talked about how they scale out across almost 10,000 machines.

I've seen enough technology releases with Silerlight to excite me but not enough to bore me.

It's a great atmosphere with lots of non-MSFT traditional attendees here- lots of Mac Books around the place.

I'll definitely be back next year if they'll have me.

 

[UPDATE]

To show you ow kick ass this event is... Todays keynote has a roundtable and they have people as diverse as Andrew Rashbass who is the publisher of The Economist! Kick ass!

.NET | Mix06|Tuesday, May 01, 2007 10:58:38 PM UTC|Comments [1]|    

More Details on Silverlight Streaming - Cost

Silverlight Streaming
4GB Free Storage

Free unlimited streaming for 1r up to 700kbps

Free up to 1 million minutes/month at launch

There are also new commercial terms around Live Contacts and Live Spaces Photos

Spaces Photos/Contacts.
< 1mil users / month = free
> 1mil users / month = $.025 per user per year

.NET | Mix06|Tuesday, May 01, 2007 3:59:31 PM UTC|Comments [1]|    

A good graphical overview of Silverlight

BradA linked to this

http://download.microsoft.com/download/f/2/e/f2ecc2ad-c498-4538-8a2c-15eb157c00a7/SL_Map_FinalNET.png

It's a nice High Res poster image that provides the overview of Silverlight

.NET | Mix06|Tuesday, May 01, 2007 12:05:00 AM UTC|Comments [1]|    

 Monday, April 30, 2007
MIX07 Keynote

OK... so here comes my Mix07 Keynote recap.

A few BIG announcements

1.       Silverlight as of beta 1 (released today with a Go Live License) has .NET framework support. This support is cross browser (IE and Firefox) and cross platform (Safari on the Mac). This is huge.

2.       Microsoft announced Silverlight Streaming. http://silverlight.live.com . This allows developers to store up to 4GB of sub 10 minute videos and associated Silverlight applications into the Microsoft supported Content Distribution Network (think Akamai). This is FREE!

3.       Microsoft announced IronRuby for .NET. This will compile down to IL like anything else and the Dynamic Language IL will run on both Mac and PC inside Silverlight. ScottGu did a great demo with everything happening on the mac. From writing XAML to writing Ruby code. Compilation happening inside Silverlight.

4.       Expression Studio shipped today... I’m coming back to NZ with a special commemorative copy- the Expression team had 1500 completely unique designs put together for the boxes J

 

Here is some more detail gleamed from the Keynote and some other connections within DevDiv@ Microsoft.

Sililverlight Beta 1 incl Go Live. Final release will ship this summer.

 Silverlight includes cross platform .NET in the browser. Uses the same CLR that ships with full framework-  it has the same JIT, GC and type-system that you have with desktop .NET apps today.  It means that it loads and can run the same compiled assemblies that are used with the .NET Framework today- subject to it not quite having the full framework at its disposal- i.e. som namespaces are missing.

Seeing performance of up to 1000 times faster than Javascript- showed a great Demo with a Chess AI algorithm compared in Javascript and C#. 8 to 20 times faster than ActionScript.

Silverlight includes a subset of WPF from desktop.

Silverlight supports HTML DOM Integration- you can use any .NET language to build AJAX stuff rather than having to use Javascript. So basically you can wire up VB/C#/Ruby/Python event handlers to HTML elements like you would do with Javascript.

We FINALLY have debugging of browser code to rival (read spank the pants off) Mozilla....Not only is there support for running CLR stuff on the Mac.... Also support for debugging applications on the mac- you can remotely attach the debugger to the Macintosh over the network and step through the code!

Still a little unclear on the SOAP support. I know it doesn’t support WS* or WCF. I didn’t thnk it supported soap (only REST/POX/JSON) but I’m still digging on whether it will support  SOAP.

Silverlight has full LINQ (it includes System.Core so it will support all the .NET 3.5 stuff in that) support and an offline data cache.

Silverlight plugn is a 4MB download. Install is a 2 second task.

While not announced they showed a version of Silverlight running on Windows Mobile- may well see this announced @ MEDC later this week.... I’m trying to find out more about this RIGHT NOW. If it is true then I have a great application to put together right now.

There is no Audio or Video capture in Silverlight v1.

There is currently lack of support for a number of key WPF features... These sould be available and baked into the final version.... Definitely missing are: databinding, layout manager, styles and templating.

Codec support includes WMV, MP3, VC-1 and H263 video. Silverlight will NOT support additional Codecs that users might have installed.

 

.NET | Mix06|Monday, April 30, 2007 7:09:52 PM UTC|Comments [1]|    

 Saturday, April 28, 2007
Tune Here for Silverlight News

So y'all know that MSFTs FlashKiller is called Silverlight...

But

You don't know quite how cool it's actually going to be. I know.... but if I told you I'd have to kill you.

So. Come Monday the Kimono Shall Be Opened @ the Mix Keynote.

I shall be blogging live and telling you all about it.... suffice to say.... YOU WILL HAVE KITTENS!

[Update]

Just found out more great stuff.... Tommorows announcements will cover not only developer platform but some all new developer service offerings....

.NET | Mix06 | Vista|Saturday, April 28, 2007 11:50:36 PM UTC|Comments [0]|