Sign in
xinqiu's blog for his Microsoft career
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
ADO.net Data Service
ajax
Astoria
contractor
debug
IE6
IE7
iframe
mapway
msbuild
Oversea
Pages
silverlight
SQL Server Express
target file
tester
Visual Studio 2008
visual Studio 2008 SP1
Visual Studio 2008 SP1 Beta
Visual Studio 2010
VWD Express
WCF Data Service
Windows 2003
X64
Archive
Archives
March 2010
(1)
February 2010
(2)
December 2008
(1)
November 2008
(1)
October 2008
(4)
September 2008
(4)
August 2008
(3)
May 2008
(1)
April 2008
(1)
February 2008
(1)
January 2008
(2)
June 2007
(1)
April 2007
(1)
March 2007
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
xinqiu's blog for his Microsoft career
VS2010 Add WCF Data Service Reference watch out
Posted
over 3 years ago
by
xinqiu
1
Comments
I was trying out VS2010 RC WCF Data Service Reference today, and did the following: 1. Create a web application project, build, no problem 2. Add a ADO.NET Entity Data Model, referencing to NorthWind database, build, no problem 3. Add a WCF Data Service...
xinqiu's blog for his Microsoft career
Visual Studio web forms client side script and server side script syntax difference
Posted
over 3 years ago
by
xinqiu
0
Comments
If you check the code below, you will see the client side script src does not have ~ in front of the script path. the server side (runat=”server”) script path has a ~ in front of the script path. If the server side omit the ~ , it will still...
xinqiu's blog for his Microsoft career
After a busy year, I’m back to my blog
Posted
over 3 years ago
by
xinqiu
0
Comments
I was so busy last year, that I didn’t put any new post to my own blog (But I did post a few in team’s blog). I got some time today as my internal email is down. :) Today, for the first time, I’ve to use kernel debugging to debug an application...
xinqiu's blog for his Microsoft career
Attach default code directory SQL mdf file to SQL expresss on Windows 2003
Posted
over 5 years ago
by
xinqiu
1
Comments
When following method of attaching sqlexpress mdf file from http://msdn.microsoft.com/en-us/library/ms165673.aspx , I meet an error in win2k3. The procedure is: 1. Create a ASP web application in default location 2. Create a database inside app_data...
xinqiu's blog for his Microsoft career
Need to make service project web.config file Debug=True when debugging project with file system based web service.in VS2008
Posted
over 5 years ago
by
xinqiu
1
Comments
When debugging a web page which uses a file system based web service, I met an error message in Visual Studio 2008 which troubles me for a while. Here are the steps and the solution. 1. Create a new C# file system based web site (website1) 2. Add a...
xinqiu's blog for his Microsoft career
Silverlight 2.0 Stock Quotation Demo Part 4/4: Cache the previous quoted symbols
Posted
over 5 years ago
by
xinqiu
4
Comments
The steps are: 1. Adding the following functions to the Page.xaml.cs private string m_filePath = "TestHistoryStocks.txt" ; #region "Local Cache storage" /// <summary> /// Append the current cacheString to the local storage file...
xinqiu's blog for his Microsoft career
Silverlight 2.0 Stock Quotation Demo Part 3/4: Show different color for up and down quotes
Posted
over 5 years ago
by
xinqiu
1
Comments
The steps are: 1. Change the column XAML for “Trade” to use cell template: < data : DataGridTemplateColumn Header ="Trade" Width ="80"> < data : DataGridTemplateColumn.CellTemplate > < DataTemplate > < TextBlock TextAlignment...
xinqiu's blog for his Microsoft career
Silverlight 2.0 Stock Quotation Demo Part 2/4: Basic stock quotation
Posted
over 5 years ago
by
xinqiu
1
Comments
The steps are: 1. New Project, select C#/Silverlight/SilverilghtApplication. Click OK to “Add Silverlight Application” dialog, which defaults to “Add a new ASP.NET Web project to the solution to host Silverlight”. I named the project as StockQuotesForBlog...
xinqiu's blog for his Microsoft career
Silverlight 2.0 Stock Quotation Demo Part 1/4: Basic Design
Posted
over 5 years ago
by
xinqiu
1
Comments
Here is a Silverlight demo for getting stock quotes using data grid. It also demos how to use stored cache to save all the queried symbol before. The design would like: I used Visual Studio 2008 SP1 with Silverlight 2.0 RC. For stock...
xinqiu's blog for his Microsoft career
Siverlight 2 Beta 2 Balloon shooting tutorial Part 4/4, Create Silverlight project, modify the main control Page.xaml
Posted
over 5 years ago
by
xinqiu
5
Comments
Step 5. Replace the Page.xaml control with the following XAML: < UserControl x : Class ="ShootBalloonForBlog.Page" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml...
xinqiu's blog for his Microsoft career
Siverlight 2 Beta 2 Balloon shooting tutorial Part 3/4, Create Silverlight project, add BalloonAction.cs
Posted
over 5 years ago
by
xinqiu
2
Comments
Step 4 . Add BalloonActions.cs class file with the following code: using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System...
xinqiu's blog for his Microsoft career
Siverlight 2 Beta 2 Balloon shooting tutorial Part 2/4, Create Silverlight project, add balloon user control
Posted
over 5 years ago
by
xinqiu
2
Comments
I’m using Visual Studio 2008 SP1 with Silverlight 2 Beta 2 SDK. 1. New Project, select C#/Silverlight/SilverilghtApplication, if there is any dialog asking options, select OK for default. I named the project as ShootBalloonForBlog. 2. Add a new...
xinqiu's blog for his Microsoft career
Siverlight 2 Beta 2 Balloon shooting tutorial Part 1/4, Design
Posted
over 5 years ago
by
xinqiu
2
Comments
Here’s the demo of how to write a simple silverlight game: Design: I played a computer game Monopoly before. There is a fun balloon shooting game which I’d like to design myself. The player clicks on the flying balloons and get the marks corresponding...
xinqiu's blog for his Microsoft career
A simple function to get target file property names
Posted
over 5 years ago
by
xinqiu
1
Comments
I wrote a simple function to get all property name from a msbuild target file. Such as visual studio’s Microsoft.WebApplication.targets file in direcotry of “%ProgramFiles%\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\”. It checks for possible...
xinqiu's blog for his Microsoft career
Service referencing ADO.Net Data Service
Posted
over 5 years ago
by
xinqiu
2
Comments
Visual Studio 2008 SP1 provides an easy way to reference the ADO.Net Data Service (formally code named as Astoria). ( Visual Studio 2008 SP1 and Visual Web Developer 2008 SP1 are now available for download . ) The following example uses the Astoria...
xinqiu's blog for his Microsoft career
One way of handling <iframe> redirect using a asp.net button.
Posted
over 5 years ago
by
xinqiu
2
Comments
Here is a simple way to use iframe in asp.net. In responding to a Chinese asp.net forum question, I write the following code to direct a new page to the iframe when clicking a button. Here’s the sample code I write with VS2008. <% @ Page...
xinqiu's blog for his Microsoft career
ADO.net Data Service reflection class creation in VS2008 SP1 Beta, a breaking change with CTP time
Posted
over 5 years ago
by
xinqiu
3
Comments
Visual Studio 2008 SP1 Beta is now available! You can download it here . ADO.net Data Service is included in the SP1 beta, and there is a bit difference from CTP time. Let’s follow the following procedure to create a C# website, which provides ADO...
xinqiu's blog for his Microsoft career
Problems debugging VS2008 RTM web site and applications on IE8 beta1
Posted
over 5 years ago
by
xinqiu
0
Comments
I recently have to delete one of my blog talking about VS2008 and IE8 beta, since I made some comment that may be easy to misunderstand. I will be careful this time. J If IE8 beta1 is installed on the OS, when F5, Ctrl-F5, view in browser is fired...
xinqiu's blog for his Microsoft career
Orcas Beta solution files cannot be opened by double clicking with VS2008 RTM in Vista
Posted
over 5 years ago
by
xinqiu
1
Comments
Some of my project files were created with Orcas Beta, which cannot be opened by double clicking in Vista with VS2008 RTM. This is a known issue in VS2008, and is probably not going to be fixed. The work around is very simple. If you change...
xinqiu's blog for his Microsoft career
How to give a crash or hang dump for Visual Web Developer Express
Posted
over 5 years ago
by
xinqiu
0
Comments
1. Generate dump file for hanged application: Option1 : If you are using vista, you can simple open task manager, go to process tab, right click the hanged process and select create dump file. Option2 : Use Visual Studio 2008(You can download a...
xinqiu's blog for his Microsoft career
Visual Studio 2008 FTP remote creation problem in Windows 2003 x64 64位视窗2003中通过VS2008生成FTP网站的问题。
Posted
over 5 years ago
by
xinqiu
1
Comments
Visual Studio 2008 had RTM in November 2007. During the test, we found a problem when creating FTP site on Windows 2003 X64 host machine. The repro step is: 1. In host machine create ftp virtual directory test1 (Read and Write access), and a http...
xinqiu's blog for his Microsoft career
Oversea Test Contractors, 海外合同测试人员
Posted
over 6 years ago
by
xinqiu
1
Comments
Summer comes! There are much more activities in the group during the summer, movies, lunch, dinner, picnic, and the upcoming company-wide picnic. But at the same time, the work load remains heavy. J Our group contracts some testing work out to a...
xinqiu's blog for his Microsoft career
China Business Day中国商业日
Posted
over 6 years ago
by
xinqiu
1
Comments
Microsoft hosted internal China Business Day in Redmond Campus on April 6th, 2007. I spent couple hours listening to the show. Here are some my person opinions: 1. China Market is still booming quickly and more drastic actions need to be taken by...
xinqiu's blog for his Microsoft career
find out a network drive’s remote network name in VB,用VB找到网络硬盘的网络名称的一种另类方法
Posted
over 6 years ago
by
xinqiu
0
Comments
One workaround way to find out a network drive’s remote network name in VB, that’s because I have such a little time to find the proper way for the test case… 用 VB 找到网络硬盘的网络 名称 的一种另类方法,因为我没有时间去为一个测试程序找正确的方法 : System.IO.File.Delete( "c:\a.txt" )...
xinqiu's blog for his Microsoft career
A little about myself 关于我自己
Posted
over 6 years ago
by
xinqiu
0
Comments
My name is Xin. I joined the Visual Studio Web Development team as SDET in December 2006. I have worked as software designer in Canada and China for over 10 years before joining Microsoft. Why do I choose an entry level position here? I’ve thought...
Page 1 of 1 (25 items)