Sunday, March 23, 2008

ACL, IIS and my low EQ

It's funny how easy I can get frustrated by myself.

I can trying to figure how to run the Silverlight Surface demo running on my own machine. First I download the Source Code (by the way it's super freaking hard to navigate to the right page), and then tried to just open the Default.html out of the Run folder. It didn't work.

And then I saw the web.config file, and I thought, hey, maybe I need to run this thing under a web server, so I created a virtual directory and point it to .... notice this .. a folder that I expanded directly on my desktop. This is what the headache started, because I keep getting error saying that ACL access prohibit me from accessing any file in my virtual directory.

Eventually I solved the problem by move the Silverlight Surface folder until Q driver. And now everything work out fine. I guess there's some special security going on for folder on my desktop.

Speaking of that Surface demo, it seems to be a great demo to illustrate how to put items on a canvas in a object oriented way....

Friday, March 21, 2008

My first Silverlight page

This is my first Silverlight Page created using Silverlight 2 Beta 1 SDK. I am very excited since now I can leverage my C# knowledge aquired at my day job and do some fun interactive content.

[Click to see my Starry Sky page at http://roleplay.myweb.io/ ]
Source Code

My problem is, though, that the random star shining doesn't seem to be as random as my thought. Maybe I did something wrong in my code. Maybe I'll come back later to see what I didn't wrong, but for now I want to continue working on using Opacity Mask....

So much to learn...

Tried Microsoft Deep Zone ... Nice, but not now

I downloaded and tried the Microsoft Deep Zone photo zooming for Silverlight technology by downloading the editing tool and sample code. It was nice and fascinating, and I sure will use it when it goes production. Trouble is that when I use the current version of Deep Zoom compsing tool, it crashed consistently if:

  • I try to reopen the project I saved.
  • I try to click on the "Export" button.
So basically it's unusable for me for now (unlike the Silverlight 2 beta 1 tools which actually works pretty well.) But it's getting there.

Tuesday, March 18, 2008

Microsoft Silverlight Tools Beta 1 for Visual Studio 2008

If you try to install "Microsoft Silverlight Tools Beta 1 for Visual Studio 2008", don't install Silverlight 1 and 2 and Silverlight 2 SDK Beta 1. Otherwise the installation process for "Microsoft Silverlight Tools Beta 1 for Visual Studio 2008" will fail.