A.I on the 1s and 0s

Alnur Ismail is a developer for Microsoft

Browse by Tags

All Tags » C# (RSS)
Use ExpressionBuilder To Avoid “Server tags cannot contain <% … %> constructs”
The ExpressionBuilder is still unknown to a lot of developers that haven’t experienced the sadistic pleasure of localizing a web application. It was introduce in ASP .NET 2.0 and allows you to bind values to control properties using declarative expressions...
Posted: Apr 18 2009, 12:48 PM by alnurismail | with 2 comment(s)
Filed under: ,
UI Unit Testing with WatiN - Part #1 - Introduction
There is an arsenal of tools readily available for unit testing web applications. Unit testing both the data access and business logic tiers is a common best practice and a requirement for developing complex web applications. Solutions typically contain...
Posted: Dec 12 2008, 04:04 PM by alnurismail | with 3 comment(s)
Filed under: , ,
Abstracting the RegularExpressionValidator’s ValidationExpression
The RegularExpressionValidator is one of the most useful validators that come standard with ASP .NET. The RegularExpressionValidator allows you to validate, on both client-side and server-side, whether the value of an associated input control matches...
“Yama-Hama! It's fright night!” #1
Since today is Halloween I thought I’d share a scary ghost bug story that I ran into this week. What better way to get everyone into the Halloween spirit? Background: Running a load test, using one webtest, to gauge how the application handles heavy loads...
STOP using Response.Redirect(url)
OK, I made the title a little misleading to grab your attention - I'm sneaky like that. Seriously though, there are a few things about Response.Redirect(url) that every ASP .NET developer needs to know. Using Response.Redirect() to help with site navigation...
Posted: Oct 27 2008, 09:56 AM by alnurismail | with 1 comment(s)
Filed under: ,
ASP .NET - A ValidationSummary with some style
Using the built-in ASP .NET validation controls makes validation a breeze. The controls are an easy and powerful way to validate form data client-side and server-side. If you need to display a summarized list of all the validation errors on a page you...
ASP .NET - Validators in a MultiView
A few weeks ago I needed to create a step-by-step wizard that required more functionality than the built-in Wizard control provided out of the box. I created my custom wizard by taking advantage of the MultiView control which is essentially what the Wizard...
C# - Iterating through an Enum
Today I came across a situation where iterating through an Enum would save me about 10 lines of code and some time. The quickest way is as follows: foreach (MyEnum value in Enum .GetValues( typeof (MyEnum))) { //... }
Posted: Oct 06 2008, 05:27 PM by alnurismail | with 5 comment(s)
Filed under: ,
More Posts