Fixed: unable to cast object of type 'asp._page_admin_default_cshtml' to type 'system.web.ihttphandler' error 14 February 2013 Jeff BlogEngine.NET, ASP.NET 1. Background: I host my BlogEngine.NET (this blog) as a sub application under a main ASP.NET MVC 3 web application (zizhujy.com), it runs well until one day I tried to enter the administrator contro... [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]