Best ever Open Source tools and applications for web developers

6. June 2009
1. Aptana The Aptana IDE is a free, open-source, cross-platform, JavaScript-focused development environment for building Ajax applications. It features code assist on JavaScript, HTML, and CSS languages, FTP/SFTP support and a JavaScript debugger to troubleshoot your code. More about Aptana 2. Eclipse Eclipse is an open-source software framew... [More]

Tech News, Better Coding

Custom design for Parent-Child style of defining pages in blogengine.net

26. March 2009
When we create child pages in blogengine.net page title now showing in intended form i check it in PageList.cs control file located in App_Code\Controls and used inner controls from admin area. Create a copy of your file (PageList.cs) as backup and copy below code in PageList.cs file. #region Using using System; using System.Web; ... [More]

Better Coding

List of the top 25 classes of programming flaws

24. February 2009
A consortium of government, industry, and academic software security expert has produced a list of the top 25 software development syndromes that lead to security vulnerabilities. If you have ever developed code that is used by more than a handful of people you have heard of the vast majority of the problems, including the infamous “Code Injection”... [More]

Better Coding

Simple Open Source Logging Framework for .Net

30. May 2008
There is a new simplified open source logging framework in the block for .Net developers. Here is the link for your review: Live Labs Logging  Do let me know if its of any help!

Better Coding

Free tool to analyze your C# code to produce elegant, consistent code - Microsoft Source Analysis

27. May 2008
Here is a new tool from Microsoft called "Source Analysis" that perfoms its analysis on source code directly, unlike FxCop which only works on binaries. The ultimate goal of Source Analysis is to allow you to produce elegant, consistent code that your team members and others who view your code will find highly readable. In ... [More]

Better Coding

Difference between "?" and "??" operators in C#

12. May 2008
Conventional Code:    string f(string inputString)     {         if (inputString != null)             return inputString;         else        &nb... [More]

Better Coding

Design Patterns Book - Gang of Four - 23 Design Patterns

13. February 2008
Here is the book that can be used as a reference library of the recognized 23 design patterns as well as some principles of object-oriented programming.   Download (Right Click and Save)   

Better Coding ,

Regular expressions - A Simple Tutorial

13. February 2008
Regular expressions are a very powerful tool to validate, and find/replace, substrings inside text. They enable you to define very complex patterns, and their processing can be much faster than working with the String class's Replace, Substring, IndexOf, and the other basic methods. The following tables summarize the most frequently used syn... [More]

Better Coding, Technology

Avoid using DataBinder.Eval for better performance

13. February 2008
The DataBinder.Eval method uses reflection to evaluate the arguments that are passed in and to return the results. Consider to limit the use of DataBinder.Eval during data binding operations to improve ASP.NET page performance. Consider the following ItemTemplate element DataBinder.Eval. <ItemTemplate>  <tr> ... [More]

ASP.NET, Better Coding, Tips n Tricks

Difference between UriBuilder.ToString and UriBuilder.Uri.ToString

2. January 2008
UriBuilder.ToString - The resulting string always contains port, even if it is the default port. For example - http://localhost:80/wiktips UriBuilder.Uri.ToString - The resulting string only contains the port if it is not the default port for the scheme. For example - http://localhost/wiktips Therefore, in most of the cases UriBuilder... [More]

Tips n Tricks, Better Coding

Using Path.Combine instead of String concatination

7. December 2007
Many times there is a need to get an absolute file name from a given directory and a fileName. One way for developers to do this is simply string concatenation. A lot of devs do this because it appears so simple. But the problem is that when passing in the directory as a string, you often don't know if it will end with a final sl... [More]

Tips n Tricks, Better Coding

StringBuilder is not always faster

4. October 2007
How often have you been told to use StringBuilder to concatenate strings in .NET? My guess is often enough. Here is something you may not know about string concatenation: StringBuilder is not always faster. There are already many articles out there that explain the why’s, I am not going to do that here. But I do have some test data for you.... [More]

Better Coding

Asynchronous Programming in ASP.NET

27. August 2007
Do you want to know a secret? A deep, dark, dirty secret? One that, if revealed, would cause great angst in the ASP.NET community and prompt shouts of "Aha!" from the anti-Microsoft crowd? Most Web sites I've seen built with ASP.NET aren't very scalable, not because of a flaw in ASP.NET, but because of how the technology is... [More]

ASP.NET, Better Coding

Understanding Simple Factory Method

16. August 2007
Let’s say you have a pizza shop, and as a cutting-edge pizza store owner, you might end up writing some code like this: But you need more than one type of pizza… So then you will add some code that determines the appropriate type of pizza and then goes about making the pizza: But the pressure is on to a... [More]

Better Coding , ,