上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 101 下一页
摘要: Hangfire-执行定时任务框架 1、新建netframwork console 控制台项目ConsoleHangfireTest,nuget程序包 添加Hangfire 2、项目ConsoleHangfireTest右键,添加OWIN Startup 类 代码内容: using System; 阅读全文
posted @ 2020-11-27 10:00 龙骑科技 阅读(367) 评论(0) 推荐(0)
摘要: Database数据库的分库分表,表映射,切换表,使用到了IModelCacheKeyFactory 代码如下: using Microsoft.EntityFrameworkCore; using System; using System.Collections; using System.Col 阅读全文
posted @ 2020-11-26 16:06 龙骑科技 阅读(298) 评论(0) 推荐(0)
摘要: 并发字典ConcurrentDictionary+迭代器--异步 代码如下: using Microsoft.EntityFrameworkCore; using System; using System.Collections; using System.Collections.Concurren 阅读全文
posted @ 2020-11-26 16:00 龙骑科技 阅读(189) 评论(0) 推荐(0)
摘要: Task任务取消主要使用的是 CancellationTokenSource 对象下的CancellationToken 取消标记, 代码如下 using Microsoft.EntityFrameworkCore; using System; using System.Collections; u 阅读全文
posted @ 2020-11-26 15:56 龙骑科技 阅读(282) 评论(0) 推荐(0)
摘要: 线程取消主要使用的是 CancellationTokenSource 对象下的CancellationToken 取消标记, 代码如下 using Microsoft.EntityFrameworkCore; using System; using System.Collections; using 阅读全文
posted @ 2020-11-26 15:52 龙骑科技 阅读(96) 评论(0) 推荐(0)
摘要: Oracle创建表空间、创建用户以及授权 SQL*Plus: Release 11.2.0.1.0 Production on 星期二 11月 10 12:13:22 2020 Copyright (c) 1982, 2010, Oracle. All rights reserved. 请输入用户名 阅读全文
posted @ 2020-11-10 13:27 龙骑科技 阅读(1458) 评论(0) 推荐(0)
摘要: Redis 启动和在注册到windows服务 Redis 启动,点击start.cmd脚本,接口启动,start.cmd脚本内容如下 redis-server redis.windows.conf 上图的提示信息告诉了我们:① Redis 当前的版本为 3.0.503;② Redis 运行在 637 阅读全文
posted @ 2020-10-15 17:24 龙骑科技 阅读(223) 评论(0) 推荐(0)
摘要: EF Core + Oracle自动生成数据库 1、登录orcale 11g 授权 SQL> connect / as sysdba; SQL> create user myuser identified by 123456; SQL> grant connect, resource to myus 阅读全文
posted @ 2020-10-10 13:42 龙骑科技 阅读(567) 评论(0) 推荐(1)
摘要: 设计模式之单例模式的多种使用方式以及单例的优化 具体使用案例如下: using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System 阅读全文
posted @ 2020-10-03 15:26 龙骑科技 阅读(143) 评论(0) 推荐(0)
摘要: ASP.NET Core使用静态文件、目录游览与MIME类型管理 Startup管道配置中,可以看到,注入相关静态资源的代码 //自定义自己的文件路径,例如提供访问根目录下的文件,http://localhost:5000/preview/README.md //将访问服务端的根目录中的README 阅读全文
posted @ 2020-09-21 15:31 龙骑科技 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 101 下一页