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 […]
If PHP Were British
When Rasmus Lerdorf first put PHP together, he – quite sensibly, despite his heritage – chose not to write it in Greenlandic or Danish. Good job too – that would have been rather unpleasant to work with. He opted instead, being in Canada at the time, for the local tongue. No, not French – that […]
Creating thumbnails from JPG images with .NET
The .NET framework has the System.Drawing namespace which allows the developer to create and/or manipulate image files programmatically. A common and popular action that a developer might need is to create a thumbnail of an image. The framework has a built-in method for creating thumbnails, the Image.GetThumbnailImage method. As you can read the method checks […]
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.
Export data to excel for non-latin characters
A common feature in applications is to export data in excel. With .NET it is pretty simple with the use of the Microsoft Excel Object Library. Sadly, in asp.net this is not available in medium trust. The alternative in a web application is to render the data in a HTML table and send it to […]
Detecting bots and mobile devices in asp.net
There are a lot of different entities crawling around your web applications in the wild, including web browsers, web crawlers, web spiders, web bots, and automated scripts. Determining the difference between a regular user visiting your site and an automated web bot can help aid you with more accurately recording statistics, customizing content, and optimizing […]
ASP.NET: jQuery and ClientID
What if Visual Studio had Achievements?
What if Visual Studio supported achievements, just like games on Steam, Xbox or PS3? Bragging to your coworkers about which one you’ve just unlocked, imagine that! Here’s a little proposed list for some of them. .NET / C# flavored, of course
- « Previous Page
- Next Page »