‘<name>’ is ambiguous in the namespace

There are times where this error appears in our web application, without a specific reason. ‘<name>’ is ambiguous in the namespace ‘<namespace>’ This error has the following error code Error ID: BC30560.

Avoiding the ‘A potentially dangerous Request.Form value was detected’

This is a common error that ASP.NET developers have run into many times. We will see in this article a few ways on how to avoid it, both in Web Forms and MVC.

Export gridview or repeater to Excel

In this article we will see how we can use the GridView control for this task. This approach still limits us to use a GridView, so after that we will see how we can make a Repeater (or any other control) that renders an HTML table to an excel file.

Clearing HTML tags and MS Word tags from text

It’s a pretty common need for web developers to get the plain text from HTML text. Also, there are cases where users paste text from MS Word. In this article I will post a few simple functions that help me manipulate text that contains HTML and MS Word tags.

ASP.NET and Ajax. All about update panels, web methods, page methods and jQuery

In this article, we will discuss what ASP.NET offers and a few tips on how to use them. Finally we will leave ASP.NET and see how we can achieve the same functionality with jQuery.

Handling server errors in asp.net

When we have a web application in production, there are times where some things go wrong and we have errors. By default we will get the “Yellow Screen of Death”. When the application runs in localhost, a lot of information comes up that is useful to find and squash the bug. But when our application [...]

Detecting Client’s IP Address

It’s pretty common the need for a web application to be able to detect the I.P. address of a client. The I.P. address could be used either for statistic or authentication purposes. Knowing the IP address you could easily get information about the location of the client. Using Max Mind’s GeoIP Country and GeoIP City [...]

Handling redirections, missing pages and server errors in asp.net

In this article we talk about the different HTTP status code and which of them are important SEO-wise. We also talk about a few features of the ASP.NET engine, so that we can make our website more SEO friendly by providing correct HTTP status codes to the search engines.