摘要:
http://weblogs.asp.net/scottgu/archive/2011/05/12/asp-net-mvc-3-and-the-helper-syntax-within-razor.aspxhttp://msdn.microsoft.com/en-us/vs2010trainingcourse_aspnetmvc3formsandvalidation_topic3.aspx 阅读全文
随笔分类 - ASP.NET MVC
No Design View in MVC 3
2012-08-22 17:46 by 诸葛二牛, 188 阅读, 收藏,
摘要:
There is no design view for Razor but when I put on my designer hat I use Expression Web to sketch the site layout then I move to Visual Studio andcreate my views and partial views.It feels like a loss after the WebForms design view but i got used to it 阅读全文
ASP.NET Visual Studio Error Source XXX could not be opened ('Unspecified error ')
2012-07-12 16:25 by 诸葛二牛, 416 阅读, 收藏,
摘要:
1 Error 1 Source file 'D:\Projects\LabServicePlatform\dev\LabServicePlatform\LabServicePlatform\Models\SettingQueryParams.cs' could not be opened ('Unspecified error ') LabServicePlatform2 Error 2 Source file 'D:\Projects\LabServicePlatform\dev\LabServicePlatform\LabServicePlatfo 阅读全文
asp.net classical articles
2012-07-05 20:24 by 诸葛二牛, 164 阅读, 收藏,
摘要:
validationhttp://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspxASP.NET MVC 3: Strongly typed Authorize Attribute with multiple users and roleshttp://blog.janjonas.net/2011-10-23/asp_net-mvc_3-strongly-typed-authorize-attribute-multiple-users-rolesconst,readonly 常量与只读h 阅读全文
若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet
2012-06-13 15:06 by 诸葛二牛, 21823 阅读, 收藏,
摘要:
若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet请将 JsonRequestBehavior 设置为 AllowGetMVC 默认 Request 方式为 Post。actionpublic JsonResult GetPersonInfo() { var person = new { Name = "张三", Age = 22, Sex = "男" }; return Json(person); } 或者 1 public JsonResult GetPersonInfo() { 2 ... 阅读全文
LINQ to Entities does not recognize the method 'System.String ToString()' method, and this method cannot be translated into a store expression
2012-06-13 11:31 by 诸葛二牛, 565 阅读, 收藏,
摘要:
LINQ to Entities does not recognize the method 'System.String ToString()' method, and this method cannot be translated into a store expression 阅读全文
MVC3+EF4.1学习系列(九)-----EF4.1其他的一些技巧的使用
2012-06-06 20:34 by 诸葛二牛, 141 阅读, 收藏,
摘要:
转载自:http://www.4ucode.com/Study/Topic/2141448 阅读全文
浙公网安备 33010602011771号