• 大小: 16.78MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-04
  • 语言: C#
  • 标签: ERP  进销存  源码  数据库  

资源简介

C# 大学项目 仓库管理系统源码+数据库 小型进销存系统 layui框架搭建 美观

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;

namespace MvcUI
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 http://go.microsoft.com/?linkId=9394801

    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
        public MvcApplication()
        {
            AuthorizeRequest += new EventHandler(MvcApplication_AuthorizeRequest);
        }

        void MvcApplication_AuthorizeRequest(object sender EventArgs e)
        {
            var id = Context.User.Identity as FormsIdentity;
            if (id != null && id.IsAuthenticated)
            {
                var roles = id.Ticket.UserData.Split(‘‘);
                Context.User = new GenericPrincipal(id roles);
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-06-26 00:13  Nike仓库\
     目录           0  2019-06-05 19:39  Nike仓库\NikeProject\
     目录           0  2019-06-13 22:19  Nike仓库\NikeProject\Nike\
     目录           0  2019-06-25 23:49  Nike仓库\NikeProject\Nike\MvcUI\
     目录           0  2019-06-26 02:46  Nike仓库\NikeProject\Nike\MvcUI\App_Data\
     目录           0  2019-06-05 19:39  Nike仓库\NikeProject\Nike\MvcUI\App_Start\
     文件        2165  2019-05-31 00:32  Nike仓库\NikeProject\Nike\MvcUI\App_Start\BundleConfig.cs
     文件         271  2019-05-31 00:32  Nike仓库\NikeProject\Nike\MvcUI\App_Start\FilterConfig.cs
     文件         597  2019-06-23 20:39  Nike仓库\NikeProject\Nike\MvcUI\App_Start\RouteConfig.cs
     文件         474  2019-05-31 00:32  Nike仓库\NikeProject\Nike\MvcUI\App_Start\WebApiConfig.cs
     目录           0  2019-06-05 19:39  Nike仓库\NikeProject\Nike\MvcUI\Content\
     文件        1024  2019-05-31 00:32  Nike仓库\NikeProject\Nike\MvcUI\Content\Site.css
     目录           0  2019-06-20 08:17  Nike仓库\NikeProject\Nike\MvcUI\Content\css\
     文件       12087  2019-06-20 08:17  Nike仓库\NikeProject\Nike\MvcUI\Content\css\auth.css
     文件      121204  2019-06-20 08:17  Nike仓库\NikeProject\Nike\MvcUI\Content\css\bootstrap.min.css
     文件         505  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\font.css
     文件        2268  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\login.css
     文件         304  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\theme1.css
     文件         288  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\theme2.css
     文件         297  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\theme3.css
     文件         309  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\theme4.css
     文件         590  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\theme5.css
     文件        9946  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\css\xadmin.css
     目录           0  2019-06-05 19:39  Nike仓库\NikeProject\Nike\MvcUI\Content\fonts\
     文件       49600  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\fonts\iconfont.eot
     文件      322278  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\fonts\iconfont.svg
     文件       49432  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\fonts\iconfont.ttf
     文件       30200  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\fonts\iconfont.woff
     目录           0  2019-06-05 19:39  Nike仓库\NikeProject\Nike\MvcUI\Content\images\
     文件        3032  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\images\aiwrap.png
     文件       28211  2019-05-31 00:37  Nike仓库\NikeProject\Nike\MvcUI\Content\images\bg.png
............此处省略898个文件信息

评论

共有 条评论