Test .NET library using PowerShell and Visual Studio Debugger

Often times, when a developer builds a C# library, there is always a need for unit testing it. If your company already has strictly guidelines on how to enforce unit testing before any code is checked in, you might want to read the policy procedure about how to do it. Visual Studio Team System 2008…


ASP.NET AJAX Control Toolkit example

There are situations where you don’t want user to click on a button twice too fast or on a checkbox when the server is still processing. One quick trick is to use “this.Button1.Attributes.Add(“onclick”, “this.disabled=true;”);” to disable the button right after user clicks on it. ASP.NET AJAX Control Toolkit has a rich set of controls that allow…

1

Common Tasks in Developing ASP.NET Application

I mentioned developing an ASP.NET website in the first blog. ASP.NET is a sophisticated architecture that often confuses developers, especially which event fires first could be difficult to expect. You should understand ASP.NET Page Life Cycle before you start dragging WebControl to the page. Task 1: Impersonation Often times, you need to impersonate as a…

1