-
Recent Posts
Recent Comments
Archives
- May 2024
- October 2023
- September 2022
- November 2021
- May 2021
- April 2021
- January 2021
- February 2020
- May 2019
- August 2018
- July 2018
- April 2018
- December 2017
- November 2017
- October 2017
- June 2017
- May 2017
- April 2017
- February 2017
- December 2016
- September 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
Categories
Meta
Author Archives: WUDI
SQL Server – <> and Null
Where with not equal <> not equal will include NULL column, so if table has null value, consider to add null check statement.
Posted in Uncategorized
Comments Off on SQL Server – <> and Null
Change Default Path for cmd.exe
Step 1 search on star menu, type ‘command’ click on ‘Open file location’. Step 2 right click on command in opened folder Now in ‘Start in’ field, put path you want.
Posted in Uncategorized
Comments Off on Change Default Path for cmd.exe
How to turn ‘Not Run Tests’ into normal test in Visual Studio
all unit tests in newly added Unit Test Project are not appeared in ‘Test Explorer’ or those unit tests are marked as “Not Run Tests” and never run it no matter how hard you pressure visual studio to run. do … Continue reading
Posted in Uncategorized
Comments Off on How to turn ‘Not Run Tests’ into normal test in Visual Studio
TypeScript Define
process.env type define add following code before `process.env.NODE_ENV` 1 2 3 4 5 6 7 declare var process : { env: { NODE_ENV: string } } process.env.NODE_ENVdeclare var process : { env: { NODE_ENV: string } } process.env.NODE_ENV define … Continue reading
Posted in Javascript
Comments Off on TypeScript Define
C# @keyword as escape of keyword
it is very common to see that C# code use @keyword such as @this to escape ‘this’ as keyword to use it like a local variable. 1 2 3 4 5 6 7 8 9 class @class { public static … Continue reading
Posted in C#
Comments Off on C# @keyword as escape of keyword
“corecrt.h”: No such file or directory
if %include% is lost, VS could not find header. add sdk C:\Program Files (x86)\Windows Kits\10\Include into %include% path to fix issue.
Posted in vc++
Comments Off on “corecrt.h”: No such file or directory
Operation Failed An exception was thrown while initializing part “NuGet.PackageManagement.VisualStudio.VSSolutionManager”. GetFullVsVersionString must be called on the UI thread.
Visual Studio 2015 update 3 could throw this exception. the way to fix it 1. open vs2015 and don’t open any project. 2. go to menu ‘Tools’ -> Nuget Package Manager -> Package Manager Setting 3. once you see dialog … Continue reading
Posted in C#
Comments Off on Operation Failed An exception was thrown while initializing part “NuGet.PackageManagement.VisualStudio.VSSolutionManager”. GetFullVsVersionString must be called on the UI thread.
PriorityQueue in C#
PriorityQueue is a binary heap. Heap is commonly used algorithm. in some area such Graph shortest path and minimum spanning tree, it is very helpful. both Java and C++ has PriorityQueue, but C# don’t have. Here is a version of … Continue reading
Posted in Algorithm
Comments Off on PriorityQueue in C#
WCF – How to publish WCF into IIS
1. copy web.config 2. copy service.svc 3. copy dll and pdb file into bin folder 4. in iis, setup a new web instance, and point physical folder address into published folder setup .net support version correctly for web instance. 5. … Continue reading
Posted in Uncategorized
Comments Off on WCF – How to publish WCF into IIS
Interface out T vs T
The out keyword in generics is used to denote that the type T in the interface is covariant. check following code. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 … Continue reading
Posted in Uncategorized
Comments Off on Interface out T vs T