Community made a great job this month. Microsoft MVPs have localized Team System Web Access (TSWA) into 7 new languages. With support of Microsoft Turkey, Hakan Eskici (TSWA Program Manager), Tufan Erdinc, we have built the Turkish language pack. The full list of language packs are below. Turkish, done by Cengiz Han, Okan Tekeli and me Croatian, done by Ognjen...
RSS feeds are widely used in today’s internet world. Thus we, developers, have to implement it on our websites and projects most of the time. There are many free and paid components that generates RSS feeds but in fact you may generate it by yourself as well. I will post a generic handler’s source code to show you how to...
Since there are different ways of global error handling in ASP.NET applications and you have to implement the one that best fits into your project’s architecture, I will not be discussing all the possibilities that ASP.NET provides you. However, I will just share a small code snippet that you can use to catch unhandled exceptions and write a small piece...
Web Image Maker is an open source and pretty useful Image Maker control by Tom Crane. Feel free to give it a try as I can confirm that it works pretty fine. Read more and download the code at http://www.theguildnetwork.com/tgn/articles/imageControl_page1.aspx
This is something we need very often. Either for security reasons or just because of some business rules. I will share a small code snippet with you as an extension method to string type so you can take advantages of using Regular Expressions to remove HTML tags from any user input. public static string StripHtml(this string value) { if (string.IsNullOrEmpty(value))...
BuildManager is a class located in System.Web.Compilation namespace and contains a method named CreateInstanceFromVirtualPath. Using this static method, you may create instances of your UserControl, Page, Generic Handler or those kind of stuff. This might be useful in case you need to create some controls on the fly, etc. The following piece of code shows how to use it. UserControl...
When I used to use PHP to develop my web applications, I really loved its basic but useful method named ucfirst. This function is explained using a simple explanation on PHP documentation: ucfirst — Make a string’s first character uppercase I believe within all those useful and complex libraries taking place in .NET Framework, it still misses these kind of...