<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>Templates</title>
        <link>http://wc4f.qsh.es/category/12.aspx</link>
        <description>Templates</description>
        <language>en-US</language>
        <copyright>Jeffrey Richardson</copyright>
        <generator>Subtext Version 2.1.0.5</generator>
        <item>
            <title>ASP.NET MVC 2</title>
            <link>http://wc4f.qsh.es/archive/2009/08/17/12.aspx</link>
            <description>&lt;p&gt;ASP.NET MVC 2 has been announced with the release of ASP.NET MVC 2 Preview 1. After having read through the rather lengthy overview of new features written by &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/07/31/asp-net-mvc-v2-preview-1-released.aspx"&gt;Scott Guthrie&lt;/a&gt;. Many new great features have been listed, but the two that tend to stand out the most is support for areas by project and template helpers for editing and displaying data.&lt;/p&gt;  &lt;p&gt;Project based areas seemed to be an official solution to my categories dilemma.  On further inspection, it becomes apparent that the projects are not logical containers to an area.  The areas implementation is still the original namespace based one, with the projects allowing simple tooling support to keep a consistent namespaces in a defined area, as well as some behind the scene build tasks that allow all content to be merged together.  However, it does appear though that this has lead to some internal support of areas in general, making my category implementation integration more seamless.&lt;/p&gt;  &lt;p&gt;Template helpers appear to be very useful.  I already have a few ideas for including designer (quick preview) support for these, utilizing a control designed to provide similar functionality to the Editor/EditorFor and Display/DisplayFor. These methods return a string, and are used similar to how other HtmlHelper methods are used, such that it could be assumed that the return value would be the markup to send to the client.  Looking into the code, however, shows that these methods return an empty string, while using the ResponseContext to write the markup directly to the response stream.  I believe it’s safe to assume that this was probably a quick port to show off the functionality, and later will return the markup rather than write it.&lt;/p&gt;  &lt;p&gt;One bit of annoyance with regard to extending ASP.NET MVC is that the most useful classes tend to be set internal, such as InputHelper and TemplateHelper.  This makes it difficult to integrate at certain levels, especially in cases where the extensions have already done the work the public interface does or doesn’t need to do the work.  This creates a larger problem in the case the public interface is much more limiting than what the extension is trying to offer.  This situation tends to leave three less than ideal solutions: building the extension directly into the assembly, which requires the entire assembly distributed as standalone, not allowing integration with other some other extensions, including the relevant source directly in the extension, which causes updating to be more difficult, as well as ensuring internal dependencies, or creating a wrapper which reflects the code, which requires much higher privileges, and can’t run medium trust as a result. &lt;/p&gt;  &lt;p&gt;There are a few new features that leave more to be desired.  However, this release, as well as the future planned releases appear to be a great step forward in this technology, to which I look forward to more information.&lt;/p&gt;&lt;img src="http://wc4f.qsh.es/aggbug/12.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Jeffrey Richardson</dc:creator>
            <guid>http://wc4f.qsh.es/archive/2009/08/17/12.aspx</guid>
            <pubDate>Mon, 17 Aug 2009 17:03:14 GMT</pubDate>
            <wfw:comment>http://wc4f.qsh.es/comments/12.aspx</wfw:comment>
            <comments>http://wc4f.qsh.es/archive/2009/08/17/12.aspx#feedback</comments>
            <wfw:commentRss>http://wc4f.qsh.es/comments/commentRss/12.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>