上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: [TestFixture] public class AssertTest { private BaseTest btest; private BaseTest btest1; private ITest itest; private ITest itest1; private Test test; 阅读全文
posted @ 2021-08-25 17:17 江境纣州 阅读(45) 评论(0) 推荐(0)
摘要: [TestFixture, Explicit] [Category("LongRunning")] public class LifeCycleContractFixture { [SetUp] public void SetUp() { Console.Out.WriteLine("SetUp") 阅读全文
posted @ 2021-08-24 15:59 江境纣州 阅读(43) 评论(0) 推荐(0)
摘要: 1、安装Microsoft.TestPlatform.TestHost 2、安装Nunit和NUnit3TestAdapter 3、VS的工具栏中=》测试=》窗口=》测试资源管理器 4、using NUnit.Framework; 阅读全文
posted @ 2021-08-24 14:00 江境纣州 阅读(137) 评论(0) 推荐(0)
摘要: 引用https://www.cnblogs.com/chenxizhaolu/p/12543376.html 网站面对高并发的情况下,除了增加硬件, 优化程序提高以响应速度外,还可以通过并行改串行的思路来解决。这种思想常见的实践方式就是数据库锁和消息队列的方式。这种方式的缺点是需要排队,响应速度慢, 阅读全文
posted @ 2021-07-15 15:38 江境纣州 阅读(637) 评论(0) 推荐(0)
摘要: 参考https://blog.csdn.net/educast/article/details/7248891 为了补大家的遗憾,在此总结下ROBBIN的领域模型的一些观点和大家的补充,在网站和演讲中,robbin将领域模型初步分为4大类: 1,失血模型 2,贫血模型 3,充血模型 4,胀血模型 那 阅读全文
posted @ 2021-07-14 16:49 江境纣州 阅读(1222) 评论(0) 推荐(0)
摘要: 1、区分get、post、put、delete private static List<string> _values = new List<string> { "value1", "value2" }; // GET api/values public IEnumerable<string> Ge 阅读全文
posted @ 2021-07-13 16:37 江境纣州 阅读(127) 评论(0) 推荐(0)
摘要: /// <summary> /// 请求信息帮助 /// </summary> public class HttpPostHelper { private static HttpPostHelper m_Helper; /// <summary> /// 单例 /// </summary> publ 阅读全文
posted @ 2021-07-13 13:38 江境纣州 阅读(173) 评论(0) 推荐(0)
摘要: (function fairyDustCursor() { var possibleColors = ["#D61C59", "#E7D84B", "#1B8798"] var width = window.innerWidth; var height = window.innerHeight; v 阅读全文
posted @ 2021-07-09 14:18 江境纣州 阅读(16) 评论(0) 推荐(0)
摘要: 1、数字校验 function isDecimal(strValue) { var objRegExp = /^-?\d+(\.\d+)?$/; return objRegExp.test(strValue); } 阅读全文
posted @ 2021-05-26 14:04 江境纣州 阅读(123) 评论(0) 推荐(0)
摘要: 参考https://www.cnblogs.com/Brambling/p/6815565.html 首先创建一个空的Web应用程序。 然后鼠标右键点击项目,选择 添加>新建项。 选择Web服务,点击添加。一个简单的webservice就创建完成了,接下来编写两个简单的方法。 PS:如果方法需要通过 阅读全文
posted @ 2021-05-12 15:38 江境纣州 阅读(414) 评论(0) 推荐(0)
摘要: $('#registerDialog .calendar').on('show', function (event) { event.stopPropagation(); // 避免触发$('#invoiceModal').on('show.bs.modal') }); $('#registerDi 阅读全文
posted @ 2021-04-26 11:09 江境纣州 阅读(188) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); Thread a = new Thread(new ThreadSta 阅读全文
posted @ 2021-03-25 16:44 江境纣州 阅读(57) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/yudongdong/p/11104345.html 阅读全文
posted @ 2021-02-23 17:07 江境纣州 阅读(41) 评论(0) 推荐(0)
摘要: white-space: nowrap; max-width:130px; overflow: hidden; text-overflow: clip; 显示省略的。 text-overflow: clip|ellipsis|string; 值 描述 clip 修剪文本。 ellipsis 显示省略 阅读全文
posted @ 2021-02-03 10:02 江境纣州 阅读(21) 评论(0) 推荐(0)
摘要: 本文我们将重点给出动态视图法发现数据库中缺失的索引。对于索引的调整和新建将不在本文阐述范围,后续将陆续分享相关经验。 sys.dm_db_missing_index_details 缺失索引明细,包括相等列,不等列以及包含列,执行如下脚本,并查看结果 USE WideWorldImporters;G 阅读全文
posted @ 2020-12-21 14:21 江境纣州 阅读(153) 评论(0) 推荐(0)
摘要: 我们知道,合理的索引能大幅提升性能,但冗余的索引也会降低数据库性能。随着我们业务的发展,数据库的中的表、表结构、查询的内容都有可能发生变化。这样,有的索引就可能不再使用了,需要删除(因为维护索引即浪费存储,又耗费性能);而有的表则需要修改或者增加索引。本文主要给出快速确定不再使用的索引的查找方式之一 阅读全文
posted @ 2020-12-18 19:30 江境纣州 阅读(129) 评论(0) 推荐(0)
摘要: 执行最慢的SQL语句 SELECT (total_elapsed_time / execution_count)/1000 N'平均时间ms' ,total_elapsed_time/1000 N'总花费时间ms' ,total_worker_time/1000 N'所用的CPU总时间ms' ,to 阅读全文
posted @ 2020-12-18 19:25 江境纣州 阅读(52) 评论(0) 推荐(0)
摘要: select PaidInID,count(distinct SignInstitutionName) from PI_PaidInMonthlyEmployeeExtra group by PaidInID having count(distinct SignInstitutionName) > 阅读全文
posted @ 2020-12-01 17:36 江境纣州 阅读(19) 评论(0) 推荐(0)
摘要: 一、对称性加密(要密钥) 1、Des加密:Data Encryption Standard,即数据加密标准。 2、3Des加密:Triple DES加密(DES向AES过渡的加密算法)。 3、Aes加密:高级加密标准(英语:Advanced Encryption Standard,缩写:AES) 二 阅读全文
posted @ 2020-11-27 20:14 江境纣州 阅读(39) 评论(0) 推荐(0)
摘要: /// <summary> /// B*A*C*D格式 /// </summary> /// <param name="str"></param> /// <returns></returns> static int GetLenA(string str) { // 二分法获取A为止 int min 阅读全文
posted @ 2020-11-26 15:54 江境纣州 阅读(23) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页