StanleyGu's Blog
.NET Consultant C# ASP.NET SQL Server Silverlight
Sign in
|
Join
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
.NET
ADO.NET
Architect
ASP.NET 3.5
C#
Enterprise Library
IIS 7.0
Office
Silverlight 3.0
Solution
Tip
T-SQL
Visual Studio 2008
WCF
Windows Server 2008
Sponsors
advertise here
Navigation
Home
Blogs
Archives
April 2010 (3)
March 2010 (2)
February 2010 (5)
January 2010 (6)
December 2009 (8)
November 2009 (1)
January 2010 - Posts
0
Comments
Tip 9 : Windows Authentication Is Missing in IIS 7.0
by
StanleyGu
I deployed my silverlight 3.0 application to IIS 7.0 on Windows Server 2008 and could not find Windows Authentications. It is an intranet application and only corporate windows domain users are allowed to access the application, thus windows authentication...
Filed under:
IIS 7.0
,
Tip
,
Windows Server 2008
14
Comments
Tip 8 : IsDate() function in C#
by
StanleyGu
C# does not provide IsDate() function, but you can build one pretty easily: You can build other functions such as IsInteger() by using int .Parse() instead of DateTime .Parse(). Based on feedbacks from the community, I am adding an alternative using TryParse...
Filed under:
C#
,
Tip
1
Comments
Tip 7 : Invalid Directory? Use Cmd instead of Command
by
StanleyGu
At your windows xp computer, click Start , point to and click Run . then type: command and click OK . Now you are in the command prompt screen. At c:\windows, type: cd Microsoft.NET, you get an error message: Invalid directory. But if you type: dir Microsoft...
Filed under:
Tip
1
Comments
Architect 2 : Calling WCF Services in Your Data Access Layer
by
StanleyGu
After you have completed an N-tier Silverlight application (check my blog: http://weblogs.asp.net/stanleygu/archive/2009/12/20/building-n-tier-silverlight-application.aspx ), your company decides to outsource sql server database development and management...
Filed under:
Silverlight 3.0
,
ASP.NET 3.5
,
C#
,
WCF
,
Architect
0
Comments
Tip 6 : Function returning SqlDataReader Type
by
StanleyGu
I am strongly against building a function that returns SqlDataReader type because it destroys the basic purpose of building a function: decoupling or separation of concerns. For SqlDataReader, an active database connection needs be kept open across your...
Filed under:
ADO.NET
,
Tip
9
Comments
Tip 5 : The name ‘ErrorMessageLabel’ does not exist in the current context
by
StanleyGu
At Siverlight application test page, you add an ASP.NET label control: < asp : Label ID ="ErrorMessageLabel" runat ="server" ForeColor ="Red"></ asp : Label > Then, at the code behind, you put: ErrorMessageLabel.Text = "Error Occurred" ; But...
Filed under:
Silverlight 3.0
,
ASP.NET 3.5
,
Visual Studio 2008
,
Tip
More Posts