<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ASP.NET MVC / Web API / Web Pages</title><link>http://aspnetwebstack.codeplex.com/project/feeds/rss</link><description>This is the source code repository for open source ASP.NET products. The products include MVC, Web API and Web Pages with Razor.</description><item><title>Reviewed: v4.0 RTM (五月 21, 2013)</title><link>https://aspnetwebstack.codeplex.com/releases/view/85150#ReviewBy-xyening</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - good good good </description><author>xyening</author><pubDate>Tue, 21 May 2013 07:09:46 GMT</pubDate><guid isPermaLink="false">Reviewed: v4.0 RTM (五月 21, 2013) 20130521070946A</guid></item><item><title>Reviewed: v4.0 RTM (五月 20, 2013)</title><link>https://aspnetwebstack.codeplex.com/releases/view/85150#ReviewBy-SeonWater</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - I like it.</description><author>SeonWater</author><pubDate>Tue, 21 May 2013 01:46:20 GMT</pubDate><guid isPermaLink="false">Reviewed: v4.0 RTM (五月 20, 2013) 20130521014620A</guid></item><item><title>Created Issue: Validation - consider using FileExtensionsAttribute from System.ComponentModel.DataAnnotations [1059]</title><link>http://aspnetwebstack.codeplex.com/workitem/1059</link><description>The said attribute is new in .net 4.5&lt;br /&gt;&lt;br /&gt;We should consider obsoleting out own FileExtensions attribute if the new attribute can be made to work with instances of HttpPostedFileBase &amp;#40;it is currently only for strings&amp;#41;&lt;br /&gt;&lt;br /&gt;Otherwise we could consider identifying cases of the .net attribute being set on HttpPostedFileBase properties, and somehow notify the developer about using the correct attribute instead.&lt;br /&gt;</description><author>kenegozi</author><pubDate>Mon, 20 May 2013 22:28:52 GMT</pubDate><guid isPermaLink="false">Created Issue: Validation - consider using FileExtensionsAttribute from System.ComponentModel.DataAnnotations [1059] 20130520102852P</guid></item><item><title>Created Task: JQuery validation plugin - version upgrade [1058]</title><link>http://aspnetwebstack.codeplex.com/workitem/1058</link><description>MVC currently bundles version 1.10 from September 2012, the latest is 1.11.1 from March 2013.&lt;br /&gt;</description><author>kenegozi</author><pubDate>Mon, 20 May 2013 22:17:20 GMT</pubDate><guid isPermaLink="false">Created Task: JQuery validation plugin - version upgrade [1058] 20130520101720P</guid></item><item><title>Created Issue: JQuery Validation plugin - include additional-methods file [1057]</title><link>http://aspnetwebstack.codeplex.com/workitem/1057</link><description>The JQuery Validation plugin is normally bundled with a file named additional-methods.js that adds some more validation methods to the basic ones that are in the plugin.&lt;br /&gt;&lt;br /&gt;Two of which, &amp;#39;accept&amp;#39; &amp;#40;for validating mime-types on input&amp;#91;type&amp;#61;file&amp;#93;&amp;#41; and &amp;#39;extension&amp;#39; for validating file extensions &amp;#40;again, on input&amp;#91;type&amp;#61;file&amp;#93;&amp;#41;, have support within MVC in the form of validation attributes &amp;#40;FileExtensionsAttribute and AcceptAttribute&amp;#41;&lt;br /&gt;&lt;br /&gt;Currently the templates provided does not include that additional file, hence out-of-the-box these validation attributes only apply on server-side.&lt;br /&gt;&lt;br /&gt;A fix would be to either add the nuget-package for the additional methods into the template, or to update the JQuery.validation nuget package to always include the additional methods file. &lt;br /&gt;The default Bundle for jquaeyval should be updated as well.&lt;br /&gt;&lt;br /&gt;</description><author>kenegozi</author><pubDate>Mon, 20 May 2013 22:14:09 GMT</pubDate><guid isPermaLink="false">Created Issue: JQuery Validation plugin - include additional-methods file [1057] 20130520101409P</guid></item><item><title>Commented Issue: FileExtensionsAttributeAdapter no longer works with jQuery validate [882]</title><link>http://aspnetwebstack.codeplex.com/workitem/882</link><description>The &amp;#34;Accept&amp;#34; rule in the latest version of jQuery Validate now expects a mime type to be specified, not a file extension.&lt;br /&gt;&lt;br /&gt;A new &amp;#34;Extensions&amp;#34; rule has subsequently been added for this purpose.&lt;br /&gt;&lt;br /&gt;Note that as of v1.90 both of the above rules are now available separately inside the &amp;#34;Additional Methods&amp;#34; download.&lt;br /&gt;Comments: The solution&amp;#58; &amp;#13;&amp;#10;1. FileExtensions attribute will evaluate to the &amp;#39;extension&amp;#39; method of JQuery Validation, and Accept attribute will evaluate to the &amp;#39;accept&amp;#39; method&amp;#13;&amp;#10;2. If the &amp;#39;extension&amp;#39; method is not present &amp;#40;using MVC5 with an older version of jquery validation&amp;#41; then the FileExtensions attribute would use the &amp;#39;accept&amp;#39; method, and Accept attribute will be ignored on the client side altogether.&amp;#13;&amp;#10;&amp;#13;&amp;#10;Fixed in https&amp;#58;&amp;#47;&amp;#47;aspnetwebstack.codeplex.com&amp;#47;SourceControl&amp;#47;changeset&amp;#47;803b6de9af1b4e77f805071bd9e521687903681b&amp;#13;&amp;#10;</description><author>kenegozi</author><pubDate>Mon, 20 May 2013 21:51:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: FileExtensionsAttributeAdapter no longer works with jQuery validate [882] 20130520095152P</guid></item><item><title>Edited Issue: FileExtensionsAttributeAdapter no longer works with jQuery validate [882]</title><link>http://aspnetwebstack.codeplex.com/workitem/882</link><description>The &amp;#34;Accept&amp;#34; rule in the latest version of jQuery Validate now expects a mime type to be specified, not a file extension.&lt;br /&gt;&lt;br /&gt;A new &amp;#34;Extensions&amp;#34; rule has subsequently been added for this purpose.&lt;br /&gt;&lt;br /&gt;Note that as of v1.90 both of the above rules are now available separately inside the &amp;#34;Additional Methods&amp;#34; download.&lt;br /&gt;</description><author>kenegozi</author><pubDate>Mon, 20 May 2013 21:51:52 GMT</pubDate><guid isPermaLink="false">Edited Issue: FileExtensionsAttributeAdapter no longer works with jQuery validate [882] 20130520095152P</guid></item><item><title>Commented Issue: Empty SingleResult&lt;T&gt; cannot be formatted by the ODataFormatter [1040]</title><link>http://aspnetwebstack.codeplex.com/workitem/1040</link><description>&lt;br /&gt;&lt;br /&gt;        public override SingleResult&amp;#60;Customer&amp;#62; GetCustomer&amp;#40;int key&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return SingleResult.Create&amp;#40;Enumerable.Empty&amp;#60;Customer&amp;#62;&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;Comments: Returning a 404 response when SingleResult has an empty feed&amp;#13;&amp;#10;&amp;#13;&amp;#10;Fixed in https&amp;#58;&amp;#47;&amp;#47;aspnetwebstack.codeplex.com&amp;#47;SourceControl&amp;#47;changeset&amp;#47;3fd6562cad19160992429ce12f378cdfb03c16e2 </description><author>kenegozi</author><pubDate>Mon, 20 May 2013 21:49:36 GMT</pubDate><guid isPermaLink="false">Commented Issue: Empty SingleResult&lt;T&gt; cannot be formatted by the ODataFormatter [1040] 20130520094936P</guid></item><item><title>Edited Issue: Empty SingleResult&lt;T&gt; cannot be formatted by the ODataFormatter [1040]</title><link>http://aspnetwebstack.codeplex.com/workitem/1040</link><description>&lt;br /&gt;&lt;br /&gt;        public override SingleResult&amp;#60;Customer&amp;#62; GetCustomer&amp;#40;int key&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return SingleResult.Create&amp;#40;Enumerable.Empty&amp;#60;Customer&amp;#62;&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>kenegozi</author><pubDate>Mon, 20 May 2013 21:49:36 GMT</pubDate><guid isPermaLink="false">Edited Issue: Empty SingleResult&lt;T&gt; cannot be formatted by the ODataFormatter [1040] 20130520094936P</guid></item><item><title>Source code checked in, #3fd6562cad19160992429ce12f378cdfb03c16e2</title><link>http://aspnetwebstack.codeplex.com/SourceControl/changeset/changes/3fd6562cad19160992429ce12f378cdfb03c16e2</link><description>&amp;#35;1040 Empty SingleResult action should return 404&amp;#10;</description><author>Ken Egozi</author><pubDate>Mon, 20 May 2013 21:45:00 GMT</pubDate><guid isPermaLink="false">Source code checked in, #3fd6562cad19160992429ce12f378cdfb03c16e2 20130520094500P</guid></item><item><title>Created Unassigned: Document that IValueProvider.GetValue() returns null if the exact key is not found [1056]</title><link>http://aspnetwebstack.codeplex.com/workitem/1056</link><description>Document that IValueProvider.GetValue&amp;#40;&amp;#41; returns null if the exact key is not found.&lt;br /&gt;&lt;br /&gt;</description><author>binki</author><pubDate>Mon, 20 May 2013 21:25:26 GMT</pubDate><guid isPermaLink="false">Created Unassigned: Document that IValueProvider.GetValue() returns null if the exact key is not found [1056] 20130520092526P</guid></item><item><title>Commented Issue: HelpPage not showing documentation for actions which have parameters as Nested types [905]</title><link>http://aspnetwebstack.codeplex.com/workitem/905</link><description>From here&amp;#58; &lt;br /&gt;&amp;#91;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;15410057&amp;#47;webapi-help-page-for-complex-type-in-uri&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;15410057&amp;#47;webapi-help-page-for-complex-type-in-uri&amp;#41;&lt;br /&gt;&lt;br /&gt;Repro&amp;#58;&lt;br /&gt;Copy the following class and enable Xml documentation on the project settings and also in HelPage&amp;#39;s HelpPageConfig.cs&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;using System.Web.Http&amp;#59;&lt;br /&gt;&lt;br /&gt;namespace MvcApplication31.Controllers&lt;br /&gt;&amp;#123;&lt;br /&gt;    public class UsersController &amp;#58; ApiController&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public class Preferences&lt;br /&gt;        &amp;#123;&lt;br /&gt;            public string Theme &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;            public string Size &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; Saves users&amp;#39; preferences&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;        &amp;#47;&amp;#47;&amp;#47; &amp;#60;param name&amp;#61;&amp;#34;pref&amp;#34;&amp;#62;Preferences of the user&amp;#60;&amp;#47;param&amp;#62;&lt;br /&gt;        public string SavePreferences&amp;#40;Preferences pref&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return &amp;#34;value&amp;#34;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Actual&amp;#58; &amp;#34;No Documentation Available&amp;#34;&lt;br /&gt;Expected&amp;#58; comments specified for the action.&lt;br /&gt;&lt;br /&gt;Comments: I&amp;#39;d like this fixed.</description><author>ejveal</author><pubDate>Mon, 20 May 2013 20:00:58 GMT</pubDate><guid isPermaLink="false">Commented Issue: HelpPage not showing documentation for actions which have parameters as Nested types [905] 20130520080058P</guid></item><item><title>New Post: Web API OData - atom+xml formatting issue when getting individual properties</title><link>http://aspnetwebstack.codeplex.com/discussions/443907</link><description>&lt;div style="line-height: normal;"&gt;Thank you!&lt;br /&gt;
&lt;br /&gt;
That's what I wanted to know.&lt;br /&gt;
&lt;/div&gt;</description><author>mkachala</author><pubDate>Mon, 20 May 2013 06:58:26 GMT</pubDate><guid isPermaLink="false">New Post: Web API OData - atom+xml formatting issue when getting individual properties 20130520065826A</guid></item><item><title>New Post: Web API OData - atom+xml formatting issue when getting individual properties</title><link>http://aspnetwebstack.codeplex.com/discussions/443907</link><description>&lt;div style="line-height: normal;"&gt;Thank you!&lt;br /&gt;
&lt;br /&gt;
That's what I wanted to know.&lt;br /&gt;
&lt;/div&gt;</description><author>mkachala</author><pubDate>Mon, 20 May 2013 06:58:26 GMT</pubDate><guid isPermaLink="false">New Post: Web API OData - atom+xml formatting issue when getting individual properties 20130520065826A</guid></item><item><title>New Post: Web API OData - atom+xml formatting issue when getting individual properties</title><link>http://aspnetwebstack.codeplex.com/discussions/443907</link><description>&lt;div style="line-height: normal;"&gt;Complex properties are formatted as application/xml. Only entries and feeds (entities and collection of entities) are formatted as application/atom+xml. So, the behavior that you are seeing is correct.&lt;br /&gt;
&lt;br /&gt;
You can get the behavior that you want by putting application/atom+xml and application/xml in the accept header like, &amp;quot;application/atom+xml,application/xml&amp;quot;&lt;br /&gt;
&lt;/div&gt;</description><author>raghuramn</author><pubDate>Sun, 19 May 2013 23:08:35 GMT</pubDate><guid isPermaLink="false">New Post: Web API OData - atom+xml formatting issue when getting individual properties 20130519110835P</guid></item><item><title>New Post: Web API OData - atom+xml formatting issue when getting individual properties</title><link>http://aspnetwebstack.codeplex.com/discussions/443907</link><description>&lt;div style="line-height: normal;"&gt;Complex properties are formatted as application/xml. Only entries and feeds (entities and collection of entities) are formatted as application/atom+xml. So, the behavior that you are seeing is correct.&lt;br /&gt;
&lt;br /&gt;
You can get the behavior that you want by putting application/atom+xml and application/xml in the accept header like, &amp;quot;application/atom+xml,application/xml&amp;quot;&lt;br /&gt;
&lt;/div&gt;</description><author>raghuramn</author><pubDate>Sun, 19 May 2013 23:08:35 GMT</pubDate><guid isPermaLink="false">New Post: Web API OData - atom+xml formatting issue when getting individual properties 20130519110835P</guid></item><item><title>Source code checked in, #b3260efa7cd4b6382e7926fe9c600bb0e683bf69</title><link>http://aspnetwebstack.codeplex.com/SourceControl/changeset/changes/b3260efa7cd4b6382e7926fe9c600bb0e683bf69</link><description>&amp;#91;OData&amp;#93; Decrease max &amp;#36;expand depth to 1.&amp;#10;</description><author>raghuramn</author><pubDate>Sun, 19 May 2013 22:51:41 GMT</pubDate><guid isPermaLink="false">Source code checked in, #b3260efa7cd4b6382e7926fe9c600bb0e683bf69 20130519105141P</guid></item><item><title>Reviewed: v4.0 RTM (五月 19, 2013)</title><link>https://aspnetwebstack.codeplex.com/releases/view/85150#ReviewBy-legendpanda</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - thinks very much</description><author>legendpanda</author><pubDate>Sun, 19 May 2013 13:57:34 GMT</pubDate><guid isPermaLink="false">Reviewed: v4.0 RTM (五月 19, 2013) 20130519015734P</guid></item><item><title>Commented Issue: Make JsonContractResolver a public class [228]</title><link>http://aspnetwebstack.codeplex.com/workitem/228</link><description>This would enable overriding the ResolvePropertyName method &amp;#40;see Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver&amp;#41; without having to reimplement the entire JsonContractResolver class. I would really like to keep its private property behavior.&lt;br /&gt;Comments: Almost half day trying to understand how WebAPI serialize to JSON just because I want the first letter of JSON key lower case to standardize models in Javascript framework. At first I am stuck at Model Binder but after few hours I realize WebAPI uses MediaTypeFormatter to serialize&amp;#47;deserialize, then I found this.&amp;#10;&amp;#10;&amp;#43;1 to make it public, but it is really nice if camel case is applied in the JsonContractResolver by default.</description><author>CallMeLaNN</author><pubDate>Sun, 19 May 2013 01:45:40 GMT</pubDate><guid isPermaLink="false">Commented Issue: Make JsonContractResolver a public class [228] 20130519014540A</guid></item><item><title>Commented Feature: MVC Support Adding HTML Attributes to SelectListItems [9]</title><link>http://aspnetwebstack.codeplex.com/workitem/9</link><description>I would like the ability to add Html attributes to individual SelectListItems via object htmlAttributes.  This would be handy for applying CSS to selected options on render.  I have working code for this &amp;#40;using the MVC3 source as the base&amp;#41; that I have used on client websites so it will be easy to integrate.&lt;br /&gt;Comments: This is a great idea, but it can be even better with another overload that instead of just adding data attributes for every SelectListItem, consider adding a function as the parameter that can generate whatever parameter you want to based on the return value of the function.  That way you can put together a nice lambda expression that returns a data attribute depending on the value or text of the SelectListItem.&amp;#10;&amp;#10;&amp;#10;</description><author>jlebright</author><pubDate>Sat, 18 May 2013 14:06:55 GMT</pubDate><guid isPermaLink="false">Commented Feature: MVC Support Adding HTML Attributes to SelectListItems [9] 20130518020655P</guid></item></channel></rss>