Apr 15 2011

Silverlight 4 Binding debug

Hi all,

Microsoft released Silverlight 5 first beta (you can download it from here).

Unfortunately it has not so many futures as we probably expected to get in this first drop of Silverlight 5.

This build of the Silverlight 5 includes next top futures:

  • XAML Debugging with breakpoints for binding debugging
  • Implicit data templates for easy UI reuse
  • Double (and multi) click support
  • GPU-accelerated XNA-compatible 3D and immediate-mode 2D API
  • Low-latency sound effects and WAV support
  • Real operating system windows and multi-display support
  • Significant performance improvements, fixes and much more

 

Most of these futures could be used only in Silverlight 5 applications, but not the first one :)

But it's amazing that by installing Silverlight 5 tools for Visual Studio we can get XAML Debugging (Binding Debugging) not only for Silverlight 5 applications but also for Silverlight 4 applications!

Let's try it:

The goal is to build Silverlight 4 based application and try Binding Debugging in it. After we make sure that binding debugging work correctly we will try to run our application on PC which has only Silverlight 4 installed.

 

1. Create Silverlight 4 application

Let's create Silverlight 4 based application first. Select Silverlight 4 in Silverlight Version combobox:

2. Test Binding Debug

Now let's create some class to which we will bind to and set DataContext of our form:

In xaml we will use simple <Textblock /> to display text stored in SomeString property of the Data class.

Ok, now we all set to start testing Binding Debug.

Place a caret inside binding element and hit F9 to set a break point.

Now start application and see that debugger is able to stop on break point and you could see binding details in Locals window:

 

Ok, so we are able to use Binding Debugging even with Silverlight 4 applications.

Update: you still can debug Binding in XAML even if your application is built using Silverlight 4 tools only! Try to lunch any application which you have built before installing Silverlight 5 tools and see that you can place a break point in XAML and debugger can stop on that break point and show binding details for you :)

Apr 13 2011

Silverlight 5 beta - download link

Hi all,

 

We all are waiting for Silverlight 5 beta which should be released today.

Good news: Microsoft created a page with Silverlight 5 download link.

Bad news: it still points to the Silverlight 4 installer :(

 

But it's almost here ;)

Oct 20 2009

Resharper 5.0 First Public Build is now available

Uhh, it's a hot day: first the visual studio 2010 beta 2 has came out and now JetBrains released first public available build of the ReSharper 5.0 :)

Here is download page: http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+5.0+Nightly+Builds

What's New in ReSharper 5.0

  • External Sources
  • Structured Patterns
  • Project Refactorings
  • Call and Value Tracking
  • Internationalization
  • Visual Studio 2010 support (coming soon)
  • ASP.NET markup support
  • ASP.NET MVC support
  • Intellisense improvements
  • Bookmarks
  • Inspect project/folder
  • Upgrade-to-LINQ analysis
  • Native NUnit support
  • Xml Formatting

Here you could find more info about R# 5.0 futures: ReSharper 5.0 Overview

Oct 20 2009

Visual Studio 2010 beta 2 - Web Installer

Hi, now it is just 20th of October... but VS 2010 beta 2 will be available only at 21th :(

Can't wait? Ok, I have time machine for you:

Microsoft Visual Studio 2010 Ultimate Beta 2 — ENU (Web Installer)
http://go.microsoft.com/fwlink/?LinkId=151233

You are welcome! :)

Important: Remove ASP.NET MVC 1.1 beforeinstallation. If it does not want to uninstall saying "You first need to uninstall Microsoft Visual Studio 2010 Tools for MVC 1.1, then uninstall ASP.NET MVC 1.1 (this is the runtime component)" then delete next registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\MVCTools 1.1 (if you run 64bit OS then that key will be under HKLM\SOFTWARE\Wow6432Node node)

P.S.

If you have problems with TFSObjectModel during uninstalling VS 2010 beta 1 then just uninstall it from Programs and Futures manually ;)

 

It's a great day! :)