Bundle javascripts safely in ASP.NET MVC 01 April 2014 Jeff ASP.NET, MVC, C# Problem: The other day I spent a lot of time to figure out that why my web application didn’t work correctly is because of the ASP.NET MVC default JavaScript bundle renamed the function name of Canva... [More]
Fixed: The name 'ViewBag' does not exist in the current context 01 July 2013 Jeff ASP.NET, MVC Problem: Newly published a MVC web site, got a error message when trying to visit a page: Compiler Error Message: CS0103: The name 'ViewBag' does not exist in the current context Analyze: The MV... [More]
ASP.NET MVC 3 Razor Engine 给页面添加头元素的最佳实践 27 July 2011 Jeff ASP.NET, C# 在实际应用中,会有给页面元素添加头元素的需要。比如要在页面文档中添加SEO数据如description、keywords等,或者在文档头部添加CSS样式、javascript 脚本等。而这些不在ASP.NET MVC 3 Razor Engine的默认特性中。本文给出了增加此特性的最佳决方案。 [More]
Best Practices for Localization of ASP.NET MVC 3 13 June 2011 Jeff ASP.NET [中文版] Note: The original article is here: http://geekswithblogs.net/shaunxu/archive/2010/05/06/localization-in-asp.net-mvc-ndash-3-days-investigation-1-day.aspx. It was written by Shaun. This articl... [More]
ASP.NET MVC 3 本地化最佳实践 12 June 2011 Jeff ASP.NET [English version] 注意:原文在这儿:http://geekswithblogs.net/shaunxu/archive/2010/05/06/localization-in-asp.net-mvc-ndash-3-days-investigation-1-day.aspx,是Shaun写的。 这篇文章可以看成是它的升级版。 相关文件下载: 示例工程文件:z... [More]