06 2023 档案
摘要:const gulp = require('gulp'); const fs = require('fs'); const htmlmin = require('gulp-htmlmin'); const uglify = require('gulp-uglify'); const uglifyEs
阅读全文
摘要:有C#的国产ORM SqlSugar 好久了,实在话还不错,不过毕竟是早期产物不能过分要求规范化,有些项目查询语句需要用到缓存,官方是redis,我写了个本地缓存借助ConcurrentBag,因为有的项目禁止过分依赖三方组件,以下是我实现的方法,可供大家参考: using SqlSugar; us
阅读全文
摘要://首先NuGet安装:Magick.NET.Core,Magick.NET-Q16-AnyCPUusing ImageMagick; /// <summary> /// 压缩图片 /// </summary> /// <param name="imageData">图片字节流</param> //
阅读全文
摘要:因解析json配置文件导致的错误: JsonReaderException: '0xEF' is an invalid escapable character within a JSON string. The string should be correctly escaped. LineNumb
阅读全文
摘要:安装和卸载 .NET Framework 受阻疑难解答 - .NET Framework | Microsoft Learn Windows RT 8.1、Windows 8.1 和 Windows Server 2012 R2 更新:2014 年 4 月 - Microsoft 支持 以上是安装.
阅读全文
摘要:## IIS WebAdmin Module Import-Module WebAdministration $AppPool = "mqttService(8011)" $Site = "mqttService(8011)" $AppPoolInstance = Get-Item IIS:\App
阅读全文
摘要:借助 mkcert 和批处理命令生成局域网证书 自动获取ipv4,一键生成很方便 cd /d %~dp0 ipconfig |find "IPv4" > ipv4 set /p a=<ipv4 del ipv4 for /f "tokens=2 delims=:" %%a in ("%a%") do
阅读全文

浙公网安备 33010602011771号