<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>ASP.NET MVC</title>
        <link>http://geekswithblogs.net/twickers/category/7838.aspx</link>
        <description>Items about the Microsoft ASP.NET MVC Framework</description>
        <language>en-GB</language>
        <copyright>Liam Westley</copyright>
        <managingEditor>liam.westley@tigernews.co.uk</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>ASP.NET MVC Preview 2 (March CTP) - support for shared hosting</title>
            <link>http://geekswithblogs.net/twickers/archive/2008/03/10/120454.aspx</link>
            <description>I've been investigating the ASP.NET MVC framework for some months, in between a major client project in January and holidays in Frebruary.  In that time the ASP.NET team have been beavering away and released the MVC Preview 2 March CTP (download it &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=38CC4CF1-773A-47E1-8125-BA3369BF54A3&amp;amp;displaylang=en"&gt;here&lt;/a&gt;). Jeffrey Palermo has some great blog posts over at &lt;a href="http://codebetter.com/blogs/jeffrey.palermo/archive/2008/03/05/new-drop-of-asp-net-mvc-framework-now-available.aspx"&gt;codebetter.com&lt;/a&gt; which detail some of the improvements.&lt;br /&gt;
&lt;br /&gt;
The big news for me was that I could finally upload any applications to my development site, which is on a shared hosting server at &lt;a href="http://discountasp.net/"&gt;discountasp.net&lt;/a&gt;, they have .NET 3.5 hosting as standard which makes life easy.  You can now just copy the MVC assemblies into the application bin folder and you have an MVC application installed.&lt;br /&gt;
&lt;br /&gt;
I did hit one issue, in that the MVC handler does not route as required without the formal setup, and the in line comment s in Global.asax.cs suggesting I add the file extension '.mvc' for routing requests for IIS6 compatibility didn't work either.  The issue is that the DiscountASP team have not registered '.mvc' for processing by the ASP.NET ISAPI dll.  Obviously something I cannot configure on a shared host.&lt;br /&gt;
&lt;br /&gt;
No problems though - I discovered that if I use the file extension '.mvc.aspx' for controller routing in Global.asax.cs the pages get handled by the ASP.NET ISAPI DLL, complete with MVC goodness.  Standard .aspx pages are unaffected, and as long as you don't mind the mangled URLs it all works as expected.&lt;br /&gt;
&lt;br /&gt;
If you haven't yet dabbled with the MVC framework now is definitely the time to try.  Shared hosting support, combined with the excellent quick start video tutorials over at &lt;a href="http://www.asp.net/learn/3.5-extensions-videos/default.aspx#mvc"&gt;http://www.asp.net/learn/3.5-extensions-videos/default.aspx#mvc&lt;/a&gt; makes life a lot less painful.&lt;br /&gt;
&lt;br /&gt;
P.S. after spending a few hours researching the '.mvc.aspx' solution, I found it was already in the forums on the ASP.NET site - DOH!&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120454"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120454" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/twickers/aggbug/120454.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Liam Westley</dc:creator>
            <guid>http://geekswithblogs.net/twickers/archive/2008/03/10/120454.aspx</guid>
            <pubDate>Mon, 10 Mar 2008 23:30:02 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/twickers/comments/120454.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/twickers/archive/2008/03/10/120454.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/twickers/comments/commentRss/120454.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/twickers/services/trackbacks/120454.aspx</trackback:ping>
        </item>
    </channel>
</rss>