[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]

[WF4]Rehost Designer With Visual Tracking

This Designer is detailed explained in the last chapter of Book<Microsoft Windows Workflow Foundation 4.0 Cookbook>Download source code here: MyWF4Designer.zip (962.07 kb) Note:This sample I create for personl test only, and may keep changing in the future, since some dlls are borrowed from ... [More]

[WF4]Try Catch activity in code

Use Try Catch activity in the pure C# way. First, Create a workflow with Try-Catch in pure C# code: using System; using System.Activities; using System.Activities.Statements; namespace ErrorHandling {     public class ErrorHandlingWorkflow... [More]

[ASPNET]ASPNET Miscellanea

1. Query String. Client URL: http://localhost:8088/TableTopic/Post.aspx?id=12345678&name=andrewzhuServer Side: public partial class Post : System.Web.UI.Page {    protected void Page_Load(object sender, EventArgs e) ... [More]

[WF4]Hands On Lab: Introduction to Windows Workflow Foundation (WF4)

Here is THE LINK: http://visualstudiogallery.msdn.microsoft.com/7fe6f504-a58d-456e-8f55-e64bddc81a41/ Description: Welcome to Windows Workflow Foundation 4 (WF) Microsoft's programming model, engine and tools for quickly building workflow-enabled applications. This release of WF in .NET Frame... [More]