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 […]
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.
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 […]
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 […]
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
An often requirement in a CMS is the user to be able to backup the database of its CMS installation. If you are using MS Sql Server there is a simple command that creates a .bak file of your database. BACKUP DATABASE [mydb] TO DISK = N'<bak_file_path>’ Restoring the database is also simple with the […]
Modern browsers now provide a set of Developer Tools so that a web developer can use when viewing or making a web page. Currently, all browsers have these tools built in. With these you can inspect the DOM, see which css properties are applied in every element, and you can also edit and add new […]