Silverlight, WPF, ASP.NET

Glen Rocks The House: MSDN Vista Launch

Friday, February 16, 2007 7:14:52 AM (Eastern Standard Time, UTC-05:00)

Carolina's favorite Microsoft presenter Glen Gordon rocked the house today in Durham at the MSDN Events Windows Vista launch event. His half day session was full of great demos and looks at what's new in Windows Vista and .Net 3.0.

 

 

Technorati tags: , ,

Posted in  | Comments [0] 


Windows Vista Search Index: Add Network Shares

Thursday, February 15, 2007 1:20:04 AM (Eastern Standard Time, UTC-05:00)

What to added mapped drives of network shares to the search indexes of Windows Desktop Search in Windows Vista? See KB918996

Availability of the Windows Desktop Search: Add-in for Files on Microsoft Networks

The following file is available for download from the Microsoft Download Center:
DownloadDownload the UNCFATPHInstaller.msi package now. (http://www.microsoft.com/downloads/details.aspx?FamilyID=f7e981d9-5a3b-4872-a07e-220761e27283&DisplayLang=en) Release Date: September 28, 2006

Technorati tags: , , ,

Posted in  | Comments [0] 


Don't believe the hype. Vista rocks!

Saturday, February 10, 2007 5:37:18 PM (Eastern Standard Time, UTC-05:00)

 

A great reality check on the mac ads targeting Vista upgrades.

If I was writing a Mac commercial...

Nicely done D'Arcy! Vista does rock!

Posted in  | Comments [0] 


WCF: This collection already contains an address with scheme http (Update)

Friday, February 09, 2007 5:50:25 AM (Eastern Standard Time, UTC-05:00)

Thanks to those of you that have sent me comments on my CustomHostFactory post. I wanted to post publicly question that I received from a couple of people.

While specifying a hard coded BaseAddress array works, it's not really practice for deploying applications in multiple environments and updating configuration changes in the future. I set out to find a better approach to this, and found a blog post by Aaron Skonnard here that add a simple configuration capability by reading the following section of a web.config file.

  <appSettings>
    <add key ="baseHttpAddress" value=http://localhost/ServiceTest/service.svc/>
  </appSettings>

My updated CustomHostFactory code is as follows

    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.ServiceModel;
    using System.ServiceModel.Activation;
    using System.Configuration;

    class CustomHostFactory : ServiceHostFactory 
    {
        protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
        {
            CustomHost customServiceHost =
                new TradeServiceCustomHost(serviceType, baseAddresses);
            return customServiceHost;
        }
    }

    class CustomHost : ServiceHost
    {
        public CustomHost(Type serviceType, params Uri[] baseAddresses)
            : base(serviceType, GetBaseAddresses())
        { }
        protected override void ApplyConfiguration()
        {
            base.ApplyConfiguration();
        }

        // read base addresses from AppSettings in config
        // Added from sample at http://pluralsight.com/blogs/aaron/archive/2006/04/19/22106.aspx
        private static Uri[] GetBaseAddresses()
        {
            List<Uri> addresses = new List<Uri>();
            AddBaseAddress(addresses, "baseHttpAddress");
            return addresses.ToArray();
        }
        private static void AddBaseAddress(List<Uri> addresses, string key)
        {
            string address = ConfigurationManager.AppSettings[key];
            if (null != address)
                addresses.Add(new Uri(address));
        }
    }
 

It would be really great if there was a way to remove base address through the web.config similar to how asp.net lets you remove providers and other settings with something to the effect of

<BaseAddresses>
    <Remove All />
    <Add BaseAddress="http;//..." />
</BaseAddresses>

Technorati tags:

Posted in  | Comments [2] 


Microsoft Expression Session 07 NYC

Friday, February 02, 2007 10:56:44 PM (Eastern Standard Time, UTC-05:00)

This week I attended the Microsoft ExpressionSession07 event held in New York City. As somebody not from NYC, the view from the 52nd floor of 7 World Trade Center was simply amazing!

 

 

The content of the day was equally as exciting, although I must say that while I think Microsoft has a great story with their Expression suite of products, they need to present a much more refined message. That being said, it was still a worthwhile event to attend.

The day featured a keynote in the morning lead by Eric Zocher, and afternoon sessions by presenters including Robby Ingebresen from Identity Mine & Beau Ambur fromMetaliqq (On Expression Blend/WPF), Microsoft's Jeff King, and Eric Meyer (Expression Web). The highlight for me was hearing from Robby and Beau, both individuals that are with companies delivering WPF solutions. Both showed opportunities to productively deliver amazing looking solutions and talking about the issues of a developer/designer world. I think hearing from these two clarified a lot of the message that Microsoft needs to be spreading to make Expression a success.

Expression Blend

Coincidentally, on the same day Microsoft Expression Blend Beta 2 was released to the web and is available here. Check out the entire Expression suite at www.microsoft.com/expression

Electric Rain also presented their new presentation software StandOut, which makes use of WPF. [Info here]

 

Posted in  | Comments [0] 


Windows Vista Telnet Client

Friday, February 02, 2007 5:56:07 PM (Eastern Standard Time, UTC-05:00)

 

Can't find a Telnet client in Windows Vista? It's a "Windows Feature" that must be turned on from Programs and Features in the Control Panel

Posted in  | Comments [1]