<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Nick McKenna's Blog</title>
        <link>http://mckennatribe.com/Default.aspx</link>
        <description>Agile, Software, Technology</description>
        <language>en-GB</language>
        <copyright>Nick McKenna</copyright>
        <managingEditor>nick.mckenna@mckennaconsultants.com</managingEditor>
        <generator>Subtext Version 1.9.5.177</generator>
        <image>
            <title>Nick McKenna's Blog</title>
            <url>http://mckennatribe.com/images/RSS2Image.gif</url>
            <link>http://mckennatribe.com/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Reporting Services 2008 And AVG Link Scanner</title>
            <category>.NET</category>
            <link>http://mckennatribe.com/archive/2009/12/31/reporting-services-2008-and-avg-link-scanner.aspx</link>
            <description>&lt;p&gt;I have been tearing my hair out for weeks on a Report Services 2008 problem. The symptoms are that requests to the web service that are made programmatically never seem to get to the RS ReportServer/ReportService2005.asmx web service never seem to get there and the ReportViewer component hangs try to get the reports.&lt;/p&gt;
&lt;p&gt;Interestingly, Report Manager works fine which makes me think it doesn't use the web service!&lt;/p&gt;
&lt;p&gt;I have tried all sorts of things including turning off the firewall, reinstalling SQL 2008 etc etc. I was astonished to find out that disabling the LinkScanner in AVG was the final solution to the problem... Wht did AVG not tell me it was blocking these requests?????&lt;/p&gt;
&lt;p&gt;Bizarre, but problem solved now!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/59.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/12/31/reporting-services-2008-and-avg-link-scanner.aspx</guid>
            <pubDate>Thu, 31 Dec 2009 14:52:37 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/59.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/12/31/reporting-services-2008-and-avg-link-scanner.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/59.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/59.aspx</trackback:ping>
        </item>
        <item>
            <title>An Introduction To Agile Software Development - Feb 15th 2010</title>
            <category>Agile</category>
            <link>http://mckennatribe.com/archive/2009/11/23/an-introduction-to-agile-software-development---feb-15th-2010.aspx</link>
            <description>&lt;p&gt;Just a quick heads up to the Agile community in Yorkshire!&lt;/p&gt;
&lt;p&gt;There is another one day course on "An Introduction To Agile Software Development" at NTI in Leeds on February 15th 2010. The course is full of practical advice and aimed at teams who are just adopting Agile or who are thinking about adopting Agile.&lt;/p&gt;
&lt;p&gt;The course is suitable for developers, testers, managers, business analysts, directors, product owners and anyone else involved in the Agile process.&lt;/p&gt;
&lt;p&gt;For more information about this course, visit the &lt;a target="_blank" href="http://www.ntileeds.co.uk/course/introduction-to-agile-software-development/"&gt;NTI web site&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/58.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/11/23/an-introduction-to-agile-software-development---feb-15th-2010.aspx</guid>
            <pubDate>Mon, 23 Nov 2009 14:11:58 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/58.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/11/23/an-introduction-to-agile-software-development---feb-15th-2010.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/58.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/58.aspx</trackback:ping>
        </item>
        <item>
            <title>Agile Yorkshire  - 9th Dec - Old Broadcasting House, David Joyce, Kanban for Software Engineering</title>
            <category>Agile</category>
            <link>http://mckennatribe.com/archive/2009/11/23/agile-yorkshire----9th-dec---old-broadcasting-house.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Kanban focuses on becoming successful, which may lead to being Agile. Lean is a set of principles that are being applied to software engineering by a growing number of practitioners. Kanban is a true pull system implementation in software engineering. The five pillars of Lean, which Kanban fully implements are pull, continuous flow, customer value, waste elimination and continuous improvement. The Principles of Kanban are: to agree a team capacity, to limit WIP (Work in Process) to that capacity, to pull value through the value stream, and to make both work and workflow visible. It has proven easy to adopt and lowers resistance to change. The result is a gradual, incremental approach to change that is empowering for everyone. &lt;/p&gt;
&lt;p&gt;This meeting will be a special end of year event held at Old Broadcasting House (&lt;a target="_blank" href="http://www.ntileeds.co.uk/old-broadcasting-house/"&gt;http://www.ntileeds.co.uk/old-broadcasting-house/&lt;/a&gt;). &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Speaker&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;David is an agile development manager and coach with 12 years technical team management and coaching experience, and 20 years software development experience. In recent years, using Scrum and XP, David has coached onshore and offshore development teams and successfully launched an internet video startup from inception to launch. David currently works for BBC Worldwide as a Development Manager, coaching teams on Scrum, Lean and Kanban. David is a certified Scrum Master and Lean practitioner. &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/57.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/11/23/agile-yorkshire----9th-dec---old-broadcasting-house.aspx</guid>
            <pubDate>Mon, 23 Nov 2009 14:07:06 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/57.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/11/23/agile-yorkshire----9th-dec---old-broadcasting-house.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/57.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/57.aspx</trackback:ping>
        </item>
        <item>
            <title>Google Wave For Agile</title>
            <category>Agile</category>
            <category>Technology</category>
            <link>http://mckennatribe.com/archive/2009/11/23/google-wave-for-agile.aspx</link>
            <description>&lt;p&gt;Now that my Google Wave beta account has been activated I am starting to explore the possibilities! The first thing that came into my head was that Wave could be a great collaboration tool for exploring requirements / User Stories. You can have an ongoing conversation about the requirements that is documented. You can also have people join and leave the conversation as often as you need. You can upload video, photos etc that show details of a bug or a required feature. It is also ready to run and does not need any customisation work.&lt;/p&gt;
&lt;p&gt;I think that Wave would be pretty awful for recording the final spec (maybe Google Docs for that), but for the ongoing exploration of requirements, I think it is good. Obviously, there is not substitute for a face-to-face conversation, but where that is not possible, this could be the answer!&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/56.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/11/23/google-wave-for-agile.aspx</guid>
            <pubDate>Mon, 23 Nov 2009 14:00:54 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/56.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/11/23/google-wave-for-agile.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/56.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/56.aspx</trackback:ping>
        </item>
        <item>
            <title>Microsoft Sync Framework v2</title>
            <category>.NET</category>
            <category>Technology</category>
            <link>http://mckennatribe.com/archive/2009/11/02/microsoft-sync-framework-v2.aspx</link>
            <description>&lt;p&gt;Our work with the MS Sync Framework is going very well and the v2 release could not have been better timed! We are syncing data from a web-based application (which runs under SQL Server 2008) to a local SQL Server Compact Edition (3.5 sp1) cache. It has taken us a couple of weeks to get up to speed with everything. There are a lot of steps involved in our scenario:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Create a Sync Framework project&lt;/li&gt;
    &lt;li&gt;Get the sync working between databases on a local machine&lt;/li&gt;
    &lt;li&gt;Switch to using a WCF web service call for the sync&lt;/li&gt;
    &lt;li&gt;Hack away at the original db schema until it works (primary key issues, clustered indexes etc)&lt;/li&gt;
    &lt;li&gt;Choose the right security mode for the WCF call (nightmare)&lt;/li&gt;
    &lt;li&gt;Create a new web service on the test server for the WCF call&lt;/li&gt;
    &lt;li&gt;Create a Windows app to Sync to&lt;/li&gt;
    &lt;li&gt;etc etc etc&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One of the biggest challenges is retrofitting the Sync Framework on to an existing database schema. My general advice (having been through the pain) would be:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;USE GUIDS FOR ALL YOUR PRIMARY KEYS!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We did not do this in our production database (we didn't know about the need to Sync way back then) and it adds some interesting technical issues! We use Integers with Identity set for primary keys. I should also mention that are attempting bi-directional synchronisation... The main problem is that after the initial sync, the seeds of identity fields are all set to 1. This means that all of the clients and the server will insert records using the same primary key values! The Sync framework cannot handle this, so we need to make a manual intervention.&lt;/p&gt;
&lt;p&gt;The solution is to seed the server at a high value and the clients at lower values. We are using 32 bit integers for PKs, so we simply allocate a client id to each client (we actually allocate a low number and shift it left 24 bits to give the new seed). We tries some other schemes such as having the server start at 1, but we had problems with syncing.&lt;/p&gt;
&lt;p&gt;The other problem is that the documentation for the Sync Framework is not great at the moment. We spent a lot of time working some basic stuff out for ourselves. If I ever get some free time I will do a tutorial based on our product going from nothing to have a complete and working Sync Framework application... It might happen...&lt;/p&gt;
&lt;p&gt;Overall, working with the Sync framework is good, but you need to be prepared to get technical and work through problems yourself as the documentation is still a little light!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/55.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/11/02/microsoft-sync-framework-v2.aspx</guid>
            <pubDate>Mon, 02 Nov 2009 08:59:30 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/55.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/11/02/microsoft-sync-framework-v2.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/55.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/55.aspx</trackback:ping>
        </item>
        <item>
            <title>Agile Training Course Funded By Train To Gain</title>
            <category>Agile</category>
            <category>Technology</category>
            <link>http://mckennatribe.com/archive/2009/10/26/agile-training-course-funded-by-train-to-gain.aspx</link>
            <description>&lt;p&gt;From November, I am teaching a new Agile software development course for NTI (NTI is part of Leeds Metropolitan University’s Innovation North faculty). If your employer is in Yorkshire or Humber, then you will qualify for the Train To Gain funding which reduces the cost of the course from £290 to only £120.&lt;/p&gt;
&lt;p&gt;The course is great for people who are new to Agile (thinking about adopting or in the process of adopting). Attendees include:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Developers&lt;/li&gt;
    &lt;li&gt;Testers&lt;/li&gt;
    &lt;li&gt;Product Owners&lt;/li&gt;
    &lt;li&gt;Business Analysts&lt;/li&gt;
    &lt;li&gt;Project Managers&lt;/li&gt;
    &lt;li&gt;Executives&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Topics covered include:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Problems With Waterfall &lt;/li&gt;
    &lt;li&gt;What Is Agile? &lt;/li&gt;
    &lt;li&gt;Who Is Who? &lt;/li&gt;
    &lt;li&gt;Agile Teams &lt;/li&gt;
    &lt;li&gt;Agile Artefacts &lt;/li&gt;
    &lt;li&gt;Agile Process &lt;/li&gt;
    &lt;li&gt;Agile Tools &lt;/li&gt;
    &lt;li&gt;Scaling Up Agile &lt;/li&gt;
    &lt;li&gt;Agile Client Relationships &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are interested in finding out more, please visit:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" href="http://www.ntileeds.co.uk/category/course/project-management/"&gt;Yorkshire And Humber NTI Agile Course Description&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;img src="http://mckennatribe.com/aggbug/54.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/10/26/agile-training-course-funded-by-train-to-gain.aspx</guid>
            <pubDate>Mon, 26 Oct 2009 13:10:36 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/54.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/10/26/agile-training-course-funded-by-train-to-gain.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/54.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/54.aspx</trackback:ping>
        </item>
        <item>
            <title>Method is only supported if the user name parameter matches the user name in the current windows identity.</title>
            <category>.NET</category>
            <link>http://mckennatribe.com/archive/2009/07/21/method-is-only-supported-if-the-user-name-parameter-matches.aspx</link>
            <description>&lt;p&gt;I've been doing an Intranet application with ASP.Net 3.5, WCF and Silverlight 3 for the last few weeks. It seems that getting these things to play together is not so easy at the moment!&lt;/p&gt;
&lt;p&gt;I am using Windows Integrated Authentication for the whole shooting match since it is on an Intranet. I thought that this would make it easy!&lt;/p&gt;
&lt;p&gt;The functionality of the Silverlight application changes depending on the roles that the user has. First off, there don't appear to be any user querying facilities in Silverlight (e.g. like the Role Manager method Roles.IsUserInRole(username)). The general consensus seems to be that you should call a WCF service to get this kind of functionality. That is no problem as my Silverlight app already uses WCF!&lt;/p&gt;
&lt;p&gt;I have impersonation configured in the web.config for the WCF services and the ASP.Net web site. I can call the services and see that WindowsIdentity.GetCurrent().Name is set to the name of the user accessing the Silverlight app. Great! I can also use the WCF Security Context and see that the current user is the Windows user using the Silverlight app. Happy days!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;HOWEVER&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Whenever I use a Role Manager method such as Roles.IsUserInRole(username) I get the error:&lt;/p&gt;
&lt;p&gt;&lt;font face=""&gt;&lt;strong&gt;&lt;em&gt;"Method is only supported if the user name parameter matches the user name in the current windows identity."&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I have scoured the Internet looking for a way to get this to work, but alas, I cannot find one. It appears that Role Manager does not work in the ASP.Net, Silverlight and WCF scenario. My solution is this:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;
&lt;p&gt;///&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;&amp;lt;summary&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;///&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt; Find information about a user's roles.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;///&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;&amp;lt;/summary&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;///&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;&amp;lt;returns&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;The list of roles for the specified user.&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;&amp;lt;/returns&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;[&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;WindowsIdentity&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; id = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;WindowsIdentity&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.GetCurrent();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; group &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; id.Groups)&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;  NTAccount&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; account = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;NTAccount&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;) group.Translate(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;typeof&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;NTAccount&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;));&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;  string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; name = account.Value;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; userRoles;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;  userRoles.Add(name);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Obviously, I'm stuck with Windows Authentication now, but that doesn't really matter to me!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;OperationBehavior&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(Impersonation = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ImpersonationOption&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Required)]&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;IList&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt; GetRolesForCurrentUser()&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;List&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt; userRoles = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;List&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;();&lt;/font&gt;&lt;img src="http://mckennatribe.com/aggbug/53.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/07/21/method-is-only-supported-if-the-user-name-parameter-matches.aspx</guid>
            <pubDate>Tue, 21 Jul 2009 19:07:51 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/53.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/07/21/method-is-only-supported-if-the-user-name-parameter-matches.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/53.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/53.aspx</trackback:ping>
        </item>
        <item>
            <title>Silverlight 3 minRuntimeVersion</title>
            <category>.NET</category>
            <link>http://mckennatribe.com/archive/2009/07/14/silverlight-3-minruntimeversion.aspx</link>
            <description>&lt;p&gt;I've been doing a lot of Silverlight lately for a couple of projects. I upgraded them to the new Silverlight  using the Visual Studio upgrade wizard that started automatically. It all works fine other than the minRuntimeVersion attributes on HTML pages that reference Silverlight xap files.&lt;/p&gt;
&lt;p&gt;The problem is that if the Silverlight control was compiled under version 3 and you specify the version 2 runtime in minRuntimeVersion, you get an ugly error and download instruction:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Ugly Error 1" width="800" height="607" src="/images/mckennatribe_com/other/old1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Ugly Error 2" width="800" height="607" src="/images/mckennatribe_com/other/old2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;If you update the minRuntimeVersion, then you get a much more user friendly version:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Pretty Upgrade Message" width="800" height="607" src="/images/mckennatribe_com/other/new1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;For the record, the old minRuntimeVersion was &lt;font face=""&gt;2.0.31005.0 and t&lt;/font&gt;he new runtime version appears to be &lt;font face=""&gt;3.0.40624.0&lt;/font&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/52.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/07/14/silverlight-3-minruntimeversion.aspx</guid>
            <pubDate>Tue, 14 Jul 2009 08:22:42 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/52.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/07/14/silverlight-3-minruntimeversion.aspx#feedback</comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/52.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/52.aspx</trackback:ping>
        </item>
        <item>
            <title>asp:menu And Internet Explorer 8</title>
            <category>Technology</category>
            <link>http://mckennatribe.com/archive/2009/05/17/aspmenu-and-internet-explorer-8.aspx</link>
            <description>&lt;p&gt;Now that IE8 has become an important download from Microsoft, I expect to see the asp:menu bug raising its head more frequently. Mostly the asp.Net controls seem to work well in IE8. Unfortunately there is a bug in the menu control that is highlighted when using a standards compliant browser (like IE8, but interestingly Firefox does not comply with this particular standard).&lt;/p&gt;
&lt;p&gt;The symptom is that the dynamic portion of an asp:menu is rendered entirely in white (i.e. unreadable) in IE8. There are several solutions:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;View the site in compatibility mode&lt;/li&gt;
    &lt;li&gt;&lt;a target="_blank" href="http://weblogs.asp.net/bleroy/archive/2009/03/23/asp-menu-fix-for-ie8-problem-available.aspx"&gt;Download the hotfix from Microsoft&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;Use a CSS adapter for your controls&lt;/li&gt;
    &lt;li&gt;Add a z-order to the CSS for your dynamic menu&lt;/li&gt;
    &lt;li&gt;Add a meta tag to the web site&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Personally, I went for the z-order solution as it was the quickest to implement (am I not Agile?). To implement this, change the CSS class of your Dynamic menu. I do this using the DynamicMenuStyle-CssClass attribute of the asp:menu control.&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;pre&gt;&amp;lt;asp:Menu ID="Menu1" runat="server" DataSourceID="StdSiteMapDataSource" Orientation="Horizontal"&lt;br /&gt;  StaticMenuStyle-CssClass="StaticMenu" StaticMenuItemStyle-CssClass="StaticMenuItem"&lt;br /&gt;  DynamicMenuItemStyle-CssClass="DynamicMenuItem" &lt;strong&gt;&lt;font color="#ff0000"&gt;DynamicMenuStyle-CssClass="DynamicMenu"&lt;/font&gt;&lt;br /&gt;&lt;/strong&gt;  StaticHoverStyle-CssClass="StaticMenuHover" StaticSelectedStyle-CssClass="StaticMenuSelected"&lt;br /&gt;  OnMenuItemDataBound="Menu1_MenuItemDataBound" StaticEnableDefaultPopOutImage="False"&amp;gt;&lt;br /&gt;  &amp;lt;StaticMenuItemStyle ItemSpacing="0" /&amp;gt;&lt;br /&gt;&amp;lt;/asp:Menu&amp;gt;&lt;/pre&gt;
&lt;p&gt;In my CSS file I have this:&lt;/p&gt;
&lt;pre&gt;.DynamicMenu&lt;br /&gt;{&lt;br /&gt;  background-color: #3e6fc8;&lt;br /&gt;  margin-top: 1px;&lt;br /&gt;  &lt;strong&gt;&lt;font color="#ff0000"&gt;z-index: 100; /* IE 8 menu fix */&lt;br /&gt;&lt;/font&gt;&lt;/strong&gt;}&lt;/pre&gt;
&lt;p&gt;&lt;a target="_blank" href="http://blogs.msdn.com/giorgio/archive/2009/02/01/asp-net-menu-and-ie8-rendering-white-issue.aspx"&gt;Check this blog entry out&lt;/a&gt; for some futher information about this.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/51.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/05/17/aspmenu-and-internet-explorer-8.aspx</guid>
            <pubDate>Sun, 17 May 2009 15:07:48 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/51.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/05/17/aspmenu-and-internet-explorer-8.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/51.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/51.aspx</trackback:ping>
        </item>
        <item>
            <title>64 Bit Update</title>
            <category>Technology</category>
            <link>http://mckennatribe.com/archive/2009/05/17/64-bit-update.aspx</link>
            <description>&lt;p&gt;After my debacle a couple of days ago removing my RAID array, I was thinking about how undramatic the shift to 64 bit has been for me.&lt;/p&gt;
&lt;p&gt;I moved my server and principle development PC to 64 bit over the last few weeks. For the server I bought a completely new machine and installed 64 bit from scratch. My server and desktop are similar specs, both having quad core processors with 4Gb RAM (I'm thinking about upgrading the RAM further...)&lt;/p&gt;
&lt;p&gt;In general, the move to 64 bit has been pretty simple. Almost everything I have installed works without problems. My desktop PC feels faster now and certainly gets to the Windows login screen much faster than it used to. It is tricky to specifically attribute that to the 64 bit move as I completely reinstalled Windows which always makes things move a bit faster! However, weeks (and several program installations) later, things are still moving along pretty quickly. I even installed Elder Scrolls Morrowind which runs without a hitch on a 64 bit platform!&lt;/p&gt;
&lt;p&gt;My only real problem as been IIS 7 on a 64 bit platform. On the server I struggled to get Outlook Web Access working (and any other web site). I had to do a bit of Googling, but I eventually found out how to configure the server to permit 32 and 64 web sites to run side by side.&lt;/p&gt;
&lt;p&gt;So overall, I would recommend looking at 64 computing for developers (and Morrowind fans).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://mckennatribe.com/aggbug/50.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Nick McKenna</dc:creator>
            <guid>http://mckennatribe.com/archive/2009/05/17/64-bit-update.aspx</guid>
            <pubDate>Sun, 17 May 2009 14:50:32 GMT</pubDate>
            <wfw:comment>http://mckennatribe.com/comments/50.aspx</wfw:comment>
            <comments>http://mckennatribe.com/archive/2009/05/17/64-bit-update.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://mckennatribe.com/comments/commentRss/50.aspx</wfw:commentRss>
            <trackback:ping>http://mckennatribe.com/services/trackbacks/50.aspx</trackback:ping>
        </item>
    </channel>
</rss>