RSS
Silverlight-only RSS
Comments RSS
AutoCompleteBox without cycling navigation
An occasional request I hear about the AutoCompleteBox control in the toolkit is about the cyclical navigation in the list box of suggestions. If you’re browsing through a list of items, pressing the down arrow, eventually you’ll reach the bottom – and then be cycled back to the top of the list. This cycling behavior ...
Recently posted...
If you’re a ReSharper user, check out Einar Ingebrigtsen’s blog, he’s updated his Silverlight unit test runner for R#. The original post about this technology is here.
Silverlight AutoCompleteBox: What’s new in the December release
Here’s the list of changes, new functionality, and breaking changes between the two official Silverlight Toolkit releases so far. I covered key differences in the previously published "AutoCompleteBox: The missing guide," a must-read for anyone developing with the control. This will also guide application developers in updating their existing code. AutoCompleteBox is one of the ...
Silverlight Charting: Creating rich data point tooltips
A few weeks ago I sat down, built a simple app using the DataVisualization control assembly (charting) from the Silverlight Toolkit December 2008 release, and then started gold plating it with a few additional features and tricks. I was pleasantly surprised that retemplating is the key to customizing most of the charting experience, just as ...
Announcing the availability of the Silverlight Toolkit December 2008 release
The sophomore release of the Silverlight Toolkit, today’s December release is out. You’ll find new themes, a fresh new sample app, fine-tuned components, and a bunch of features and fixes as requested by the community. More of the controls are accessible, the APIs are well baked, and, as always, its out there with a completely ...
Reid Borsuk releases an MD5 implementation for Silverlight 2 in pure open source goodness
I was pleased to see that earlier today Reid Borsuk (of Microsoft’s CLR security team) released his MD5 implementation (pure transparent Silverlight code) to the MSDN Code Gallery earlier today. This will open the door for developers looking to interact with services and data systems that still use MD5. This release is licensed with the ...
Silverlight unit test framework – updated source and binaries now available
The latest release of the Silverlight Unit Test Framework is now available for download. This release contains a few simple bug fixes and was built with the RTM version of the Silverlight Tools. Download it today! Binaries and control sample tests, part of the Silverlight Toolkit download (you’ll find the bits in the .\Source\Binaries\ directory) ...
Creating a testable WebClient for Silverlight unit testing
Testability is important to today’s developers, and without a mocking framework available for Silverlight developers today, it is possible, albeit with a little extra work, to create testable components. Maurice de Beijer has blogged about his solution for creating a testable Flickr web service API. He’s created TestableWebClient and TestableOpenReadCompletedEventArgs types to assist with this, ...
AutoCompleteBox control: The missing guide
This is a comprehensive developer’s guide to using AutoCompleteBox. With the initial Silverlight Toolkit release, we focused on providing API reference documentation. This is "the missing guide" that covers the full breadth of the control. Along with the next toolkit release, I will release guides on the ISelectionAdapter interface and more involved customizations that people ...
Managed Html Controls source code
In early October I blogged about the managed wrapper for client-side HTML controls that we use in the Silverlight unit test framework. If you were intrigued by it, you’ll be happy to know that the source code is published and part of the Silverlight unit test framework’s source code, part of the ‘Quality’ section of ...
Build a highlighting AutoCompleteBox (like IE8 and Firefox 3) in 5 minutes
The auto complete functionality that IE and Firefox provide in the URL address bar is nice: both these browsers (and many other auto complete implementations) highlight the text that you’ve typed, inside the results display. If you use the Silverlight Toolkit‘s AutoCompleteBox control, and pair it with a fun SearchMode like ‘Contains’, you’re able to ...
Toolkit posts: "Silverlight in Style," dependency properties in WPF and Silverlight, and TreeView expansion
The Silverlight Toolkit site is a great starting point, but a lot of the important conversations that we’re having with customers are happening elsewhere: on blogs. I thought I’d take a moment to share some important resources to show you just some of what’s being talked about. Toolkit blogs Instead of banding together to create ...
Silverlight 2 Unleashed by Laurent Bugnion
If you’re looking for a great overview of all things Silverlight 2, Laurent Bugnion’s Silverlight 2 Unleashed book is a great introductory book for web developers, designers, and folks new to the Microsoft web/client platform. Amazon delivered my copy in the pouring rain today, so I immediately took it up to my neighborhood coffee shop. ...
Editable Silverlight ComboBox
Tim Heuer posted today about using the AutoCompleteBox control (Silverlight Toolkit) to enable editable ComboBox scenarios in Silverlight apps. This was originally one of the more complex samples that we included in the toolkit sample project, and Tim has done a great job boiling it down to the essentials, complete with step-by-step code. Definitely check ...
Silverlight Unit Test Framework source code released
A week ago, we gave the world the first release of the Silverlight Toolkit. Shawn Burke told you that we’re agile, and that we have a neat release model. The fun continues! Today, the source code to the Silverlight Unit Test Framework is available with the same open source license. It is checked in to ...
Unblocking downloaded CHM documentation files on Windows Vista
If you’ve ever downloaded a CHM documentation file and received a "Navigation to the webpage was canceled" message, you need to ‘Unblock’ the CHM file before opening it. This was a security improvement in Windows Vista, and there’s no clear message that indicates that you need to jump through this hoop. I saw a few ...
Getting Expression Encoder 2 SP1′s media player template to work with CDNs and cross-domain embedding
The new Silverlight 2 media player that Expression Encoder 2 SP1 ships with is great. You can encode video and output Silverlight content in minutes. With SP1, when you select one of the new templates, the only bits generated are your video asset + thumbnail, a single media player .Xap file, and a sample .Html ...
Renaming Xap to Zip is dead. Long live renaming Xap to Zip!
Teach Windows to treat Xap files as first class compressed folders with this simple registry entry. After applying, you’ll be able to open .Xap files and view their contents, and get the same shell experience as Zips have: If you’ve ever had to do the "rename .Xap to .Zip" routine while doing Silverlight development, then ...
Successful .Xap deployment with your CDN: Set the application/x-silverlight-app MIME type
If you host XAP files on a CDN or other host (such as Amazon S3), you need to have the server configured with the new Silverlight MIME type. You can find out specifics in the breaking changes reference. When you do not need to configure the MIME type: If your .Xap files and web pages ...
Introducing the AutoCompleteBox
The Silverlight AutoCompleteBox is now available. This guide covers the control’s properties, usage, and demonstrates how to hook it up to a JSON web service. Note: This post contains live Silverlight content that your news reader may not be able to display. The auto complete pattern is well-known, useful, time-tested. There’s been one in IE ...
AutoCompleteBox: Video introduction
A video introduction to the AutoCompleteBox control that shipped with the Silverlight Toolkit. This is a 720p HD video. I’m also publishing an introductory guide to the control that can be read here. Duration: 12m:55s Description: This video walks you through the AutoCompleteBox control and its samples that shipped with the Toolkit. Contents: Advanced scenarios ...
AutoCompleteBox: The 5 things you need to know
AutoCompleteBox works great with collections. You don’t have to connect it to a sophisticated web service. We named this control the AutoCompleteBox, not AutoComplete. Its different. It is a rich control that provides a set of suggestions, but not so much the old AJAX version that required you to wire the control up to ...
Sorry boss, I just released the new Silverlight Controls source code to the world.
Last night, I signed on to the CodePlex site and checked in the source code to all the Silverlight controls we’ve been working on night-and-day. Like an open source ninja! On just about any other team at Microsoft, I might have some major explaining to do right about now. In all seriousness, Shawn Burke is ...
Download reference docs for the Silverlight Unit Test Framework
The API reference documentation for the unit test framework is now available. Developers looking to take complete advantage of the more intricate features and presentation framework-specific functionality in the unsupported test framework should take a look. Written by developers, and not expert technical writers, don’t expect anything too earth-shattering. The download has no conceptual content. ...
Silverlight unit testing templates updated
Getting into the habit of unit testing your Silverlight applications is a little easier now. I posted updated templates for the Silverlight Unit Test Framework on the MSDN Code Gallery site. There are project and item templates for Visual C# as well as Visual Basic. Download the templates Direct download link to the templates (Zip, ...
Awesome controls are coming for the Silverlight platform
Now that the wait is over and Silverlight 2 is out there in the wild, there’s very little excuse not to be using this awesome Microsoft platform. Easy-to-use controls make fast, easy development possible, and there is a clear roadmap out there now on what all is going on. Last week I was really bunkered ...
Client-side HTML controls for Silverlight 2
What if you could use and create ASP.NET-like web controls that are 100% client-side, powered by the Silverlight 2 runtime? What if ViewState was a thing of the past? Would you like to cut your web application’s load on your servers from 50 pageviews down to 0? Wouldn’t your users love it if your application ...
Silverlight Unit Test Framework: New features & download for RC0
Enhanced interactive results, more log providers, dynamic test methods and attributes, tag expressions: there’s a whole lot of fun new test-dev-geek candy in the latest Silverlight Unit Test Framework download on the MSDN Code Gallery (download now available; breaking changes here). Here’s a quick look at a few of the top new features in the ...
Silverlight Unit Test Framework: Breaking changes from Beta 1 to Release Candidate
Update your test projects to the first Silverlight Unit Test Framework update in half a year, it should take two minutes to update and get the awesome new features and functionality. The improvements and changes made to the surface area of the test framework and runtime are a good thing. I’ve organized the high-level changes ...
If you can do it in JavaScript, you can do it in managed Silverlight .NET code
Just because you can do something doesn’t mean that you should do something. Just because you can get Quake to run on your iPhone doesn’t mean that’s the best way to do things. But it’s pretty cool! Now that we’re clear on that one, this is the part where I show you that you can ...
Silverlight Unit Test Framework will be updated for the Release Candidate tomorrow
Developers rejoice, ScottGu announced the wide availability to developers everywhere of the Silverlight 2 Release Candidate tonight. There were some changes since the Beta 2 release of Silverlight that require updated unit testing bits. I’ll be releasing an updated drop of the Silverlight Unit Test Framework by the end of the week. It’s more clear ...
Using IELaunchURL in C# to launch a protected mode Internet Explorer 7 window
By popular demand, here’s the C# equivalent of the C/C++ program I posted earlier today. As things work in the Windows native code world, the C# equivalent takes about 80 lines of code (vs 30). Might be the XML comments though. The main method to the program; if the URL is passed in as a ...
Using IELaunchURL to launch and retrieve the PID of a protected mode IE7 window
With the release of Windows Vista, Windows Internet Explorer 7 introduced the Protected Mode feature for having a more secure experience in the browser. More information from one of the original IE Blog posts and the Protected Mode Internet Explorer Reference on MSDN. Earlier today I put together a super simple app to get me ...
Microsoft Silverlight unit test framework now on MSDN Code Gallery
The Silverlight unit test framework’s binaries are now available for download direct from the MSDN Code Gallery. If you already have the test framework libraries, there’s no need to download them again: the bits haven’t changed… yet. http://code.msdn.microsoft.com/silverlightut/ The current release targets Silverlight 2 Beta 2. Along with the binaries, there’s also a set of ...
Quickly resize the Silverlight plugin to zero pixels in size
When I was a test developer on the team that built the HTML DOM bridge feature for Silverlight 2, I often found myself needing to create a tiny, quick application to reproduce an issue. That meant quickly creating projects that used the dynamic test page, and without modifying the TestPage.html. The goal was to resize ...
LINQ follow-up: a little more work was needed
Oops! The code example I had in my LINQ posting yesterday was inaccurate and didn’t actually do anything! That code was from a changeset I was preparing on my machine and it had to go through the gauntlet that is an ironclad code review by Ted Glaza. He made a good catch here, and it’s ...
LINQ really is hot stuff for .NET developers.
8/20 7:28PM Correction: The example OrderBy code below is incorrect. Updated and explained over here. I’m late to the LINQ party. I thought I was good at keeping up with the latest trends and improving my skills. But I never embraced the importance of using LINQ versus learning about LINQ. I’m writing to say that ...
Visual Studio unit testing intro
Visual Studio’s unit testing framework isn’t widely covered in books or in other places, and this makes it tougher for teams to adopt strict test guidelines for their developers. At the end of the day, if you aren’t unit testing from day one of your project, you’re in for a world of hurt down the ...
My Silverlight 2 blog roadmap for Summer ’08
It’s summertime in Seattle, and the warmth throws everything off just a little (and that’s a good thing). I got a little too much sun waiting 7 hours in line at the University Village Apple Store on Friday to upgrade to an iPhone 3G (16gb model, black color)… So I’m hiding from the sun today, ...
Mid-July miscellaneous content post
Here’s some random comments I’ve prepared recently. A few cool Adobe links, a work office location update, then a quick vacation recap. Probably hardly warrants a dedicated posting, and is thoroughly not Silverlight related (sorry!). Adobe MAX conference mini site, ActionScript 3 stuff The MAX 2008 North America mini site is a fun rich experience. ...