<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gary Pretty's Blog &#187; ASP.NET MVC</title>
	<atom:link href="http://blog.garypretty.co.uk/index.php/tag/aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.garypretty.co.uk</link>
	<description>.Net Development &#38; General Tech Related News</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:32:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Multi-Select List Box in ASP.NET MVC</title>
		<link>http://blog.garypretty.co.uk/index.php/2010/02/26/multi-select-list-box-in-asp-net-mvc/</link>
		<comments>http://blog.garypretty.co.uk/index.php/2010/02/26/multi-select-list-box-in-asp-net-mvc/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:13:57 +0000</pubDate>
		<dc:creator>Gary Pretty</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Fraemwork]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://blog.garypretty.co.uk/?p=245</guid>
		<description><![CDATA[Recently I have been working on an MVC site using the Entity Framework.  I have some related entities in my EF model, as show below in the form of &#8220;Reader&#8221; and &#8220;Category&#8221;, and the relationship between them, i.e. many to many. When it came to proucing a view and action to perofrm the Create Reader &#8230; </p><p><a class="more-link block-button" href="http://blog.garypretty.co.uk/index.php/2010/02/26/multi-select-list-box-in-asp-net-mvc/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Recently I have been working on an MVC site using the Entity Framework. </p>
<p style="text-align: center;">I have some related entities in my EF model, as show below in the form of &#8220;Reader&#8221; and &#8220;Category&#8221;, and the relationship between them, i.e. many to many.<br />
<img class="aligncenter size-medium wp-image-248" style="margin: 10px; border: black 1px solid;" title="EF Model" src="http://blog.garypretty.co.uk/wp-content/model-283x300.png" alt="" width="283" height="300" /></p>
<p>When it came to proucing a view and action to perofrm the Create Reader action, I was somewhat puzzled as to how I could allow the user to select one or more categories for a reader. </p>
<p>I started by having a view model that contained a list of all possible categories and then looping around these in my view and writing a check box out for each one.  When the form was submitted I looked through the form collection to find if any of the category check boxes had been selected.  I didn&#8217;t like this one bit and so I set out to find a cleaner way of carrying it out.</p>
<p>After some (quite a lot actually) searching, I stumbled accross the MultiSelectList type, which I could use in my ViewModel and then allow the default model binding to step in and do the leg work for me <img src='http://blog.garypretty.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Great!</p>
<p>So, I created a view model, a simplified version of which you can see below;</p>
<blockquote><p>    public class ReaderCreateViewModel : CustomViewModelBase<br />
    {</p>
<p>        public ReaderCreateViewModel()<br />
        {<br />
            ReaderDetails = new Reader();<br />
            CategoriesList = GetCategories(null);<br />
        }</p>
<p>        public Reader ReaderDetails { get; set; }<br />
        public MultiSelectList CategoriesList { get; private set; }<br />
        public int[] SelectedCategories { get; set; }</p>
<p>        public MultiSelectList GetCategories(int[] selectedValues)<br />
        {<br />
            var te = new myEntities();<br />
            List&lt;Category&gt; categories = te.Categories.ToList();<br />
            return new MultiSelectList(categories, &#8220;id&#8221;, &#8220;Name&#8221;, selectedValues);<br />
        }<br />
    }</p></blockquote>
<p> As you can see from the code above, the view model contains my Reader entity, a list of type MultiSelectList, which is a list of available categories and an array of integers which represent the Id of any selected Categories.</p>
<p>Then to add a listbox to my view that will bind the MultiSelectList, I simply insert the following into my view.</p>
<blockquote><p>            &lt;p&gt;<br />
             &lt;label for=&#8221;SelectedCategories&#8221;&gt;Categories:&lt;/label&gt;<br />
        &lt;%= Html.ListBox(&#8220;SelectedCategories&#8221;, Model.CategoriesList) %&gt;<br />
            &lt;/p&gt;</p></blockquote>
<p>Finally in my controller, I can simply check the SelectedItems object in my model for any selected Ids and add them to the Reader Categories list like this;</p>
<blockquote><p>            if (model.SelectedCategories != null)<br />
            {<br />
                foreach (var selectedCat in model.SelectedCategories)<br />
                {<br />
                    int selectedCatId = selectedCat;<br />
                    Category category = DataContext.Categories.Where(c =&gt; c.id                  == selectedCatId).FirstOrDefault();<br />
                    reader.Categories.Add(category);<br />
                }<br />
            }</p></blockquote>
<p>And that&#8217;s it.  Now there is probably a much better way of doing all or some of the above, but this worked perfectly for me when I needed it, so I hope it helps someone else out as well.  The final multi-select list box looked something like this;</p>
<p><a href="http://blog.garypretty.co.uk/wp-content/listbox.bmp"><img class="aligncenter size-full wp-image-250" title="listbox" src="http://blog.garypretty.co.uk/wp-content/listbox.bmp" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ASP.NET+MVC' rel='tag' target='_self'>ASP.NET MVC</a>, <a class='technorati-link' href='http://technorati.com/tag/Entity+Framework' rel='tag' target='_self'>Entity Framework</a>, <a class='technorati-link' href='http://technorati.com/tag/MVC' rel='tag' target='_self'>MVC</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.garypretty.co.uk/index.php/2010/02/26/multi-select-list-box-in-asp-net-mvc/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC &#8211; Passing ViewData to a MasterPage</title>
		<link>http://blog.garypretty.co.uk/index.php/2010/01/12/asp-net-mvc-passing-viewdata-to-a-masterpage/</link>
		<comments>http://blog.garypretty.co.uk/index.php/2010/01/12/asp-net-mvc-passing-viewdata-to-a-masterpage/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 10:10:19 +0000</pubDate>
		<dc:creator>Gary Pretty</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://blog.garypretty.co.uk/index.php/2010/01/12/asp-net-mvc-passing-viewdata-to-a-masterpage/</guid>
		<description><![CDATA[If like me you are using ASP.NET MVC for some of your web applications these days and use MasterPages within them, then you may have come accross the need to pass ViewData to the MasterPage.  For example, this might be for a dynamically generated navigation bar. When I first started using MVC, I simply passed &#8230; </p><p><a class="more-link block-button" href="http://blog.garypretty.co.uk/index.php/2010/01/12/asp-net-mvc-passing-viewdata-to-a-masterpage/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>If like me you are using ASP.NET MVC for some of your web applications these days and use MasterPages within them, then you may have come accross the need to pass ViewData to the MasterPage.  For example, this might be for a dynamically generated navigation bar.</p>
<p>When I first started using MVC, I simply passed the ViewData required for the MasterPage along with every action, but even with a small site, this was a lot of code replication.</p>
<p>To solve this problem, we can create an ApplicationController class which inherits from the Controller class we all know and love.  Your applications&#8217; controllers then in turn simply inherit from this new ApplicationController.</p>
<p>Below is a simple example of an ApplicationController.</p>
<blockquote>
<pre class="csharpcode"><span class="kwrd">namespace</span> MvcSite.Controllers
{
    <span class="kwrd">public</span> <span class="kwrd">abstract</span> <span class="kwrd">class</span> ApplicationController : Controller
    {
        <span class="kwrd">private</span> MyEntities _dataContext = <span class="kwrd">new</span> MyEntities();

        <span class="kwrd">public</span> MyEntities DataContext
        {
            get { <span class="kwrd">return</span> _dataContext; }
        }

        <span class="kwrd">public</span> ApplicationController()
        {
            ViewData[<span class="str">"categories"</span>] = DataContext.Categories.ToList();
        }

    }
}</pre>
</blockquote>
<p>Hope this helps someone else as well. Certainly removed a headache for me!</p>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ASP.NET+MVC' rel='tag' target='_self'>ASP.NET MVC</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.garypretty.co.uk/index.php/2010/01/12/asp-net-mvc-passing-viewdata-to-a-masterpage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scott Guthrie &#8211; Manchester &#8211; September 2009 &#8211; ASP.Net 4.0, MVC, Silverlight 3, VS 2010</title>
		<link>http://blog.garypretty.co.uk/index.php/2009/09/16/scott-guthrie-manchester-september-2009-asp-net-4-0-mvc-silverlight-3-vs-2010/</link>
		<comments>http://blog.garypretty.co.uk/index.php/2009/09/16/scott-guthrie-manchester-september-2009-asp-net-4-0-mvc-silverlight-3-vs-2010/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 22:22:37 +0000</pubDate>
		<dc:creator>Gary Pretty</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[scott gu]]></category>
		<category><![CDATA[scott guthrie]]></category>
		<category><![CDATA[silverlight 3]]></category>
		<category><![CDATA[visual studio 2010]]></category>

		<guid isPermaLink="false">http://blog.garypretty.co.uk/?p=223</guid>
		<description><![CDATA[Scott Guthrie, Microsoft&#8217;s Corporate Vice Presedent and all round .Net Guru is coming to Manchester, UK, later this month to talk about what&#8217;s new with Visual Studio 2010, ASP.Net 4.0, Silverlight 3 and upcoming improvements to the MVC Framework! Seating for this event, entitled Guathon 2009,  is very limited and as such you can only join the &#8230; </p><p><a class="more-link block-button" href="http://blog.garypretty.co.uk/index.php/2009/09/16/scott-guthrie-manchester-september-2009-asp-net-4-0-mvc-silverlight-3-vs-2010/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-224 alignleft" style="margin: 20px; border: black 1px solid;" title="scottguthrie" src="http://blog.garypretty.co.uk/wp-content/scottguthrie.png" alt="scottguthrie" width="215" height="165" /></p>
<p>Scott Guthrie, Microsoft&#8217;s Corporate Vice Presedent and all round .Net Guru is coming to Manchester, UK, later this month to talk about what&#8217;s new with Visual Studio 2010, ASP.Net 4.0, Silverlight 3 and upcoming improvements to the MVC Framework!</p>
<p>Seating for this event, entitled Guathon 2009,  is very limited and as such you can only join the wait list at the moment, but I have been lucky enough to secure a place at what promises to be a fantastic workshop.</p>
<p>The announcement on the <a href="http://www.developerdeveloperdeveloper.com/guathon/">event home page over at DeveloperDeveloperDeveloper</a> also has a funny section of &#8220;things you might not know about Scott Gu&#8221;, such as;</p>
<blockquote>
<li>When Scott Guthrie throws exceptions, it’s across the room.</li>
<li>All arrays Scott Guthrie declares are of infinite size, because Scott Guthrie knows no bounds.</li>
<li>Scott Guthrie doesn’t have disk latency because the hard drive knows to hurry the hell up.</li>
<li>Scott Guthrie writes code that optimizes itself.</li>
<li>Scott Guthrie can’t test for equality because he has no equal.</li>
<li>Scott Guthrie doesn’t need garbage collection because he doesn’t call .Dispose(), he calls .DropKick().</li>
</blockquote>
<p>For the rest of this amusing list and more info on the event or to add yourself to the wait list, <a href="http://www.developerdeveloperdeveloper.com/guathon/" target="_blank">visit the event home page</a>.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ASP.Net' rel='tag' target='_self'>ASP.Net</a>, <a class='technorati-link' href='http://technorati.com/tag/ASP.NET+MVC' rel='tag' target='_self'>ASP.NET MVC</a>, <a class='technorati-link' href='http://technorati.com/tag/scott+gu' rel='tag' target='_self'>scott gu</a>, <a class='technorati-link' href='http://technorati.com/tag/scott+guthrie' rel='tag' target='_self'>scott guthrie</a>, <a class='technorati-link' href='http://technorati.com/tag/silverlight+3' rel='tag' target='_self'>silverlight 3</a>, <a class='technorati-link' href='http://technorati.com/tag/visual+studio+2010' rel='tag' target='_self'>visual studio 2010</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.garypretty.co.uk/index.php/2009/09/16/scott-guthrie-manchester-september-2009-asp-net-4-0-mvc-silverlight-3-vs-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BOOK REVIEW: ASP.Net MVC 1.0, Problem &#8211; Design &#8211; Solution (Wrox)</title>
		<link>http://blog.garypretty.co.uk/index.php/2009/06/29/book-review-asp-net-mvc-1-0-problem-design-solution-wrox/</link>
		<comments>http://blog.garypretty.co.uk/index.php/2009/06/29/book-review-asp-net-mvc-1-0-problem-design-solution-wrox/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 15:03:19 +0000</pubDate>
		<dc:creator>Gary Pretty</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Book Reviews]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[wrox]]></category>

		<guid isPermaLink="false">http://blog.garypretty.co.uk/index.php/2009/06/29/book-review-asp-net-mvc-1-0-problem-design-solution-wrox/</guid>
		<description><![CDATA[Title: ASP.NET MVC 1.0 Problem – Design – Solution Publisher: Wrox Authors: Nick Beradi, Al Katawazi, Marco Bellinaso It seems that recently every man and his dog have been talking about ASP.Net MVC and the many advantages it brings along with it.  I have to admit that, up until now, I have not really looked &#8230; </p><p><a class="more-link block-button" href="http://blog.garypretty.co.uk/index.php/2009/06/29/book-review-asp-net-mvc-1-0-problem-design-solution-wrox/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://blog.garypretty.co.uk/wp-content/mvcbook.jpg"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 35px 0px 0px; display: inline; border-top: 0px; border-right: 0px" title="mvcbook" src="http://blog.garypretty.co.uk/wp-content/mvcbook_thumb.jpg" border="0" alt="mvcbook" width="244" height="244" align="left" /></a> Title:</strong> ASP.NET MVC 1.0 Problem – Design – Solution</p>
<p><strong>Publisher:</strong> Wrox</p>
<p><strong>Authors:</strong> Nick Beradi, Al Katawazi, Marco Bellinaso</p>
<p>It seems that recently every man and his dog have been talking about ASP.Net MVC and the many advantages it brings along with it.  I have to admit that, up until now, I have not really looked into it a great deal, except for watching a couple of sessions at last years MSDN Roadshow.  Anyway, I decided that it was about time I found out more about ASP.Net MVC and see if it really was worth all of the hype.</p>
<p><strong></strong></p>
<p>Why did I read THIS book?</p>
<p>The reason I chose this book was two fold – firstly, it claimed to give you a good grounding in using ASP.Net MVC to those with experience of ASP.Net Web Development.  Secondly, in the books’ own words it provided “solid, workable solutions to real work problems” (I was dubious about this claim….many books I have read have claimed to do this and failed miserably with the first couple of chapters).</p>
<p><strong><br />
First Impressions</strong></p>
<p>Right from the very first chapter it starts off on the correct foot, giving an overview of the application you will create as you work through the book, that application being The Beer House, which is available for download as a starter kit.  The main attraction of this application to me was that it contained many of the features I often implement in my own applications, such as forums, article management and user profile / membership management.  The idea of reading a book that directly relates to my real-world programming was a big pull for me.</p>
<p>Thankfully, this book certainly does not try and force MVC down your throat as a must-use solution, instead giving an honest opinion that, yes MVC is very useful in many situations, but that in other situations, classic ASP.Net Web Forms may still be the more logical option.  This is a refreshing change from some of the other more self-righteous books I have had the des-pleasure of sampling where they simply see their subject matter and related methods as the only way to go.</p>
<p><strong><br />
What’s Covered?</strong></p>
<p>I don’t think I can put the content of the book in better words that the book itself, so here are those very words;</p>
<li>Techniques for building a flexible, easily configurable, and instrumented site</li>
<li>How to use jQuery to enhance and extend the capabilities of your ASP.NET MVC site</li>
<li>How to design a module to manage articles, news, and blog posts</li>
<li>Tips for creating and managing multiple polls on your site</li>
<li>Ways to build a robust newsletter system for e–mail newsletters on a background thread</li>
<li>How to develop a Web 2.0 community–centric forum from scratch</li>
<li>Steps for adding a working e–commerce store based on PayPal</li>
<li>All the different ways to deploy an ASP.NET MVC site</li>
<p>All of the above is covered in ample detail and I really did find this book extremely useful when relating the MVC implementation with my tradition Web Forms methods.</p>
<p>I especially liked the fact that attention was paid to the design of the application you create.  Coming from a web design background I am often astounded by the lack of attention paid to this area and it was pleasing to see a chapter dedicated to this for the non-design minded developer.</p>
<p>The other thing I loved about this book was that as well as ensuring every detail was covered off when developing each solution for the Beer House application, the authors have made a clear effort to highlight when something more may be needed in different circumstances and provided sample code and examples where needed.</p>
<p><strong><br />
Source Code Problems</strong></p>
<p>Probably the only bad thing I have to say about this book were the problems I had when attempting to get the source code to compile once I had downloaded it from the Wrox web site.  I think the main problem was that the code on the site was possibly an old version with several other versions kicking around the internet.  I am unsure as to which was the correct up-to-date copy.</p>
<p>However, all that said, with some tinkering, I did manage to get it to compile and what a lovely application it is. <img src='http://blog.garypretty.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><br />
The Final Verdict</strong></p>
<p>I found this book to be an extremely concise and focused journey through ASP.Net MVC and a perfect introduction to the subject and I would highly recommend it to anybody who is looking for a good grounding in the subject.</p>
<p>This was also my first read of a book from the <strong>Problem – Design – Solution </strong>series from Wrox, and if the other books in the series are in a similar style, then I look forward to reading more as the straight forward style with real-world connections suited me down to the ground.  </p>
<p>You can find this book <a href="http://www.amazon.co.uk/ASP-NET-MVC-1-0-Website-Programming/dp/0470410957" target="_blank">for sale on Amazon</a> or from <a href="http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470410957.html" target="_blank">the Wiley web site</a>.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ASP.Net' rel='tag' target='_self'>ASP.Net</a>, <a class='technorati-link' href='http://technorati.com/tag/ASP.NET+MVC' rel='tag' target='_self'>ASP.NET MVC</a>, <a class='technorati-link' href='http://technorati.com/tag/book+review' rel='tag' target='_self'>book review</a>, <a class='technorati-link' href='http://technorati.com/tag/C%23' rel='tag' target='_self'>C#</a>, <a class='technorati-link' href='http://technorati.com/tag/wrox' rel='tag' target='_self'>wrox</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.garypretty.co.uk/index.php/2009/06/29/book-review-asp-net-mvc-1-0-problem-design-solution-wrox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MSDN Roadshow 2008 Review and Useful Links</title>
		<link>http://blog.garypretty.co.uk/index.php/2008/05/07/msdn-roadshow-2008-review-and-useful-links/</link>
		<comments>http://blog.garypretty.co.uk/index.php/2008/05/07/msdn-roadshow-2008-review-and-useful-links/#comments</comments>
		<pubDate>Wed, 07 May 2008 10:08:46 +0000</pubDate>
		<dc:creator>Gary Pretty</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[.net 3.5]]></category>
		<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Dynamic Data]]></category>
		<category><![CDATA[Microsoft Robotics]]></category>
		<category><![CDATA[XNA Framework]]></category>

		<guid isPermaLink="false">http://blog.garypretty.co.uk/index.php/2008/05/07/msdn-roadshow-2008-review-and-useful-links/</guid>
		<description><![CDATA[Ok, so a few weeks ago I posted about my plans to attend the MSDN Roadshow 2008 in Manchester and I said that I would post about the event once I had attended.&#160; So as promised here is that very post along with some useful links; Firstly, the venue for this years event was excellent.&#160; &#8230; </p><p><a class="more-link block-button" href="http://blog.garypretty.co.uk/index.php/2008/05/07/msdn-roadshow-2008-review-and-useful-links/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Ok, so a few weeks ago I posted about my plans to attend the MSDN Roadshow 2008 in Manchester and I said that I would post about the event once I had attended.&#160; So as promised here is that very post along with some useful links;</p>
<p>Firstly, the venue for this years event was excellent.&#160; The Odeon in Manchester City Centre in the Printworks is quite simply huge.&#160; Luckily there were escalators for those of use who were to lazy to climb all of the stairs.</p>
<p>Once you reached the third floor, we were greeted by poster boxes with MSDN posters inside with some nice quotes, such as &quot;There&#8217;s No Place Like 127.0.0.1&quot; and &quot;I&#8217;ll make him a program he can&#8217;t refuse&quot;, which was a nice touch I thought. <img src='http://blog.garypretty.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Made the whole thing feel like more of an event rather than just a meeting.</p>
<p>In the corridor outside of the actual conference room were the usual stands familiar to those who have attended a Roadshow before, such as the registration table, a stand with discount books from the guys over at <a href="http://www.computermanuals.co.uk">Computer Manuals</a> selling discounted books on a variety of subjects from Expression to LINQ and of course, every developers favourite stand, the SWAG stand, with free goodies like the updated Developers Highway Code (which is available for download and I have included a link in the useful links later in this post).&#160; We did all get a free software pack when we left, but more on that shortly.</p>
<p>In addition to the usual stands this year though, we were treated to a couple of really interesting tables showing off the XNA Framework on a dev Xbox 360 and the new Microsoft Robotics studio.&#160; I have to say, some of the games produced with the XNA framework for the 360 were pretty impressive and most of them are available as starter kits from Microsoft if you&#8217;re interested.&#160; I will include some links for both of these areas at the end of this post.</p>
<p><a href="http://blog.garypretty.co.uk/wp-content/imag0038.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 20px 0px 0px; border-right-width: 0px" height="249" alt="IMAG0038" src="http://blog.garypretty.co.uk/wp-content/imag0038-thumb.jpg" width="330" align="left" border="0" /></a>The conference room itself was actually a cinema room (surprisingly being at the Odeon <img src='http://blog.garypretty.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ), which was fantastic.&#160; This meant most people got comfortable seats to enjoy the show and those all important cup holders! I arrived slightly late, and so didn&#8217;t manage to get a seat, however, the nice Roadshow staff got me a seat and put me right at the side of the stage and I got a ringside seat which was great.&#160; As you can see from the picture to the right (apologies for the quality, somehow I managed to set my camera phones&#8217; resolution unusually low by mistake) of MSDNs Mike Ormond presenting, the slide being on a cinema screen really helped, as they were always clear and nobody was struggling to see anything.</p>
<p>The presentations themselves were, as always, of an excellent quality, with the speakers conveying their expert knowledge in their respective topics clearly and concisely.&#160; I particularly enjoyed <a href="http://www.mikeo.co.uk">Mike Ormond</a>s&#8217; talk on the ASP.NET 3.5 Extensions, especially the new Dynamic Data capabilities (which I am hopefully going to be posting a small tutorial series about shortly. If you&#8217;re interested, add this blog to you&#8217;re favourites or subscribe to my RSS Feed).</p>
<p>The refreshments this year were good, a choice between ham, cheese and chicken sandwiches, along with crisps and soft drinks for lunch.&#160; Very nice Coffee during the breaks and even popcorn or Ben and Jerrys ice cream in the afternoon!</p>
<p>As I have already mentioned, if you handed in your feedback form and your pass before you left you were treated to a nice software pack, which didn&#8217;t disappoint.&#160; Contained within the set were promotional copies of Windows Server 2008 32bit and 64bit editions, SQL Server 2008 Preview along with a voucher to get a development copy when it is released, and my personal favourite, a full copy of Visual Studio 2008.</p>
<p>All in all, an excellent day, well put together and very well received!</p>
<p>One last note, the MSDN Roadshow&#8217;s are an invaluable free event from Microsoft giving excellent technical and hands-on insight into the latest techniques and strategies for developers.&#160; Every year they seem to sell out really fast, so my one message to you for next year is&#8230;.<strong>REGISTER EARLY!</strong></p>
<p>Now as promised, some useful links regarding the days speakers, events and topics;   <br /><strong></strong></p>
<p><strong>Presentation Slides </strong></p>
</p>
<p>Definitely worth a look through&#8230;.. </p>
<li><a href="http://download.microsoft.com/documents/uk/msdn/events/MikeTaulty_Session1_ADO_NEXT.pptx">ADO.NEXT &#8211; Entity Framework &amp; Data Services</a> (PPTX) </li>
<li><a href="http://download.microsoft.com/documents/uk/msdn/events/MikeOrmond_ASPNETNEXT_Roadshow.pptx">ASP.NEXT &#8211; The ASP.NET 3.5 Extensions</a> (PPTX) </li>
<li><a href="http://download.microsoft.com/documents/uk/msdn/events/Silverlight2_Moth_timings.pptx">Building Rich Internet UI with Silverlight 2</a> (PPTX) </li>
<li><a href="http://download.microsoft.com/documents/uk/msdn/events/TeamSuiteSession4.pptx">Getting the most from the Visual Studio Team Suite Toolbox</a> (PPTX)<strong>      <br /></strong><strong>     <br /></strong>
<p><strong>       <br />Speakers Blog&#8217;s</strong></p>
<p>I cannot recommend subscribing to these blogs enough.&#160; I read them regularly and the writers never fail to deliver worthwhile and timely posts regarding the latest in Microsoft technology. </p>
</li>
<li><a href="http://blogs.msdn.com/mikeormond/" target="_blank">Mike Ormond&#8217;s blog</a> </li>
<li><a href="http://www.danielmoth.com/Blog/" target="_blank">Daniel Moth&#8217;s blog</a> </li>
<li><a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/" target="_blank">Mike Taulty&#8217;s blog</a> </li>
<li><a href="http://blogs.msdn.com/ukvsts/" target="_blank">Neil Kidd&#8217;s team blog</a><strong>      <br /></strong><strong>     <br /></strong>
<p><strong>       <br />Sites regarding specific topics of this years Roadshow</strong></p>
<p>These are some links referencing the actual subjects and technology discussed during this years roadshow. </p>
</li>
<li><a href="http://code.msdn.microsoft.com/dynamicdata" target="_blank">Dynamic Data</a> </li>
<li><a href="http://go.microsoft.com/fwlink/?LinkID=110956" target="_blank">ASP.NET MVC Preview 2</a> </li>
<li><a href="http://www.microsoft.com/uk/msdn/screencasts/tags/ADO.NET/default.aspx?pg=3" target="_blank">MSDN UK screencasts on ADO.NET</a> </li>
<li><a href="http://asp.net/downloads/3.5-extensions" target="_blank">ASP.NET 3.5 Extensions Preview</a> </li>
<li><a href="http://blogs.msdn.com/mikeormond/archive/2008/04/23/asp-next.aspx" target="_blank">Excellent blog post from Mike Ormond with more great links for ASP.NET 3.5 Extensions</a> </li>
<li><a href="http://silverlight.net" target="_blank">Silverlight</a><strong></strong><strong> </strong></li>
<p> <strong>
<p></p>
<p> </strong>
<p><strong>Xbox 360 XNA Game Framework and Microsoft Robotics Studio and the Developer Highway Code</strong></p>
<p>As promised, a couple of links to the areas that were the subject of two impressive stands this years event.</p>
<li><a href="http://www.xna.com/" target="_blank">Microsoft XNA (with links for both casual and professional games development)</a> </li>
<li><a href="http://msdn.microsoft.com/en-us/robotics/default.aspx" target="_blank">Microsoft Robotics Developer Center</a> </li>
<li><a href="http://msdn.microsoft.com/en-gb/security/aa473878.aspx" target="_blank">Microsoft Developer Highway Code Download</a> </li>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/.net+3.5' rel='tag' target='_self'>.net 3.5</a>, <a class='technorati-link' href='http://technorati.com/tag/ADO.NET' rel='tag' target='_self'>ADO.NET</a>, <a class='technorati-link' href='http://technorati.com/tag/ASP.NET+MVC' rel='tag' target='_self'>ASP.NET MVC</a>, <a class='technorati-link' href='http://technorati.com/tag/Dynamic+Data' rel='tag' target='_self'>Dynamic Data</a>, <a class='technorati-link' href='http://technorati.com/tag/Microsoft+Robotics' rel='tag' target='_self'>Microsoft Robotics</a>, <a class='technorati-link' href='http://technorati.com/tag/MSDN' rel='tag' target='_self'>MSDN</a>, <a class='technorati-link' href='http://technorati.com/tag/Silverlight' rel='tag' target='_self'>Silverlight</a>, <a class='technorati-link' href='http://technorati.com/tag/XNA+Framework' rel='tag' target='_self'>XNA Framework</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.garypretty.co.uk/index.php/2008/05/07/msdn-roadshow-2008-review-and-useful-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

