Tips n Tracks

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Reference

Sample image

Microsoft .NET Framework Get Details.

Sample image

Microsoft .NET Framework Get Details.

Reference

Sample image Microsoft .NET Framework Get Details.
Sample image

Microsoft .NET Framework Get Details.


Archive for August, 2008

How to Get a Free C# Command Line Compiler


How to Get a Free C# Command Line Compiler

When you buy Visual Studio 2005, you get the full-featured integrated development environment (IDE). If you don’t have Visual Studio 2005, You can also get a free C# compiler by using one of the following options:
You can get the command-line compiler (csc.exe) from Microsoft site

http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx.
Download the redistributable package of the .NET Framework, which includes the compiler and the .NET Framework with C# 2005 syntax support.


Read the rest of this entry »

C# Programming Language Introduction


C# Programming Language Introduction

Microsoft’s .NET Framework represents the most significant change in software development methodology for a Microsoft operating system since the introduction of Windows. It is built using an architecture that allows software languages to work together, sharing resources and code, to provide developers with the advanced tools necessary to build the next generation of desktop and Internet-enabled applications.


Read the rest of this entry »

ASP.NET Coding Standards and Guidelines


ASP.NET Coding Standards and Guidelines

1. Prefix user control names with “uc”

2. The rest of the user control name should be in Pascal Casing (Ex. ucMyUserControl)

3. Do not use session variables throughout the code. Use session variables only within the classes and expose methods to access the value stored in the session variables.

4. Do not store large objects in session, it may consume lot of server memory depending on the number of users.


Read the rest of this entry »

Database Coding Standards and Guidelines


Database Coding Standards and Guidelines

1. ANSI SQL 92 standards have to be followed for writing queries.

2. Do not put order by clause in the query unless required.

3. Do not encapsulate readonly database operations in transactions.

4. Use a stored procedure with output parameters instead of single record SELECT statements when retrieving one row of data.

5. Stored procedure execution is fast when we pass parameters by position (the order in which the parameters are declared in the stored procedure) rather then by name.


Read the rest of this entry »

C# Coding Standards and Guidelines: Error Handling


C# Coding Standards and Guidelines: Error Handling

1. Error handler should be present whenever you anticipate possibility of error.

2. Do not use Try-catch for flow- control.

3. Never declare an empty catch block.

4. Error Message should be user friendly, simple and understandable.


Read the rest of this entry »