Home | Blog | Publications | Photos | Services | About | Contact

Blog Archive - March, 2008

Back to Blog index.

Mon, 31 Mar 2008 13:52:27 GMT:
From Prague with greetings

I had the chance to visit Prague last weekend, and nice city though could be a little cleaner. Nonetheless, software development wise, I'm returning to the city in two weeks to hear about Intel's software development products. Looking forward to that trip.

Thu, 27 Mar 2008 04:57:08 GMT:
Canon EOS 5D firmware 1.1.1 now available

I noticed that Canon has recetly (like last week) released an updated firmware to EOS 5D DSLR camera, this time with version number 1.1.1. The newest firmware includes, among other things, support for larger CompactFlash card than 8 GB, which was the previous limit. You can download the new firmware here.

Tue, 25 Mar 2008 14:43:21 GMT:
XAML file format documented

On Microsoft Downloads, there's a brand-new document about Windows Presentation Foundation's XAML language (Extensible Application Markup Language).

This document is available both in PDF and ZIP formats, and the easiest things is to download the 7 MB ZIP file, which contains the two PDF documents.

Sun, 23 Mar 2008 10:43:16 GMT:
A good starting point for Silverlight development

If you are interested in Silverlight development, of course Microsoft's own site www.silverlight.net is the place to start. However, this is not the only one, as MSDN also has tons of good info. One starting point is the topic titled "Application Development Overview", available under web application development tree.

Thu, 20 Mar 2008 15:21:24 GMT:
Using App_Offline.htm to show that an ASP.NET site is temporarily down

Sometimes, you need to update your large ASP.NET web application, but doing so takes time. In these situations it would be great if you could put up a message saying "Under construction" for a moment, and then do your stuff, and then resume. Luckily, you can.

If you create a file called "app_offline.htm" to the root of your site, ASP.NET will notice that file and display it for all requests to the site. Great, just what you often need. More information is available here.

Happy Easter everyone!

Tue, 18 Mar 2008 17:39:28 GMT:
IIS 7.0 Bit Rate Throttling

I read from Scott Guthrie's blog today, that a bit-throttling module has been developed for IIS 7.0, and that it is now available.

Sounds like a very cool addition to me. I haven't yet had the chance to test it, but I believe the same technology could also be extended to other media types?

Tue, 18 Mar 2008 17:39:24 GMT:
Windows Vista Service Pack 1 is here

Windows Vista Service Pack 1 (SP1) is finally here. This link is for the standalone download, about 450 MB in size. Of course, this can be too much for many people, and thus my suggestion is that you would let Microsoft Update/Windows Update do the work for you. This way, the downloads are smaller; of course for corporate desktops the situation can be different.

Nonetheless, Vista SP1 is a welcome service pack, and something surely many have waited for. The details about what's new in the pack are available here.

Mon, 17 Mar 2008 14:30:27 GMT:
ASP.NET 2.0 web application errors on first touch

I have a new Windows Vista laptop which is working really nicely. However, I noticed that when I use Visual Studio 2008 to develop ASP.NET web applications with the ASP.NET Development Server (that comes with Visual Studio), I always get the error message shown next when I first launch the application. But once I hit Refresh in my web browser, the problem goes away. The error is:

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

So far, I haven't had the chance to investigate this error, but I assume it must be either an antivirus issue, or then related to CodeGear Delphi, as the stack trace includes a hint about Borland.DbkAsp.DbkConnModule. Lets see when I have the time to check this out.

Fri, 14 Mar 2008 06:07:49 GMT:
DevDays 2008 a success

The Finnish DevDays 2008 event was held yesterday, and at least my feeling was that it was a success. My two ASP.NET web sessions gathered maybe around 900 people in total, which is a great amount of people.

The presentation recordings should be online later this month, so be sure to check out CodeZone.fi later.

Tue, 11 Mar 2008 05:32:10 GMT:
SQL Server Data Services, what is it for?

Microsoft has announced a new service that uses SQL Server database: the SQL Server Data Services (SSDS).

These services are "ighly scalable, on-demand data storage and query processing web services" according to Microsoft. Also, these services support simple programming interfaces for example from C#, and support both SOAP and REST type of interfaces. For queries, LINQ can be used. Sounds cool to me!

Mon, 10 Mar 2008 06:41:41 GMT:
Simplest possible DataBinding to an array of data

Sometimes, people as me what was the syntax to bind ASP.NET web controls to a data source (datasource) that doesn't contain any named elements. For example, you might want to bind to an array of data, but you cannot use the Eval method to do this, since there are no named properties to evaluate.

For example, you might want to use the new ASP.NET 3.5 control ListView to an array of interegers, for instance like this:

int[] numbers = { 12,6,14,9,3,7,11 };
ListView1.DataSource = numbers;
ListView1.DataBind();

Then the question is: how do you refer to the elements of the array in your HTML code? The answer is: referring to the Container.DataItem property. Like this, for example:

<asp:ListView ID="ListView1" runat="server">
  <LayoutTemplate>
    <ul>
      <asp:PlaceHolder ID="itemPlaceHolder" runat="server" />
    </ul>
  </LayoutTemplate>
  <ItemTemplate>
    <li>
      <%# Container.DataItem %>
    </li>
  </ItemTemplate>
</asp:ListView>

Keywords: How to data bind to an array, databind to array, C#, ASP.NET.

Thu, 06 Mar 2008 15:35:13 GMT:
MIX08 announcements: IE 8 beta, Silverlight 2 beta and Expression Blend Beta

Microsoft's MIX08 event sessions held in Las Vegas are now available online on VisitMix.com.

The most interesting announcements at MIX08 were naturally Internet Explorer 8, Expression Blend 2 and Silverlight 2. So there's lot of things to check this year.

Oh, and save the date for the next MIX09. :-) It is March 18th to 20th, 2009.

Tue, 04 Mar 2008 14:47:13 GMT:
Measure WPF application performance with the WPF Performance Suite

On NetFX3.com there's a nice utility called the WPF Performance Suite. This utility allows you to profile your Windows Presentation Foundation applications and check which XAML constructs are faster than others.

Features of this freely downloadably tool include a rendering analyzer, visual profiler, working set analyzer and more.

Mon, 03 Mar 2008 17:12:09 GMT:
Using Visual Studio and VMware 6 together changes the shortcut key for building

One of the nice features in the latest version of VMware Workstation 6 is the ability to start debugging applications straight in a virtual machine. Currently, only Visual Studio version 2005 is supported.

Having installed VMware Workstation 6 recently on one of my machines, I unconscientiously started Visual Studio 2005, opened a project, and tried hitting F6 to build the product. Before I knew it, I was prompted with the following error message:

---------------------------
Error
---------------------------
A virtual machine was not specified in the current configuration.
---------------------------
OK   
---------------------------

Oops! What? I had to retry several times to make sure I was reading right. I just had completely forgotten about VMware, and didn't understand what was the issue. Then I remembered my previous installation, and noticed that installing VMware will change your trusted F6 key to do something else.

Personally, I think changing a common shortcut key is something that should not be made by default, so here we go. Just for your information.

 

› Blog Archive