MVC
烧饼丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
基于Session单点登录
拦截器拦截未登录的请求 public class BaseController : Controller { protected override void OnActionExecuting(ActionExecutingContext filterContext) { //用于拦截未登录的请求 base.OnActionExecuting(filterContext); if (Sess原创 2020-05-13 12:04:07 · 299 阅读 · 0 评论 -
ASP.NET MVC4中@model使用多个类型实例的方法
using System; using System.Web.Mvc; namespace Razor.Controllers { public class HomeController : Controller { Razor.Models.Product myProduct = new Models.Product { ProductID = 1, Name...翻译 2019-07-09 15:15:35 · 789 阅读 · 0 评论
分享