
Back to Blog index.
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.
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.
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.
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.
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!
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?
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.
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.
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.
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!
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.
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.
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.
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