[Windows Phone]Data Binding

First, define a Class People: Xaml elements are going to bind with object of People. Then, Create an instance in the Windows Page's construction method: Now, with the last line of code:     this.stackPanel.DataContext = myData; myData object is now binding with elements

[Windows Phone]Update Message to Live Tiles

Properties of Tiles So, why do we have to the Back_*** things? Every Tile has two sides, front side and back side. If we specify the back site tile,Live tile will rolling over and back every few seconds. Key code to update tile info Referenceshttp://msdn.microsoft.com/en-us/library/hh20294... [More]

[Windows Phone]Get Start WP7 development

Recently, I was start learning WP7 development. Here are some useful information I found, list here, for you and also for myself: MSDN documenthttp://msdn.microsoft.com/en-us/library/ff402535(VS.92).aspx Phone sample code:http://msdn.microsoft.com/en-us/library/ff431744(v=vs.92).aspx Phone Jump... [More]

[DotNet] Dip into Lambda Expression in C#

"lambda expressions are just delegates (or type-safe "function pointers"). They only look as they are because some assumptions are taken (like a lambda expression are functions and therefore always returns a value) and the types can be automatically fetched by the compiler. The nice side effect is t... [More]

[Web]Javascript and Regular expression

A useful article on Javascript Regular expression usagehttp://www.learn-javascript-tutorial.com/RegularExpressions.cfm ---------------------------------   Getting Started Regular expressions are used to do sophisticated pattern matching, which can often be helpful in form validation. For ex... [More]

[Web]C# and JSON

  JQuery Parse JSON        var obj = $.parseJSON(data);   C# creates JSON string:        public static class JSONHelper     {         pu... [More]

[ASPNET4]Problem Solved: CSS file cannot be accessed

Every several weeks I was haunted by this annoying problem and waste my life for hours!!! This time, I am gonna file it down for future and also others. Symptom: Site.css file under "Styles" folder cannot be accessedAnd, page will be appeared like this: Even after the following code have been a... [More]

[Office365]Office365 will MAKE IT by doing the following 2 steps

Step No.1: Microsoft should buy or setup a Domain Name Registration Company. With such a company, Microsoft can provide every Office365 customers a free domain name. Now the Office 365 setup process would be extremely simple: 1. Input a valid domain name2. Pay it. Ok, everything is done. Domain... [More]

[PowerShell] PowerShell and Office 365

Install and configure the Microsoft Online Services Module for Windows PowerShell 1. Check the requirement for your environment You need a Windows 7 or Windows Server 2008 R2 computer.You must have Windows PowerShell and the .NET Framework 3.5.1 installed. You must have the Microsoft Online Servic... [More]

[Remarks]Microsoft Need a Change

Rumors said that Windows 8 is a compromise result of PC and Panel team, no wander, the DP version looks weird. Microsoft had a chance to rebuild its phone system. It is now called Windows Phone 7. But, it is not a successful product. Now, this time, Microsoft wants to build its new windows base on... [More]