代码改变世界

SQL scripts

2015-11-09 04:48 by zhangpengc, 383 阅读, 0 推荐, 收藏, 编辑
摘要:Add a column with default current date timeALTER TABLE [TableName]ADD CreatedOn DATETIME NOT NULL DEFAULT(GETDATE()); How to Quickly Create a Copy of 阅读全文

Adding Swagger to Web API project

2015-11-08 23:37 by zhangpengc, 406 阅读, 0 推荐, 收藏, 编辑
摘要:Adding Swagger to Web API project.All source code for this series can be foundhere.When you create a new ASP.NET Web API project, a nuget package call... 阅读全文

Unable to get setting value Parameter name: profileName

2015-11-08 21:17 by zhangpengc, 892 阅读, 0 推荐, 收藏, 编辑
摘要:Today when I am building my application, everything works well but when I try to run Azure Worker Role (Azure SDK 2.7) locally it gives the following ... 阅读全文

Azure Reserved IP

2015-11-08 03:18 by zhangpengc, 313 阅读, 0 推荐, 收藏, 编辑
摘要:Azure PowerShell > Add-AzureAccount> Select-AzureSubscription "SubscriptionName"> New-AzureReservedIP -ReservedIPName "projectname-development-ip" -La 阅读全文

Azure Remote Desktop: "An error occurred while loading from file *.rdp"

2015-11-08 03:12 by zhangpengc, 453 阅读, 0 推荐, 收藏, 编辑
摘要:Tonight I deployed a new cloud service where I needed remote desktop to check on some things. After opening the connection via the Azure Management Po... 阅读全文

StyleCop

2015-11-05 16:49 by zhangpengc, 723 阅读, 0 推荐, 收藏, 编辑
摘要:1. Install StyleCop-4.7.49.0.msihttps://stylecop.codeplex.com/2. Run StyleCop/Run StyleCop (Rescan All)3. WarningsCSharp.Ordering: All using directive... 阅读全文

Install .NET Framework 4.5.2 on a Cloud Service Role

2015-11-04 23:56 by zhangpengc, 245 阅读, 0 推荐, 收藏, 编辑
摘要:October Guest OS rollout is starting today October 15 2015, and projected to be released onNovember 13 2015.Azure Guest OS Releases and SDK Compatibil... 阅读全文

.Net Framework 4.5.2 on Windows 10

2015-11-03 19:11 by zhangpengc, 720 阅读, 1 推荐, 收藏, 编辑
摘要:I was using Visual Studio 2013 to create a new solution, could not select ".NET Framework 4.5.2" :(So I click on Install Other Frameworks. Visual Stud... 阅读全文

SHA-2 Certificate Signing Request

2015-10-23 15:52 by zhangpengc, 903 阅读, 0 推荐, 收藏, 编辑
摘要:To request an SSL certificate is now a SHA-2 Certificate Signing Request (CSR) is required.Using the MMC on a server environment or the certificate ma... 阅读全文

Fix the “No Private Key” Error Message

2015-10-22 23:41 by zhangpengc, 668 阅读, 0 推荐, 收藏, 编辑
摘要:This article will show you how to correct the “No Private Key” error message in Windows Internet Information Server (IIS).If you receive this error,it... 阅读全文