Loading

摘要: 1、何为依赖冲突 Maven是个很好用的依赖管理工具,但是再好的东西也不是完美的。Maven的依赖机制会导致Jar包的冲突。举个例子,现在你的项目中,使用了两个Jar包,分别是A和B。现在A需要依赖另一个Jar包C,B也需要依赖C。但是A依赖的C的版本是1.0,B依赖的C的版本是2.0。这时候,Ma 阅读全文
posted @ 2021-10-13 11:35 Dhoopu 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 先了解一下两者都代表什么意思 int(10) 给 int 类型设置字节长度为 10,int 类型默认的值范围大小是:-2147483648和2147483647。 unsigned 设置 int 类型不能为负数。 创建 MySql 表进行演示 创建 test-in 演示 int(10) CREATE 阅读全文
posted @ 2021-10-09 12:06 Dhoopu 阅读(1748) 评论(0) 推荐(0) 编辑
摘要: ABP提供的启动模板, 默认使用是英文: 虽然可以通过右上角的菜单切换成中文, 但是对于国内项目来说, 默认使用中文是很正常的需求. 本文介绍了如何实现默认语言的几种方法, 希望能对ABP爱好者有所帮助, Let's begin! 前期准备 使用ABP CLI创建一个名为AbpStudy的ASP.N 阅读全文
posted @ 2021-09-29 15:21 Dhoopu 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 先退出Docker 在PowerShell中执行代码 wsl --unregister docker-desktop wsl --unregister docker-desktop-data 阅读全文
posted @ 2021-03-15 11:54 Dhoopu 阅读(14142) 评论(5) 推荐(0) 编辑
摘要: #解决方法 Try deleting the bin folder and rebuilding the solution. 阅读全文
posted @ 2020-08-14 11:54 Dhoopu 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: [TOC] 什么是MSMQ Message Queuing(MSMQ) 是微软开发的消息中间件,可应用于程序内部或程序之间的异步通信。主要的机制是:消息的发送者把自己想要发送的信息放入一个容器中(我们称之为Message),然后把它保存至一个系统公用空间的消息队列(Message Queue)中;本 阅读全文
posted @ 2019-01-21 14:03 Dhoopu 阅读(4691) 评论(0) 推荐(0) 编辑
摘要: Quartz定时任务默认都是并发执行的,不会等待上一次任务执行完毕,只要间隔时间到就会执行, 如果定时任执行太长,会长时间占用资源,导致其它任务堵塞。 比如Job设置1分钟跑一次,每次获取50条短信发送,发送完成后状态设置为已发送。但是可能Job1执行的时间超过1分钟50条短信还没有跑完,这时候Job2 启动了,就会获取全部未发送的记录继续发送。造成重复执行短信发送的问题。 阅读全文
posted @ 2019-01-16 14:05 Dhoopu 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: The problem is likely that there's a newer version of the Visual C++ Redistributable than SQL Server is trying to install, e.g., from Visual Studio 2017. So another way to address this, if you don't need the latest C++ redistributable, is to go to Add or Remove Programs and uninstall all references to Visual C++ 2017 Redistributable. After this, the SQL Server installation should proceed without errors. 阅读全文
posted @ 2018-06-04 11:02 Dhoopu 阅读(678) 评论(0) 推荐(0) 编辑
摘要: ``` select DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE())-1, 0) --First day of previous month select DATEADD(MONTH, DATEDIFF(MONTH, -1, GETDATE())-1, -1) --Last Day of previous month ``` 阅读全文
posted @ 2018-05-07 15:25 Dhoopu 阅读(465) 评论(0) 推荐(0) 编辑
摘要: Some specific needs of SQL developers like connecting to [SQL Server](https://www.microsoft.com/en/server-cloud/products/sql-server/) from OSX and even using Windows authentication can be covered by DataGrip. Since releasing DataGrip, we’ve received lots of comments about connecting to SQL Server. It appears it’s not straightforward as with other databases, requiring a couple of extra steps beforehand. Here is a small guide describing the main problems you may face and how to solve them. 阅读全文
posted @ 2018-05-02 12:31 Dhoopu 阅读(3696) 评论(0) 推荐(0) 编辑
摘要: 未找到与命令“dotnet ef”匹配的可执行文件 Specific to VS2017 15.3 or greater and ASP.NET CORE 2.0 or later... Install nuget for db provider via command line or nuget 阅读全文
posted @ 2018-04-17 18:20 Dhoopu 阅读(2386) 评论(0) 推荐(0) 编辑
摘要: I have set the .ASPXAUTH cookie to be https only but I am not sure how to effectively do the same with the ASP.NET_SessionId. The entire site uses HTTPS so there is no need for the cookie to work with both http and https 阅读全文
posted @ 2018-03-06 17:52 Dhoopu 阅读(1054) 评论(0) 推荐(1) 编辑
摘要: the-client-and-server-cannot-communicate-because-they-do-not-possess-a-common-a 阅读全文
posted @ 2018-02-08 18:52 Dhoopu 阅读(1609) 评论(0) 推荐(0) 编辑
摘要: C# 移除Response Header,403调整返回为404Make IIS return a 404 status code instead of 403 阅读全文
posted @ 2018-02-07 15:52 Dhoopu 阅读(548) 评论(0) 推荐(0) 编辑
摘要: Here's a workaround I found that works for all cases (including suspended dispatchers). It's not my code and I'm still working to fully understand it, but it does work. 阅读全文
posted @ 2018-02-05 19:31 Dhoopu 阅读(375) 评论(0) 推荐(0) 编辑
摘要: I understand that IValidatableObject is used to validate an object in a way that let's one compare properties against each other. I'd still like to have attributes to validate individual properties, but I want to ignore failures on some properties in certain cases. 阅读全文
posted @ 2018-01-17 20:10 Dhoopu 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Several people have asked me about using data annotations for validation outside of a UI framework, like ASP.NET MVC or Silverlight. The System.ComponentModel.DataAnnotations assembly contains everything you need to execute validation logic in the annotations. Specifically, there is a static Validator class to execute the validation rules. For example, let's say you have the following class in a console mode application 阅读全文
posted @ 2018-01-17 20:07 Dhoopu 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 依赖倒置是面向对象设计领域的一种软件设计原则。 软件设计有 6 大设计原则,合称 SOLID。 有人会有疑惑,设计原则有什么用呢? 设计原则是前辈们总结出来的经验,你可以把它们看作是内功心法。 只要你在平常开发中按照设计原则进行编码,假以时日,你编程的功力将会大增。 阅读全文
posted @ 2017-12-08 17:01 Dhoopu 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 十六进制值 是无效的字符错误 阅读全文
posted @ 2017-11-14 19:43 Dhoopu 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: What is a correct mime type for docx, pptx etc? 阅读全文
posted @ 2017-11-14 19:40 Dhoopu 阅读(3662) 评论(0) 推荐(0) 编辑