In case you haven’t already found out, every application will fail sooner rather than later. The question is not how you can code the perfect application that will never break. The question is how you can code an application that will make it easier to find and solve problems in the future. Besides showing an […]

Continue reading >>

The .NET Framework 3.5, which was released in 2007, introduced the concept of Extension Methods. Extension methods allow us to add new methods to an existing class, without having to make any changes to the class or having to inherit from the class. Extension methods allowed Microsoft developers to add a lot more functionality to […]

Continue reading >>

The .NET Framework organizes classes (types) in two different levels: namespaces and assemblies. We’ll take a look at the differences between both of them in this post.

Continue reading >>

So you have installed SQL Server on your server. Or maybe you installed SQL Server Express when we installed Visual Studio Express. Your next step is to create a test web page that queries a database to test your new SQL Server and when you try to execute your code, you get an exception with […]

Continue reading >>

In web pages, it’s very common to arrange data in a tabular way. It makes it easier to read it and interpret it. It’s no surprising that data in databases is represented in tables and that spreadsheets have columns and rows. The GridView control in ASP.NET allows us to dynamically create tables to represent data in a web page. […]

Continue reading >>

JavaScript offers some functions that we can use to display modal popup boxes, such as alert() and confirm(). But in modern applications, this type of dialogs doesn’t have a place anymore. The technique of using HTML div to “simulate” a dialog is a very popular choice. The ASP.NET AJAX Control Toolkit offers an extender that […]

Continue reading >>

In some web applications that show sensitive data, such as online banking, we want to “time out” the user’s session after a certain amount to time. For instance, we might want to log out the user automatically and redirect the user to the home page. This is an important security feature, but at the same […]

Continue reading >>

In web development, there are occasions when we want to redirect the browser to another page without any interaction from the user. For instance, we might want to display the current page for 5 seconds and then automatically redirect to another page. This could be done with the Refresh meta tag. But what if we […]

Continue reading >>

ASP.NET AJAX is a simple way of creating pages that are more interactive and make use of AJAX technology without having to create new controls. But it’s not always possible to generate the behavior we want with just code on the server side. In many occasions we have to write our own JavaScript code. ASP.NET AJAX also puts at our disposition JavaScript functions. One of them is $get().

Continue reading >>

In the last post, we saw a little bit of ASP.NET AJAX in action. In this post, we’ll introduce a set of controls that use ASP.NET AJAX to help us build interactive pages without having to worry about the details of AJAX.

Continue reading >>