06 2021 档案
摘要:对IDE进行一下设置即可:https://aspnetboilerplate.com/Pages/Documents/Debugging
阅读全文
摘要:abp项目默认继承swagger,但我们不想随意的把我们的接口文档暴漏给外部,这样是极其不安全的; 但,我在网上找了一圈,针对.net的解决方案我反正是没找到,没办法,最后自己想了个招儿,我让api在生产部署的时候不暴漏,只允许在我们的测试环境上才可以查看; 其实,很简单,就是对环境变量进行一下判断
阅读全文
摘要:.NET 5 - Supported OS versions .NET 5 is supported on multiple operating systems per their lifecycle policy. Windows OSVersionArchitecturesLifecycle W
阅读全文
摘要:1.使用tfs的话,检查签出策略,是否是local;如果时Server的话,可能就会发生这个错误;
阅读全文
摘要:/// <summary> /// 采用Socket方式,测试服务器连接 /// </summary> /// <param name="host">服务器主机名或IP</param> /// <param name="port">端口号</param> /// <param name="milli
阅读全文
摘要:CREATE TRIGGER SyncInsert ON MyT WITH ENCRYPTION --加密,Trigger具体内容不可查看 AFTER INSERT --插入成功后,执行TRIGGER事件 AS BEGIN IF (ROWCOUNT_BIG() = 0) RETURN; INSERT
阅读全文
摘要:FOR and AFTER are the same type of triggers. FOR is deprecated and should not be used, use AFTER when defining a trigger. 功能都一致,都是在语句执行成功后触发的;For是之前sq
阅读全文
摘要:Ctrl + Alt + F6 进入 Terminal 界面; Ctrl + Alt + F2 返回 GUI 界面; 每次开机启动都进入 Terminal 界面: echo “false” | sudo tee /etc/X11/default-display-manager 每次开机启动都进入 G
阅读全文
摘要:AGE displays the amount of time that the application has been running.
阅读全文
摘要:从对比数据上看,Autofac有明显优势。更新周期更短,人们关注度更高,使用人也更多。 https://dotnet.libhunt.com/compare-tinyioc-vs-autofac
阅读全文
摘要:private async void ThrowExceptionAsync() { throw new InvalidOperationException(); } public void AsyncVoidExceptions_CannotBeCaughtByCatch() { try { Th
阅读全文