会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
悲霄
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2022年4月26日
MediatR简单运用
摘要: 1,新建.net core3.1 webapi 2,引用:MediatR(10.0.1),MediatR.Extensions.Microsoft.DependencyInjection(10.0.1) 3,修改startup public void ConfigureServices(IServi
阅读全文
posted @ 2022-04-26 16:58 元点
阅读(179)
评论(0)
推荐(0)
2022年4月23日
.net framework webapi + autofac
摘要: .net framework 4.7.2 1,引用 Autofac 6.3.0 Autofac.WebApi2 6.1.0 2,Global.asax using Autofac;using Autofac.Integration.WebApi;using System.Linq;using Sys
阅读全文
posted @ 2022-04-23 16:39 元点
阅读(224)
评论(0)
推荐(0)
2022年4月22日
位运算
摘要: var grantList = new List<int> { 61,0,1,63,9,60,62}; var lj = 0; foreach (var itemd in grantList) { lj = itemd | lj;//|位运算,将10进制转为2进制,将两个二进制合并,只要相同位有一个
阅读全文
posted @ 2022-04-22 17:53 元点
阅读(54)
评论(0)
推荐(0)
2022年4月18日
AssemblyCatalog简单操作
摘要: 1,说明: 通过AssemblyCatalog,获得有特殊标记特性的类对象集合,通过类型获取单一对象,并实现不同对象同一操作的不同业务 2,引用System.ComponentModel.Composition 3,代码 using System;using System.Collections.G
阅读全文
posted @ 2022-04-18 17:12 元点
阅读(114)
评论(0)
推荐(0)
2022年4月8日
c#解析cron表达式
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace IDH.Common.Utility{ /// <summary> /// 表达式对象 /// </summary
阅读全文
posted @ 2022-04-08 18:38 元点
阅读(1349)
评论(0)
推荐(1)
C#后端处理session过期跳转登录页
摘要: 1,继承Controller并重写OnActionExecuting protected override void OnActionExecuting(ActionExecutingContext filterContext) { //User does not exist,Test code /
阅读全文
posted @ 2022-04-08 17:04 元点
阅读(392)
评论(0)
推荐(0)
centros7 docker安装jenkins
摘要: 进入centos系统后 输入账号,密码,centos系统密码输入时看不见,输入完成后直接按回车就行 sudo yum update sudo yum remove docker docker-common docker-selinux docker-engine sudo yum install -
阅读全文
posted @ 2022-04-08 10:03 元点
阅读(46)
评论(0)
推荐(0)
docker 内操作kafka
摘要: 1:进入docker:docker exec -it 11f069991b62(kafka容器id) /bin/bash 2:进入docker中kafka的文件目录:cd kafka_2.12-2.4.9 3:kafka-topics.sh --list -zookeeper(zookeeper容器
阅读全文
posted @ 2022-04-08 10:01 元点
阅读(236)
评论(0)
推荐(0)
(四)wcf自定义验证
摘要: 1.继承ServiceAuthorizationManager using System;using System.Collections.Concurrent;using System.Collections.Generic;using System.Collections.ObjectModel
阅读全文
posted @ 2022-04-08 10:00 元点
阅读(74)
评论(0)
推荐(0)
2022年4月7日
(三)调用wcf服务
摘要: 1,新建一个站点项目 2,新增配置文件配置 3.添加引用 4.发起请求
阅读全文
posted @ 2022-04-07 18:20 元点
阅读(34)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告