posted @ 2022-10-20 13:27 火冰·瓶 阅读(609) 评论(0) 推荐(0)
摘要:
本文主要介绍.NET Core2.1,在EF(Entity Framework) Core中配置使用Sqlite数据库,自动创建Sqlite数据库,自动创建表。 1、安装用到的Nuget包 项目上右键 -》选择"管理Nuget程序包" -》搜索"Microsoft.EntityFrameworkCo 阅读全文
摘要:
本文主要介绍.NET Core中,通过appsettings.json配置文件获取数据库连接字符串。 1、在项目的根目录中创建appsettings.json文件 { "MssqlConnectionString": "Server=yourip; Database=yourdbname; User 阅读全文
posted @ 2022-10-20 13:26 火冰·瓶 阅读(172) 评论(0) 推荐(0)
摘要:
ZLMediaKit地址:https://github.com/ZLMediaKit/ZLMediaKit WVP地址:https://github.com/648540858/wvp-GB28181-pro ZLMediaKit开启SSL 1.查看ZLMediaKit配置文件中的SSL端口 #ht 阅读全文
posted @ 2022-10-01 00:26 火冰·瓶 阅读(1412) 评论(0) 推荐(0)
摘要:
其他参考牛文: https://blog.csdn.net/LS_ss123/article/details/105222953 https://blog.csdn.net/weixin_43360707/article/details/120975297 https://zhuanlan.zhih 阅读全文
posted @ 2022-09-30 11:05 火冰·瓶 阅读(2191) 评论(0) 推荐(0)
摘要:
<input type="file" id="avatar" name="avatar"> <button type="button">保存</button> ('button').click(function(){ var files = $('#avatar').prop('files'); / 阅读全文
posted @ 2022-09-28 16:52 火冰·瓶 阅读(21) 评论(0) 推荐(0)
摘要:
HTML5属性 draggable可以让元素变成可拖动 <li draggable="true">1</li> 该属性有三个值可选:true | false | auto true:表示可拖动 false: 表示不可拖动 auto: 表示浏览器默认行为 拖动事件: 拖动的元素上触发:事件皆由拖动元素 阅读全文
posted @ 2022-09-26 23:34 火冰·瓶 阅读(45) 评论(0) 推荐(0)
摘要:
1,基本介绍 (1)tippy.js 是一款轻量的 tooltip 插件,使用它可以很方便地实现鼠标悬停提示信息效果。 GitHub 主页:https://github.com/atomiks/tippyjs 官网地址:https://atomiks.github.io/tippyjs/ (2)ti 阅读全文
posted @ 2022-09-22 19:50 火冰·瓶 阅读(2500) 评论(0) 推荐(0)
摘要:
1.在powershell中 # 国内用户推荐从同步镜像网站gitee下载 git clone --depth 1 https://gitee.com/xia-chu/ZLMediaKit cd ZLMediaKit # 千万不要忘记执行这句命令 git submodule update --ini 阅读全文
posted @ 2022-09-18 02:26 火冰·瓶 阅读(4352) 评论(0) 推荐(0)
摘要:
1.使用DB Browser for SQLite建立数据库db文件 2.NuGet包管理器下载安装如下几3个包 3.使用程序包管理器控制台生成实体 PM>Scaffold-DbContext -Force "Data Source=D:\OneDrive\VisualStudio项目\VS2022 阅读全文
posted @ 2022-08-31 23:39 火冰·瓶 阅读(94) 评论(0) 推荐(0)
摘要:
Sql Server: Data Source=127.0.0.1;Initial Catalog=xxxxxxDB;User Id=xxxUser;Password=xxxxxxpwd; Scaffold-DbContext -Force "Data Source=127.0.0.1;Initia 阅读全文
posted @ 2022-08-31 21:51 火冰·瓶 阅读(86) 评论(0) 推荐(0)
浙公网安备 33010602011771号