Go to content Go to navigation Go to search

Brokenwire.NET::NET

Playing with Microsoft Silverlight
· 2007-05-20 22:06 by Thijs Kroesbergen for Brokenwire.NET

This weekend I spend some time playing with Microsoft’s “Flash-Killer” named Silverlight.

It’s very interesting to see how they brought the .NET CLR to the browser!
With only my knowledge of the .NET framework, C# and a bit of basic knowledge of Windows and Web programming I could easily create a small app!

I wrapped up an (unfinished!) attempt to mimic my Pong-Clock

You should be able to see it here (Warning: Pre-alpha 0-quality demo!)

I hope to write a bit more about this soon…
But if you’re interested in seeing more about silverlight yourself you can visit the Silverlight website

To create your own “hello world” application; you need the following ingredients:

Oh and I almost forgot about the coolest thing: Silverlight runs cross-browser (IE – Firefox – Opera – Safari) and cross-platform (Windows – Mac). I also heard some rumours about a linux version.

Permalink -

Using Microsoft Virtual Earth combined with ASP.NET AJAX
· 2006-12-04 11:45 by Thijs Kroesbergen for Brokenwire.NET

If you’ve tried to combine both ASP.NET AJAX and Virtual Earth on one ASPX page, you may have encountered the following error:
Microsoft JScript runtime error: Sys.InvalioperationException: Object Microsoft already exists and is not a namespace.

This happens when you try to use a Virtual Earth (V4) map on a ajax enabled page. A possible solution is to revert to Virtual Earth V3, but then you can’t have a nice 3D map.
But, I found another solution!

The NON-working HTML code looks like this:

This is the code as suggested on the Virtual Earth Interactive SDK

Where the http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js javascript file is loaded from the header of the ASPX page.

But the following code does work:

Here the mapcontrol.js is loaded just below the AJAX scriptmanager. Because the AJAX scripts are loaded to the browser before the Virtual Earth scripts, the page now loads without errors.

I don’t know if this has any drawbacks, it just worked for me.

Permalink -

.NET 3.0 or WinFX?
· 2006-08-24 08:50 by Thijs Kroesbergen for Brokenwire.NET

Recently the WinFX framework was renamed to .NET 3.0 although it is actually still a framework stacked on top of .NET 2.0.
That’s where the confusion starts.
Some folks have started a petition to ask microsoft to fix this “mistake”. You can read and sign the petition here
.NET
Read more about the renaming of WinFX to .NET 3.0:
Scott Bellware blog
Technolog
Wikipedia

Comment - Permalink -

Next