Category: App Development
Dev Drive and Dotnet Tools
I recently tried out Dev Drive of Windows 11, where a ReFS partition can be created for your code and packages. It went smoothly and most of my projects were built successfully until it came to my…
Delegating authentication in ASP.NET 5 (or Core 3)
Most web applications nowadays need some authentication mechanism to differentiate their users for various levels of personalization. However, user authentication tends to get more sophisticated due…
Javascript Module Loaders
Javascript has a long history with so many changes over the years. One area that has so much improvements yet might still be so confusing is its support for modularization. This blog post discusses a…
React & ASP.NET Core
Update 08 Sep 2019: since Microsoft has officially announce the deprecation of aspnet-webpack package in .NET Core 3.0, you might not want to use the code in this blog post directly in production.…
What I've learned moving from Azure WebJobs to Azure Function Apps
Updated: some previous of the content in this post is no longer applicable when you upgrade Microsoft.NET.Sdk.Functions to version 1.0.26, so I have added some notes and sections on that.
The curious case of missing Authorization header
I have been wasting time on a small issue adding Authorization header into HttpClient.
How to integrate Teamcity and GitLab CI
I note down the step I did to integrate TeamCity build server and GitLab CI pipeline. I am using TeamCity 2017.1.15 and GitLab 10.0.3. What you will get with this integration: Small green tick for…
Building a small running bot with Windows 10 on a Raspberry Pi 2
I won a Raspberry Pi B+ from a Microsoft event, so I took some time to learn about the Pi to understand more about all the fuzz around IoT. The experience I had is very fun and excited. I study and…
Beta8 and the new hosting model
In ASP.NET6 beta8, Helios (IIS native host) has been removed. Instead you can use Kestrel host and configure IIS server to talk to the host. This hosting model should be very familiar with people…
CompositeTransform3D in Windows 10
I believe this has been mentioned in several blog posts (such as this one), but I missed one important part, and it took me almost an hour to figure out why my CompositeTransform3D does not give a…
Kinect on Windows v2 keeps restarting
I have been playing with the Kinect for Windows v2 for a while, but I met a strange problem in the recent months: the Kinect kept restarting after 5 or 6 seconds. The RBG and depth channel looked…
First take on MongoDB
Recently, I have looked around for a good NoSQL database for my new project. I have been using MSSQL for a while but there seems to be more and more complexity as the data models are no longer…
Python in Visual Studio
Visual Studio is a pretty capable IDE for writing Python. In this post, I am writing down some simple first steps to enable Python support in Visual Studio, and some benefits that you can get from…
How to access current logged in user information outside of Drupal
If you are writing PHP code in Drupal and would like to access basic user information (e.g. UID, username), you can simply define the global variable $user and get the data from there: However, it…
Rethink database design with Microsoft Azure
I am definitely not a database expert, so what I am writing here is only from my experience migrating all my applications to Microsoft Azure. If you think that I am doing something wrong or you know…
Some mid-night thought from the TechEd keynote
It is almost morning, but TechEd is so much exciting, so I cannot go to bed yet. Besides that, Visual Studio Update 2 is also installing so I cannot write codes either. So I will jot down all the…
Passing Async Task functions as a parameter
Some Motivations If you have programmed Windows Phone or Windows Store apps, you may know about Dispatcher in Windows Phone or CoreDispatcher in Windows Store. In this article I will focus more on…
Windows.Launch contract failed with error: The app didn't start
I recently met a problem with my Windows 8 app, when only the splash screen’s image showed up and the app crashed. Even App object is not initialized yet so there’s not much I can do with the…
SignalR, camel case and a lost of connection problem
Today I went into a problem trying to configure SignalR to automatically serialize my data contracts in camel cases. Having done that once for Web API, I knew that it can be done easily by changing…
Async void is not the only way to fire and forget
I have developed several apps for Windows 8 and Windows Phone 8, and I am always amazed my one new feature that was introduced to the C# compiler: async and await. If you are not familiar with the…
How searching has changed in Windows 8.1
There have been many welcome changes from Windows 8.0 in Windows 8.1, both in the users and developers’ perspective. However, I believe not all of those changes are really improving the user…
What to do to make a responsive and Windows-integrated website on Windows 8.0 and 8.1
IE10 in Windows 8.0 has many nice features that help your website to look more like an app and also function better on touch screen devices. IE11 in Windows 8.1 improve those feature even further.
Commands with Entity Framework’s migration
Supporting for Code-First and Code First Migration are two of many useful features Entity Framework provides us with. However, as far as I know, using Code First Migration still requires us to open…
Windows Store Protocol to check for app updates
If you have used a Nokia Lumia phone, you may already see how Nokia forces the users to update their apps. They put the blank page with a background image and an Update button right after the splash…
DEP0700: Registration of the app failed. Another user has already installed a packaged version of this app.
If you are developing Windows Store apps and you have multiple accounts on your laptops or PCs, you may be familiar with this problem. This happens when you try to install or deploy an app on your…
What we have learnt during the development of Speak Reminder and Group Tiles
So it's been a while since we published Group Tiles and Speak Reminder to the Windows Phone Store. In case you did not know, Group Tiles is an app to create header tiles on the Start Screen to…
Windows Store certification, and Privacy Policy again
I think I have seen many different posts on this already. People keeps reminding others about putting a Privacy Policy page if you app happens to connect to the Internet.