摘要: 1.界面预览 1.1 前端项目预览 (基于Vue2 +Element UI) 1.2 后台接口预览 (基于 .NET6) 2.项目介绍 在我们日常开发中,常常需要定时调用业务相关的方法完成每日,每月,....等数据统计,常用的方法有定时Windows服务,Hangfire组件,Quartz组件,本文 阅读全文
posted @ 2022-02-22 09:05 Original" 阅读(490) 评论(2) 推荐(0) 编辑
摘要: 读在最前面: 1、本文以IIS8,Windows Server 2012R2做为案例 2、IIS8 运行在 Windows Server 2012 and Windows 8 版本以上的平台上。 3、IIS中应用程序池和网站是单独存在的,但是网站运行必须建立在对应的应用程序池启动的前提下。 4、默认 阅读全文
posted @ 2021-10-19 14:26 Original" 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Configure 添加代码如下: /配置通过浏览器Url直接访问对应文件夹下的文件(无法访问文件夹) app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider( Path.Combine 阅读全文
posted @ 2021-05-10 21:00 Original" 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 1、安装相关NuGet包 添加包 MiniProfiler.AspNetCore.Mvc 2、在 项目下创建index.html下添加 <!--1、版本号要与nuget包一致;2、id不能为空--><script async id="mini-profiler" src="/mini-profile 阅读全文
posted @ 2021-03-01 22:06 Original" 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、创建一个.netcore Mvc项目 2、安装相关NuGet包 添加包 Swashbuckle.AspNetCore 3、在 Startup.cs 中的 ConfigureServices 下添加 var basePath = ApplicationEnvironment.Application 阅读全文
posted @ 2021-02-28 23:48 Original" 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1、创建一个.netcore Mvc项目 2、安装相关NuGet包 添加包 MiniProfiler.AspNetCore.Mvc 和 MiniProfiler.EntityFrameworkCore 3、在 Startup.cs 中的 Configure 下添加 app.UseMiniProfil 阅读全文
posted @ 2021-02-27 20:22 Original" 阅读(92) 评论(0) 推荐(0) 编辑
摘要: LaunchSettings.json 配置详细说明 { ////////////////////////////////////////使用IIS Express启动配置//////////////////////////////////////////// "iisSettings": { "w 阅读全文
posted @ 2021-02-27 10:26 Original" 阅读(785) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示
主题色彩