Welcome to Michaels Blog

All posts published in March 2008

Blog of latest news, updates, and stories for developers

Silverlight Control Skin Sets

Corrina Barber [1] has publish four different Silverlight [2] control skin sets that looks very nice and shows the power of skinning in Silverlight [3].

Posted by Michael Schwarz on Monday, March 24, 2008


Download Surface Demo including DeepZoom

Well, I forgot to publish the source code [1] of the changed Microsoft Surface Demo written for Silverlight 2 [2] beta 1. The original demo can be found at the Silverlight community gallery [3]. I have added the video support from my first Surface demo and a the new DeepZoom control that enables streamed zooming of high resolution files inside Silverlight control.

Posted by Michael Schwarz on Monday, March 24, 2008


[de] .NET User Group Franken trifft sich wieder

Die .NET User Group Franken [1] trifft sich wieder, am Donnerstag den 3. April bei der conplement AG im Südwestpark. Ich werde eine kurze Einführung/Demo zum .NET Micro Framework [2] machen, als auch ein paar nette neue Funktionen in Silverlight 2 [3] zeigen. Außerdem habe ich noch ein paar Visual Studio .NET 2005 Lizenzen als auch Expression Web zu verteilen. Bücher kann ich auch noch ein paar mitbringen.

Posted by Michael Schwarz on Sunday, March 23, 2008


ASP.NET MVC Source Code at Codeplex

Today Microsoft published the source code of ASP.NET MVC Framework [1] at Codeplex:

Posted by Michael Schwarz on Friday, March 21, 2008


Breaking Changes in Silverlight 2

There is an MSDN article that focuses on changes that might cause your older Silverlight [1]-based applications to now fail or behave differently not on new features/enhancements for this release:

Posted by Michael Schwarz on Wednesday, March 19, 2008


Surface Demo - Silverlight 2 Update and DeepZoom

Today I updated my Surface Demo [1] (original source from Silverlight examples [2]). Well, there are only some small changes since last beta 1.1. So I have added a DeepZoom [3] control (MultiScaleImage) to the demo [4]:

Posted by Michael Schwarz on Tuesday, March 18, 2008


Marc Julian Starting Writing

My oldest son Marc Julian (5 years old) will start school this summer. He's still in kindergarten and today we did some games with mathematics and writing some words, playing with what he has learned.

Posted by Michael Schwarz on Saturday, March 15, 2008


Getting Silverlight from Microsoft Update

Since some weeks Microsoft offers a Silverlight [1] update (KB946609 [2]) through Microsoft Update. As it is an optional component you have to select it in the Microsoft Update web site or with Windows Vista from the optional updates. As the knowledge base says it is an update it is working as new installation as well. I'm very happy about that because Silverlight gets on more client PCs.

Posted by Michael Schwarz on Wednesday, March 12, 2008


Silverlight Socket Comments

During my experience with Silverlight 2 beta 1 [1] and the use of sockets I have collected some comments that may help you starting with sockets inside Silverlight:

Posted by Michael Schwarz on Monday, March 10, 2008


Wake-on-LAN from a .NET Micro Framework Device

Well, I love the easy development of embedded devices with the .NET Micro Framework. As the device I'm currently using is really small I tried to build a small Web site on it to start my private servers at home using Wake-on-LAN [1]. You'll find a lot of helper methods samples on the Internet but I couldn't find on source code that was working on the .NET Micro Framework. The problem is that there are too many missing methods or enum values.

Posted by Michael Schwarz on Sunday, March 9, 2008


Wrong DateTime on .NET Micro Framework Devices

Since embeddedworld2008 in Nuremberg I'm playing in my free time with the .NET Micro Framework [1] and the Digi Connect ME network device [2]. I've created a small Web server and ported the Ajax.NET Professional library to the really cool and small .NET framework.

Posted by Michael Schwarz on Sunday, March 9, 2008


Silverlight 2 beta 1 and Socket Exception: Access Denied

Playing around with the sockets [1] in Silverlight 2 beta 1 [2] I found out that it works fine on my local host. When publishing my sample to a real Web server (I mean a Web server that is reachable in the Internet with a domain) I got always a socket exception saying that access is denied [3]. I looked around if I could find any help on that. I thought that there maybe is a restriction in the defaults of Silverlight and that I could find somewhere a configuration similar to the .NET and zones configuration, but I didn't.

Posted by Michael Schwarz on Sunday, March 9, 2008


Maybe Socket Bug in Policy Code in Silverlight 2 beta 1

In my last post [1] I wrote about how you can use sockets in Silverlight 2 beta 1 [1]. Well, when publishing my application to a Internet domain the code didn't work. I always get a socket exception: error code 10013, access denied. I have put an example online at http://frankfurt.schwarz-interactive.de:4510/test.aspx [2].

Posted by Michael Schwarz on Saturday, March 8, 2008


Silverlight 2 and Apple Safari for Windows

Yesterday evening I have played with the new Silverlight 2 [1] beta 1 bits and tried to run it on different Web browsers. The system requirements for Silverlight 2 [2] are:

Posted by Michael Schwarz on Friday, March 7, 2008


Silverlight 2 and System.Net.Sockets.Socket

The new beta of Silverlight 2 [1] introduces Sockets. The security model enforced by the System.Net.Sockets namespace in Silverlight 2 allows for a connection only back to the site or host of origin. So Silverlight 2 applications will be allowed to connect only to the host from which they were downloaded.

Posted by Michael Schwarz on Friday, March 7, 2008


Silverlight 2 not working on Production Web Server

I got some questions about why is Silverlight 2 [1] beta not working on my production Web server? Well, one of the most errors I found is the missing MIME type definition in IIS. Silverlight 2 doesn't compile a DLL as the beta 1.1 did. The new file extension is .XAP. The only thing you have to do is following step:

Posted by Michael Schwarz on Thursday, March 6, 2008


Silverlight 2, Images,... running on .NET Micro Framework Web Server

The next beta of Silverlight 2 [1] is available online since yesterday. Another announcement appeared in the news [2] is that Silverlight (maybe only version 1.0 for now) will be available on Windows Mobile 6  and Nokia S60 and S40.

Posted by Michael Schwarz on Thursday, March 6, 2008


My own small .NET Micro Framework Web Server

While developing my small Ajax.NET M! library [1] for creating Web applications that run on the .NET Micro Framework [2] I have started to write my own Web server. Some years ago I wrote a simple SMTP/POP server [3] and using some code from there was a great help. The first version will only return static HTML pages e.g. for documentation or help files. As there is no file system on those devices I use the embedded resource strings to return the content.

Posted by Michael Schwarz on Thursday, March 6, 2008


Ajax.NET M! - The .NET Micro Framework AJAX Library

The embeddedworld2008 [1] is over and I had some time to play around with Microsoft .NET Micro Framework [2] devices. I can remember that I had a look on it during the first available betas on Microsoft Connect, but then stopped watching it because of the missing TCP/IP stack. The now available version 2.5 of the .NET Micro Framework [3] adds this directly in the framework. Other device manufactures have implemented their own TCP/IP stack, and such a device I have bought at the embeddedworld2008.

Posted by Michael Schwarz on Wednesday, March 5, 2008