New ARM Templates: To assist O365 Addin Development & Testing

I’ve created 2x new ARM templates to assist with the development and testing of O365 Addins. These are now available on the public Azure quickstarts github repository: https://github.com/Azure/azure-quickstart-templates/ As per the O365 Addin Store validation policy 4.12, your add-in must run in both version of Office (2013 and 2016): https://msdn.microsoft.com/en-us/library/office/jj220035.aspx. This can be an issue…


Microsoft Data Science Virtual Machine for Windows and Linux now available

    The Microsoft Data Science Virtual Machine is an Azure virtual machine (VM) image pre-installed and configured with several popular tools that are commonly used for data analytics and machine learning. The tools included are: Microsoft R Server Developer Edition Anaconda Python distribution Juypter Notebooks IDLE Azure Machine Learning Cortana Sample Gallery Microsoft Azure…


ASP.NET In-Proc Session State vs Out-Proc Session State

Recently we faced a scenario, where a piece of code in ASP.NET MVC application works fine in local development machine and same code fails to work in test environment. The code is pretty simple and can’t behave odd in test environment. During the troubleshoot process, we have decided to use in-proc session state in test environment…


Announcing TypeScript 2.0 RC

TypeScript 2.0 is almost out, and today we’re happy to show just how close we are with our release candidate! If you haven’t used TypeScript yet, check out the intro tutorial on our website to get started. To start using the RC now, you can download TypeScript 2.0 RC for Visual Studio 2015 (which requires…


10 great ways to rock back-to-school with Microsoft

It’s back-to-school time again in many parts of the world, and educators are busy getting organised. Below are some new and favorite technology features we offer educators to help make teaching easier and spark student learning, and many are part of Office 365 Education, which is free for students and teachers.


10 great ways to rock back-to-school with Microsoft

It’s back-to-school time again in many parts of the world, and educators are busy getting organised. Below are some new and favorite technology features we offer educators to help make teaching easier and spark student learning, and many are part of Office 365 Education, which is free for students and teachers.


Delete large amount of data from a table

刪除大量資料作法 Method 1 若刪除完成之後留下的資料較多的話(例如要刪除1/3的資料),就用WHILE DELETE top語法來刪除  declare @n int  while 1=1  begin  DELETE top(2000)  FROM dbo.BigTable  WHERE time <= ‘2013-09-03 22:00:00.000’  OPTION(MAXDOP 1) — 可考慮是否只使用一個CPU來執行刪除動作  set @n=@@ROWCOUNT  if @n<2000  break  end Method 2 若留下的資料比較少(例如要刪除2/3的資料或更多的資料),就可以考慮INSERT INTO再TRUNCATE或INSERT INTO再RENAME INSERT INTO and TRUNCATE 1.將要保留的資料INSERT INTO到dbo.Temp_BigTable SELECT * INTO dbo.Temp_BigTable FROM dbo.Temp_BigTable WHERE Date < ‘2015/1/1’; 2.清空dbo.Temp_BigTable TRUNCATE TABLE…


Setup detected an issue during the operation. Please click below to check for a solution and help us to improve the setup experience.

Visual Studio 2015 setup crashes with the following error after the splash screen is shown: “Setup detected an issue during the operation. Please click below to check for a solution and help us to improve the setup experience.” After reviewing the Setup failure log dd_vs_****_201*******.log, I found the below failure stack: [22C4:0820][2016-08-10T14:11:05]e000: MUX:  ERROR: The…


Implicit managed properties in SharePoint and SharePoint Online

Frequently Asked Questions Why are some managed properties in the SharePoint search schema displaying as disabled or gray? In SharePoint Online and SharePoint Server 2016, site columns that contain values automatically become managed properties when they are crawled. This saves you time. In the Search schema, these automatically generated managed properties are indicated by gray…