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 … [Continue reading]
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, … [Continue reading]
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 … [Continue reading]
Handling redirections, missing pages and server errors in asp.net
In a CMS application it is really common for each authors to add, move and delete pages. In a busy and popular website this can happen really often and it could have a negative effect on how search engines crawl and index your site. It is important … [Continue reading]
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 … [Continue reading]
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 … [Continue reading]
ASP.NET: jQuery and ClientID
Every ASP.NET control has the ID property, which is not the HTML id attribute. The HTML id attribute is automatically generated by the ASP.NET engine. Since javascript has become a must-use tool, this behavior in ASP.NET can cause some hassle to the … [Continue reading]
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 … [Continue reading]
- « Previous Page
- 1
- …
- 4
- 5
- 6
- 7
- 8
- Next Page »