Archives
-
Why I Still L.O.V.E. ASP.NET WebForms
We will use the MVP pattern and the open-source project WebFormsMVP to accomplish that! [read more…]
-
Where is the bug? - C#
Below are a few lines of code written in C#. Is the code bug-free? What will this print in the console? Can you do it without VS? [read more...]
-
ASP.NET MVC - Passing a Flag Enum to an Action as Parameter
A flag Enum is an Enumeration that can hold multiple values per instance An example of such Enum is: [read more…]
-
ASP.NET MVC 3 - A RadioButtonList for Enum Properties
ASP.NET MVC3 doesn’t have a built-in RadioButtonList helper and there are times that I want to display an Enum property. I can always do that using a [read more…]
-
Detect if Firebug is enabled and deny access
Firebug is an essential tool for every web developer. It allows to do many things such as script debugging, DOM manipulation etc. What happens though when it get’s to the hand of an experienced attacker? Then it could [read more…]
-
Hope Driven Development - Are you doing it?
HDD (and it don’t mean Hard Disk Drive ☺) is intuitively a bad approach on Software Development. If someone tells you that many times is doing Hope Driven Development, only by name you might say “Oh that’s [read more…]
-
JavaScript is disabled - Should I Care?
Many times a Web Developer faces the question “This won’t work if JavaScript is disabled. Should I change it?” If it’s something simple like a read more…
-
ASP.NET MVC SubmitLink with jQuery - Using an a tag as a submit button
The easiest way to submit a form is to use the input tag with the submit type [read more…]
-
Visual Studio - A Common Replace Scenario
Visual Studio has a build in Replace function that uses Regular Expressions. Let’s consider the following scenario:
-
Creating classes in Javascript - Prototype method
Javascript is weeeell a script-based language. But over the years it has evolved a lot! So can we develop in an Object Oriented Way using javascript? [read more…]