# Thursday, 19 November 2009

A lot of cool stuff's coming out soon and there are already beta bits available. With beta bits there are also already videos available to look at and get familiar with what will be available.

Enjoy watching them.

Grz, Kris.

Thursday, 19 November 2009 17:23:00 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, 18 November 2009

I found this question on the ASP.NET forums. The member asking this question already knew that the collections were Cookies, Form, Servervariables and Querystring but wanted to know the exact order. Well I got curious but instead of making a dedicated test project I opened up Reflector. Looking up the HttpRequest class’ indexer gave me this code:

public string this[string key]
{
    get
    {
        string str = this.QueryString[key];
        if (str != null)
        {
            return str;
        }
        str = this.Form[key];
        if (str != null)
        {
            return str;
        }
        HttpCookie cookie = this.Cookies[key];
        if (cookie != null)
        {
            return cookie.Value;
        }
        str = this.ServerVariables[key];
        if (str != null)
        {
            return str;
        }
        return null;
    }
}

 

It’s on the other hand always better to directly call the most specific collection directly. This avoids getting strange things in your code like expecting a key in the Form collection and getting the same key from the QueryString collection which could have a different, or none at all, value than what you expect. Fun debugging sessions follow after that…

Grz, Kris.

Wednesday, 18 November 2009 05:02:00 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 16 November 2009

A while ago I already showed several handy plugins I like to use. Of course the world keeps on turning and new plugins are created or I just happen to stumble on little gems by accident. Here are some other plugins that I like to use:

Dust-me selectors: finds unused CSS selectors. It extracts all the selectors from all the stylesheets on the page you're viewing, then analyzes that page to see which of those selectors are not used. The data is then stored so that when testing subsequent pages, selectors can be crossed off the list as they're encountered. You can test pages individually, or spider an entire site, and you'll end up with a profile of which selectors are not used anywhere.

View source chart: A handy way to visualize the generated html.

viewsourcechart

Page speed: Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them. A handy plugin by Google.

page-speed

Grz, Kris.

Monday, 16 November 2009 14:01:00 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 19 October 2009

I noticed that Visual Studio 2010 Beta 2 got out for MSDN subscribers today. It’ll be available for the rest of the world on October 23rd. Also good news: next year on March 22 it’ll be there in RTW status.

Also the new version doesn’t use the standard logo with the 4 colors again but is now a smooth looking purple/blue logo.

VS2010B2Installation

Grz, Kris.

Monday, 19 October 2009 20:41:41 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, 07 August 2009

You can grab the good stuff here.

Included is:

The Windows 7 Training Kit for Developers includes presentations, hands-on labs, and demos. This content is based on Windows 7 RTM and it is designed to help you learn how to build applications that are compatible with and shine on Windows 7 by utilizing key Windows 7 features such as:

  • Taskbar
  • Libraries
  • Multi Touch
  • Sensors and Location
  • Ribbon
  • Trigger Start Services
  • Instrumentation and ETW
  • Application Compatability
And Application Compatibility topics such as:
  • Version Checking
  • UAC Data Redirection
  • Session 0 Isolation
  • Installer Detection
  • User Interface Privilege Isolation
  • High DPI

Grz, Kris.

Friday, 07 August 2009 22:55:54 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
# Friday, 31 July 2009

Great news for the ASP.NET MVC fans. After a release of MVC 1 earlier this year today the first preview of version 2 has been placed on the download servers.

Here are the announcements of Scott Guthrie and Phil Haack.

Grz, Kris.

Friday, 31 July 2009 09:21:35 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 27 July 2009

Since more and more people are using ajax and as such javascript/ecmascript, you as a developer/designer need tools to make it through the day. Here are some that I like to use:

Grz, Kris.

Monday, 27 July 2009 09:16:03 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, 14 July 2009

Since WPF and especially Silverlight, since version 3 recently was released, have similarities it’s nice to have an overview of what both technologies have to offer and where Silverlight’s left out on certain things. I found such an overview on Codeplex: http://wpfslguidance.codeplex.com/.

Taken from the project description:

WPF and Silverlight are both XAML based platforms but there are some important functionality and implementation differences between the two. This project contains content illustrating these differences and the best practices for developing against these platforms.
Content posted to this project includes a whitepaper detailing what is similar and different between the two platforms as well as how to code against both platforms getting as much code reuse as possible.

Grz, Kris.

Tuesday, 14 July 2009 12:00:24 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, 13 July 2009

Going on vacation to Greece without pc or internet connection (but in very good company) is nice but you always find when coming home that new cool things have arrived. This time it turned out to be the long awaited Silverlight 3.

There’s an interesting video on Channel 9 with Scott Guthrie on the new things that shipped and also a new dedicated site. Be sure to check these out.

With the new version there’s also need of a tool to build compelling RIAs with. This is still in Release candidate but you can already check out Blend 3.

Grz, Kris.

Monday, 13 July 2009 18:02:28 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, 30 June 2009

Strange but true but this is a question that I notice a lot on forums.asp.net. Normally the latest and most up to date version can be found at http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27326 like I described in one of my former blog posts.

How great Codeplex may be it seems that it’s difficult for a lot of people to find the correct version that targets ASP.NET 2.0. If you’re one of these people whose looking for it then navigate to this url: http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=11121. As you can see there haven’t been updates out anymore for .NET 2.0 since February 29th 2008.

Update: apparently I already blogged about this in the past: ASP.NET AJAX Control Toolkit only for 3.5 anymore? Seems to me like still not a lot of people can find it.

Grz, Kris.

Tuesday, 30 June 2009 20:18:57 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |