11 2018 档案
摘要:sonarqube的扫描结果提示 https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/creating-and-throwing-exceptions https://stackoverflow.co
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices
阅读全文
摘要:https://developercommunity.visualstudio.com/content/problem/378265/filecopy-did-not-throw-the-correct-exception.html path too long
阅读全文
摘要:https://andrewlock.net/creating-parameterised-tests-in-xunit-with-inlinedata-classdata-and-memberdata/ MemberData 让测试类继承VersionList
阅读全文
摘要:1.https://xunit.github.io/docs/capturing-output 里面似乎提到2个方法,第二个方法还需要在配置文件中添加appSetting 这里采用第一种方法, 1.添加一个新的字段,并且通过构造函数初始化,这里的构造函数照着写就可以,不需要手动调用构造函数来传值 2
阅读全文
摘要:https://xunit.github.io/docs/getting-started-desktop.html In this article, we will demonstrate getting started with xUnit.net, showing you how to writ
阅读全文
摘要:搜索文档的技巧 在confluence中进行搜索的时候,也需要使用通配符。比如搜索cmscontext,需要这么搜索cmscontex*,如果搜索的话,cmscontext.geturl是会被过滤掉的。标点被截断 https://confluence.atlassian.com/conf66/con
阅读全文
摘要:It's likely that you linked some assemblies that are not Any CPU, but include native code (or are compiled as x86), which cause the entire process to
阅读全文
摘要:How to See if Process is 32-bit or 64-bit in Windows 10 OPTION ONE To See if Process is 32-bit or 64-bit in Processes tab in Task Manager 1 Open Task
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.registryview?view=netframework-4.7 On the 64-bit version of Windows, portions of the regis
阅读全文
摘要:https://stackoverflow.com/a/41200059/3782855 https://github.com/304NotModified/Fody.Stamp .NET Revision Task for MSBuild https://stackoverflow.com/a/5
阅读全文
摘要:IsReference property in data contract It determines how objects are serialized, by default, IsReference=false. Setting IsReference = true allows the s
阅读全文
摘要:https://docs.kentico.com/k11/custom-development/user-internals-and-api/checking-permissions-using-the-api 在page load的时候,检查权限,如果没权限,就403终止
阅读全文
摘要:创建表以及主键 判断表是否存在 OBJECT_ID 判断主键是否存在 SELECT 1 FROM sys.indexes WHERE name = N'PK_LISA_NoUseWebpartReplacement' AND object_id = OBJECT_ID(N'[dbo].[LISA_N
阅读全文
摘要:https://sqlserver.dev129.com/2018/01/29/string-interpolation-in-t-sql/ Most programming languages have the ability to interpolate formatted strings. F
阅读全文
摘要:https://www.c-sharpcorner.com/article/how-to-import-excel-data-in-sql-server-2014/ 需要注意的是,第一次是选择source【excel】 第二次是选择target【sql server】 'Microsoft.ACE.
阅读全文
摘要:https://stackoverflow.com/questions/26577464/how-to-find-a-table-in-sql-server-if-only-the-partial-table-name-is-known Using SSMS Object Explorer, rig
阅读全文
摘要:Page_PreInit & OnPreInit - whats the difference? https://forums.asp.net/t/1095903.aspx?Page_PreInit+OnPreInit+whats+the+difference+ The Page_PreInit m
阅读全文
摘要:查找了一下kentico内部使用相关控件的代码,发现有2种方式,可以达到效果。 在我们自己的css class定义的地方,在class前面加上.cms-bootstrap 在我们自己的css class定义的地方,在class前面加上.cms-bootstrap 示例 使用kentico内置的wid
阅读全文