摘要: 1.创建过滤类 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace P01MVCFilter.Filters { // 阅读全文
posted @ 2020-02-12 22:59 杨品海 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1. 员工1作为区域的代码 添加一个UserOnePAreaRegistration的区域类 2.区域类的代码: using System.Web.Mvc; namespace 员工1.Areas.UserOneP //程序集 区域块 区域 { public class UserOnePAreaRe 阅读全文
posted @ 2020-02-12 17:09 杨品海 阅读(114) 评论(0) 推荐(0) 编辑
摘要: <%@ WebHandler Language="C#" Class="ValidateCode" %> using System; using System.Web; using System.Drawing; using System.Web.SessionState; public class 阅读全文
posted @ 2020-02-12 08:27 杨品海 阅读(195) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Web; using System.IO; namespace Helper { public 阅读全文
posted @ 2020-02-12 08:20 杨品海 阅读(102) 评论(0) 推荐(0) 编辑
摘要: // home/print/1 public ActionResult PRInt(int id) { return Content(" Id = "+id.ToString()); } // home/prname/james public ActionResult PRName(string n 阅读全文
posted @ 2020-02-12 08:19 杨品海 阅读(103) 评论(0) 推荐(0) 编辑
摘要: <appSettings> <add key="webpages:Version" value="2.0.0.0" /> <add key="webpages:Enabled" value="false" /> <add key="PreserveLoginUrl" value="true" /> 阅读全文
posted @ 2020-02-12 07:43 杨品海 阅读(200) 评论(0) 推荐(0) 编辑