随笔分类 - Development
Development & Designer Tools
摘要:案例 简单代码如下: string path = "ProcInstLog"; if (!System.IO.Directory.Exists(path)) { System.IO.Directory.CreateDirectory(path); } string file = System.IO.
阅读全文
摘要:Microsoft Visual Studio 未能正确加载“MonoAndroidDesignerPackage”包。 此问题可能是因配置更改或安装另一个扩展导致的。可通过查看文件“D:\Users\Administrator\AppData\Roaming\Microsoft\VisualStu
阅读全文
摘要:Appliaction Developer PowerShell for VS 2019 Command CD {Product Dir} msbuild -v:m -restore -t:Build -p:Configuration=Release -p:TargetFramework=net45
阅读全文
摘要:在SQLite官网下载原始预编译包。 Precompiled Binaries for the .NET Standard 2.1 创建一个ASP.NET Core项目 项目添加预编译包解压缩后的引用 System.Data.SQLite.dll 随意代码 Con = new SQLiteConne
阅读全文
摘要:System.Security.Cryptography.RSACryptoServiceProvider cryptoServiceProvider = new System.Security.Cryptography.RSACryptoServiceProvider(4096); Console
阅读全文
摘要:匹配URL https://[^\s]* 匹配htm开头以及xx结尾 htm.*"> 正则表达式 (UltraEdit Syntax): % 匹配行首 - 表明要搜索的字符串一定在行首. $ 匹配行尾 - 表明要搜索的字符串一定在行尾 ? 匹配除换行符外的任一单个字符. * 匹配任意个数的字符出现任
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Automatic_Mouse_Click { internal static class En
阅读全文
摘要:服务端 新建ASP.NET Core Web MVC 项目 SSOServer 2. NuGet安装IdentityServer4 3. 新建Config.cs类 public class Config { // scopes define the resources in your system
阅读全文
摘要:案例 通过Aspose.Html.Converters.Converter.ConvertMarkdown将markdown转换为html 出现中文乱码的情况 解决办法 可以在转换之前,将内存流中的字符串改为UTF-8即可. Stream stream = new MemoryStream(Enco
阅读全文
摘要:修改方式参考下图。 这里主要记录的问题是,当你修改模板路径之后,请记得将旧路径中所有模板文件拷贝至新模板路径中。 否则,在修改模板路径之前安装的模板,可能就无法显示了。 还有一种情况,某些插件本身比较落后,它是直接写原始模板路径的,所以,当安装某些插件之后发现找不到对应模板,请去默认模板路径下寻找,
阅读全文