流浪のwolf

卷帝

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 74 下一页

2024年4月5日

electon的入口文件 main 指定

摘要: 任何 Electron 应用程序的入口都是 main 文件。 这个文件控制了主进程,它运行在一个完整的Node.js环境中,负责控制您应用的生命周期,显示原生界面,执行特殊操作并管理渲染器进程(稍后详细介绍)。 执行期间,Electron 将依据应用中 package.json配置下main字段中配 阅读全文

posted @ 2024-04-05 16:26 朱龙旭的网络 阅读(174) 评论(0) 推荐(0) 编辑

axios 常见状态码

摘要: '100': 'Continue', '101': 'SwitchingProtocols', '102': 'Processing', '103': 'EarlyHints', '200': 'Ok', '201': 'Created', '202': 'Accepted', '203': 'No 阅读全文

posted @ 2024-04-05 13:15 朱龙旭的网络 阅读(175) 评论(0) 推荐(0) 编辑

2024年4月3日

nextjs 的函数,参数,属性装饰器的使用

摘要: // 属性装饰器 const doc1:PropertyDecorator = (target:any,val: string | symbol) => { console.log(target); console.log(val); val = "覆盖"; } // 方法装饰器 const doc 阅读全文

posted @ 2024-04-03 21:19 朱龙旭的网络 阅读(24) 评论(0) 推荐(0) 编辑

nextjs 类装饰器

摘要: // 类装饰器 == 本质就是一个函数 // 在某个类的上面使用 @ // 可以等价于函数调用 doc(Zlx) // 不会破坏原有的类 可以扩展类 // "experimentalDecorators": true, 需要配置这个东西 const doc:ClassDecorator = (tar 阅读全文

posted @ 2024-04-03 21:07 朱龙旭的网络 阅读(30) 评论(0) 推荐(0) 编辑

使用 Debugger 断点 如果打开了断点调试 就会跳转空白页面

摘要: <!DOCTYPE html> <html> <header> <title>test</title> </header> <body> <h1>test</h1> </body> <script> setInterval(function() { var startTime = performan 阅读全文

posted @ 2024-04-03 16:10 朱龙旭的网络 阅读(71) 评论(0) 推荐(0) 编辑

jwt实现登录 和 接口实现动态权限

摘要: [Authorize] using Microsoft.AspNetCore.Authorization; 登录的 DTO namespace login; public class WeatherForecast { public DateOnly Date { get; set; } publi 阅读全文

posted @ 2024-04-03 14:34 朱龙旭的网络 阅读(38) 评论(0) 推荐(0) 编辑

2024年4月1日

动态去读 dll 文件

摘要: // 反射动态读取 dll // Assembly assembly = Assembly.LoadFile(); 路径 // Assembly assembly = Assembly.LoadFrom(); // 全名称 // Assembly assembly = Assembly.Load() 阅读全文

posted @ 2024-04-01 19:31 朱龙旭的网络 阅读(7) 评论(0) 推荐(0) 编辑

2024年3月31日

.NetCore 目录浏览 和 静态文件

摘要: 1. 静态文件 包:microsoft.aspdotnet.staticfiles app.UseStaticFiles() 会默认找到 wwwroot文件夹 // 匹配到指定条件然后执行中间件 // 使用中间件 // 静态文件 // UseStaticFiles 中间件 app.UseStatic 阅读全文

posted @ 2024-03-31 14:29 朱龙旭的网络 阅读(147) 评论(0) 推荐(0) 编辑

2024年3月23日

dotnet 命令

摘要: dotnet new 根据指定的模板,创建新的项目 dotnet new -all 查看所有的模板 dotnet new search -all 模板搜索 --name 指定项目的名称 dotnet new console --name demo 阅读全文

posted @ 2024-03-23 12:04 朱龙旭的网络 阅读(32) 评论(0) 推荐(0) 编辑

2024年3月17日

配置linux的远程登录操控 ssh 配置密钥

摘要: 1. 安装ssh服务 yum install openssh-server 启动服务 service ssh start ssh 的配置文件位置 ect/ssh/sshd_config 001. 把PermitRootLogin without-password 注释 换成 PermitRootLo 阅读全文

posted @ 2024-03-17 11:39 朱龙旭的网络 阅读(101) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 74 下一页
点击右上角即可分享
微信分享提示