会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Original"
博客园
首页
新随笔
联系
订阅
管理
2022年2月22日
Quartz.NET 定时任务调度
摘要: 1.界面预览 1.1 前端项目预览 (基于Vue2 +Element UI) 1.2 后台接口预览 (基于 .NET6) 2.项目介绍 在我们日常开发中,常常需要定时调用业务相关的方法完成每日,每月,....等数据统计,常用的方法有定时Windows服务,Hangfire组件,Quartz组件,本文
阅读全文
posted @ 2022-02-22 09:05 Original"
阅读(558)
评论(2)
推荐(0)
2021年10月19日
IIS初始化(预加载),解决第一次访问慢,程序池被回收问题
摘要: 读在最前面: 1、本文以IIS8,Windows Server 2012R2做为案例 2、IIS8 运行在 Windows Server 2012 and Windows 8 版本以上的平台上。 3、IIS中应用程序池和网站是单独存在的,但是网站运行必须建立在对应的应用程序池启动的前提下。 4、默认
阅读全文
posted @ 2021-10-19 14:26 Original"
阅读(266)
评论(0)
推荐(0)
2021年5月10日
.netcore在浏览器中读取项目文件夹
摘要: Configure 添加代码如下: /配置通过浏览器Url直接访问对应文件夹下的文件(无法访问文件夹) app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider( Path.Combine
阅读全文
posted @ 2021-05-10 21:00 Original"
阅读(586)
评论(0)
推荐(0)
2021年3月1日
.netcore swagger 配合 Mini-profiler使用
摘要: 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"
阅读(359)
评论(0)
推荐(0)
2021年2月28日
.netcore 配置swagger
摘要: 1、创建一个.netcore Mvc项目 2、安装相关NuGet包 添加包 Swashbuckle.AspNetCore 3、在 Startup.cs 中的 ConfigureServices 下添加 var basePath = ApplicationEnvironment.Application
阅读全文
posted @ 2021-02-28 23:48 Original"
阅读(42)
评论(0)
推荐(0)
2021年2月27日
.netcore 查看 Mini-profiler对应包版本的js代码
摘要: 1、创建一个.netcore Mvc项目 2、安装相关NuGet包 添加包 MiniProfiler.AspNetCore.Mvc 和 MiniProfiler.EntityFrameworkCore 3、在 Startup.cs 中的 Configure 下添加 app.UseMiniProfil
阅读全文
posted @ 2021-02-27 20:22 Original"
阅读(103)
评论(0)
推荐(0)
.Net.Core 中 LaunchSettings.json 配置详细说明
摘要: LaunchSettings.json 配置详细说明 { ////////////////////////////////////////使用IIS Express启动配置//////////////////////////////////////////// "iisSettings": { "w
阅读全文
posted @ 2021-02-27 10:26 Original"
阅读(883)
评论(0)
推荐(0)
公告