A way around page refreshes/back button problems with a simple concept
The problem: You have a form in which the user fills out and clicks a “submit” button that validates their input, does some processing and output’s some results. The problem being the application needs to cater for page refreshes, back buttons and the case of the page being submitted more than once (latency/slow internet connection). [...]
Best Coding Practices – TIP 4
Use enum’s where required. Do not use Strings or Numbers to indicate discrete values. References: http://msdn.microsoft.com/en-us/library/sbbt4032(VS.80).aspx
Best Coding Practices – TIP 3
The use of partial classes can help improve coding for the following reasons: As you can split code into seperate physical files, its easier to seperate UI and Business Logic that may belong in a single class Produces clean and organised code No performance hit… The compiler groups all partial classes into one entity during [...]
Best Coding Practices – TIP 2
When you throw an exception, use the throw keyword..do not throw the original exception. This way, the original call stack is preserved.
Best Coding Practices – TIP 1
Use // or /// for comments. Avoid using /* … */ This gives you the ability to generate XML documentation from VS.


