-
-
Put IE8 WebSlices on your Vista SideBar or desktop ?
Yes you can, as IE8 WebSlices are based on Windows RSS Platform.
Sean Lyndersay has released a very early version (alpha 0.3) of his WebSlice Viewer Gadget:
http://blogs.msdn.com/justsean/archive/2008/03/19/webslice-viewer-gadget-alpha.aspx
Here is a WebSlice on my desktop:
The gadget settings allows you to choose an existing WebSlice and configure the refresh rate and size :
Yes... I'm looking for a Boogaboo Frog stroller or Bebecar Raider AT+, anyone help ??

-
-
The MVP Summit is coming soon (check the MVP Summit Vista Gadget !), where are the MVPs coming from ?
Credit Soul Solutions.

-
-
Wow, this is far better now with SL2! no more tips and tricks.
BLOCKED SCRIPT
<script type="text/javascript">
function DisplayMessage()
{
alert("call me from Silverlight 2");
}
</script>
Silverlight:
using System.Web.Browser;
HtmlPage.Window.CreateInstance("DisplayMessage");

-
-
PhotoZoom is an experimental site developed at Microsoft, running on the Microsoft Live Labs Incubation Platform.
It uses the Deep Zoom technology in Silverlight 2 to create photo albums that you can zoom an pan. This online app take care of processing the images, packages and uploads them to Silverlight Streaming by Windows Live so they are stored "in the cloud".
Please note:
- You need Silverlight 2 beta 1
- This is not a final product
- This may never be a product as is
Check out live my Las Vegas photo Gallery:
http://photozoom.mslivelabs.com/FullscreenZoom.aspx?alias=Laurent&album=1
Disclaimer by Matt Augustine at Microsoft :
"PhotoZoom is an experimental project developed by a small group of Microsoft developers, and it is definitely not an official, supported Microsoft product. Also, I cannot make any guarantees that it will be operational at all times, that it will support a large number of users, etc. This is not an official Microsoft press release and I am not a spokesperson. I can’t make any suggestions about future Microsoft product releases related to this technology or concept. In other words, I hope people will have fun with it, but please set your expectations accordingly."

-
-
Microsoft Connect has been improved! The new website is much more intuitive and interactive. "Your dashboard" view helps to keep an eye on your activities and news. I find the new Connect much more interesting than the old!
What is Connect ?
This is a way to help Microsoft improve their software by submitting feedback, bugs and filling surveys. Pick a program in the "Connection Directory" and start participate! Download the latest software and discuss your experience in the newsgroups.

-
-
I have reported a VS2008 issue to the VS Team regarding code snippets :
I am a heavy snippets user, and noticed that they are not tied to multi targeting...
I use VS2008 with ASP.NET 2.0 websites (not migrated to ASP.NET 3.5), but snippets are for ASP.NET 3.5
For example typing "prop" in C# code behind gives you:
public int MyProperty { get; set; }
Unfortunately this is not .NET 2.0...
Suggestion: Built-in code snippets should be multi-targeting aware.
The issue is visible and tracked in Connect:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331041
I agree that the generated IL is the same, but the problem is when you work with VS2008 on the same project along with a VS2005 team...
What do you think ?

-
-
This month I was a guest at the Visual Studio Talk Show, a well known french .NET podcast here in Quebec.
We talked (in french...) about all the announcements (mainly IE8 and Silverlight) made at MIX this year, so in case you need a recap of this show...
Les nouveautés de la conférence MIX 2008:
http://www.visualstudiotalkshow.com/Archives/070-14mars2008-LaurentDuv.html

-
-
Today I had to migrate a Silverlight Alpha 1.1 project to Silverlight 2 beta 1 for a client.
As we had to expect there are a lot of changes!
First thing to notice: after installing Silverlight 2 Tools for Visual Studio 2008 you won't be able to open your Silverlight 1.1 projects in VS2008, you have to migrate.
The best way is to create a new Silverlight application and copy your old files there, then this article will be a huge help to fix your issues:
MSDN: Breaking Changes in Silverlight 2
http://msdn2.microsoft.com/en-us/library/cc189007(vs.95).aspx
Here are some of the changes I had to deal with:
- HtmlDocument.GetElementByID -> HtmlDocument.GetElementById
- System.Windows.WebApplication.RegisterScriptableObject -> HtmlPage.RegisterScriptableObject
- System.Windows.WebApplication -> System.Windows.Application
- [Scriptable] attribute -> [ScriptableType] for class, [ScriptableMember] for methods
And the one who surprised me the most: Web Services
It is said that you have to regenerate your Web Service client proxies, but when looking for "Add Web Reference" in VS2008, I don't find it!! I just have "Add Service Reference" which is WCF for me. For ASP.NET 3.5 projects, you have both "Add Service Reference" for WCF and "Add Web Reference" for Web Services.
I know that Silverlight 2 supports both WCF and Web Services, so where the hell is "Add Web Reference" ??
Answer is: use "Add Service Reference"!
Calling a Web Service in Silverlight 2 is very similar to calling a WCF Service, that means that you have to specify binding and endpoint.
Second surprise: all web service calls must be asynchronous!
You must implement the async pattern, that surprised me at first, but now I found that this is not a bad thing and just requires 2 or 3 lines of code, so get used to it!
For syntax and code details I invite you to read this very good post :
Calling web services with Silverlight 2
http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silverlight-2.aspx

-
-
Here is a nice feature of IE8:
Remember both "Disable script debugging" options you had to uncheck in IE to enable JavaScript debugging ?
You no longer have to!
You can now stay on default "script debugging off" mode in IE and when you hit F5 in VS2008, IE launch and the current tab is automatically set for debugging!
[via Your Websites, Our Passion!]
Also note that a slightly different version of the Internet Explorer Developer Toolbar is now built-in IE8, it is called the Developer Tools.
IE is getting better for web developers, keep on, go ahead...

-
-
Browsershots is a free online tool that makes screenshots of your web site in different browsers/versions on multiple platforms (Win, Mac, Linux).
Use it to test the look of your web sites :
http://browsershots.org/

Set your choices then come back later and see the results (here you can see my blog before/after the Opera fix):
On the live app you can click on a picture to get the full version.
Note: IE8 is already available, but no Silverlight yet.

-
-
I was told that my blog does not display very well (or not at all) in Opera browser...
Like most of you I don't have time for this, and community server's css are a real mess, so if someone takes time and send me the fixed css I will be happy to send him this DVD of Visual Studio 2008 Standard Edition (Full version with licence key) :


-
-
An excellent one from http://stuffthathappens.com !!


-
-
[Post written as of Silverlight 2 beta 1 and Expression Blend 2.5 march preview]
Strange that the DataGrid is not in Expression Blend 2.5 march preview toolbox, but only in VS2008 !?
If you add a DataGrid in VS2008 and then switch to Blend that will break your designer.
It seems like there are problems with these assemblies references in Blend 2.5:
System.Windows.Controls.dll
System.Windows.Controls.Data.dll
System.Windows.Controls.Extended.dll
Remember that controls are not part of the runtime, they are part of the SDK and must be distributed with each application. Here are the different folders:
- Runtime: "C:\Program Files\Microsoft Silverlight\2.0.30226.2"
- SDK: "C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Client"
Thanks to Michael Sync from the Silverlight forums, you can fix this:
1. Fix the reference in Blend:
Add reference to "System.Windows.Controls.Data.dll" from the SDK folder.
2. Add this markup in <UserControl declaration:
xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
3. then, you can add a DataGrid like that:
<data:DataGrid></data:DataGrid>
Now you can find the DataGrid in Blend 2.5 Toolbox :
- Click on "Asset Library" (bottom of toolbox)
- Check "Show All"


-
-
Back from MIX08 I've just installed Expression Studio 2 and my first try is Expression Web 2, not for the new features yet, but to check if my 2 most frustrating bugs were fixed, and they were!
1. EW2 now remembers your credential when accessing remote web site... no need to type your ftp password again and again.
2. Custom controls now works properly (IntelliSense, smart tag, toolbox), they broke the designer before, read: http://weblogs.asp.net/lduveau/archive/2007/11/18/expression-web-and-custom-controls.aspx.
That's a good start!

-
-
Due to major snow storm in Montreal area I spent 31 hours on my trip back from Las Vegas, finishing with a 11 hours bus ride from New York....
Home Sweet Home.
Two days ago I was burning in Death Valley (California)...

Technorati Tags: MIX08,Canadian MIXers
