自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (5)
  • 收藏
  • 关注

原创 容器基本操作

参考 https://blog.csdn.net/qq_40558166/article/details/100545186?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control

2020-12-28 09:10:00 116

原创 coreMVC基础

https://www.cnblogs.com/Run2948/p/11027314.html参考如果以Controller结尾的都是控制器,那如果程序里面由一些业务命名的时候也是以Controller结尾,怎么办?NonControllerAttribute/// /// 拍卖师控制类/// [NonController]public class AuctionController{} 获取请求数据的属性Cookies,Headers,Query,QueryString,Fo

2020-12-17 18:53:01 117

原创 dncMVC_FILTER

ASP.NET Core MVC 过滤器介绍https://www.cnblogs.com/tdfblog/p/filters-in-aspnet-core-mvc.htmlasp.net core的执行顺序是,收到一个请求后,request请求会先经过已注册的中间件,然后会进入到mvc的拦截器管道调整过滤器执行顺序[MyFilter(Name = “Controller Level Attribute”, Order=1)]Authorization FiltersResopurces Fil

2020-12-17 18:51:59 108

原创 DNCMVC注入相同接口的多个类服务,后台按接口批量调用

//注入同一接口类型的多个 对象,在 controller可以循环执行private readonly IEnumerable _test;public HomeController(IEnumerable test){_test = test;}public IActionResult Test(){ViewBag.Names= new List();foreach (var sv in _test){(ViewBag.Names as List).Add(sv.GetName())

2020-12-16 17:26:20 111

原创 冒泡排序

int temp = 0; int[] arr = {66, 38, 53, 77, 69, 51, 1,32, 3}; for (int i = 0; i < arr.Length - 1; i++) { for (int j = 0; j < arr.Length - 1 - i; j++) { if (arr[j] > arr[j + 1])...

2020-12-15 18:34:56 44

原创 服务批量注入 DependencyExtensions

Startup.cs ConfigureServices 中添加 services.RegisterServices();//需要注入的dllusing System;using System.Linq.Expressions;using IoC;namespace CCVZ{public interface Itest:IoC.IDependency{public string GetStr();}public class Test:Itest{public string

2020-12-15 14:05:15 154

转载 sqlServer递归查询 with as

sqlServer递归查询 with aswithdistrict as(– 获得第一个结果集,并更新最终结果集select * from t_tree where node_name= N’辽宁省’union all– 下面的select语句首先会根据从上一个查询结果集中获得的id值来查询parent_id– 字段的值,然后district就会变当前的查询结果集,并继续执行下面的select 语句– 如果结果集不为null,则与最终的查询结果合并,同时用合并的结果更新最终

2020-12-14 18:35:05 394

原创 递归算法

@递归算法汉诺塔public class Hanoilmpl {public static void hanoi(int n, char A, char B, char C) { if (n == 1) { move(A, C); } else { hanoi(n - 1, A, C, B);//将n-1个盘子由A经过C移动到B move(A, C); //执行最大盘子n移动 hanoi(n - 1

2020-12-14 11:49:45 42

python-SQLite3.py

python-SQLite3.py

2021-10-06

MoreBall_1.py

用Tkinterk开发小球弹弹弹

2021-10-05

MoreBall.py

MoreBall.py

2021-10-05

.net core mvc Step by Step basic Instances

初学者可以下载参考,非常好的资源

2020-12-18

Interop.BarTender.dll

Interop.BarTender.dll Interop.BarTender开发的必备链接库

2014-05-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除