| Entity Framework 5.0 Features |
|
Entity Framework 5.0 Features
Labels:
Entity FrameWork
Define ASP .NET MVC Routing
| Define ASP .NET MVC Routing |
|
Expression Blend
Welcome to Expression Blend:
| Expression Blend 2.0 |
|
| Advantages of Expression Blend |
|
Labels:
Expression Blend
Entity Framework 5.0 Namespaces
| Entity Framework 5.0 Namespaces |
|
Labels:
Entity FrameWork
ADO.NET Tips
| ADO.NET |
| ADO.NET provides consistent access to data sources such as SQL Server and XML, and to data sources exposed through OLE DB and ODBC. Data-sharing consumer applications can use ADO.NET to connect to these data sources and retrieve, handle, and update the data that they contain.
|
| ADO.NET 2.0 Features |
|
| ADO.NET 3.5 Features |
|
Labels:
ADO.Net
C# coding Guide
| C# coding Guide |
| Bracing Open braces should always be at the beginning of the line after the statement that begins the block. Contents of the brace should be indented by 4 spaces. For example: “case” statements should be indented from the switch statement like this: Braces should never be considered optional. Even for single statement blocks, you should always use braces. This increases code readability and maintainability. Single line statements Single line statements can have braces that begin and end on the same line. It is suggested that all control structures (if, while, for, etc.) use braces, but it is not required. Spacing Spaces improve readability by decreasing code density. Here are some guidelines for the use of space characters within code:
Naming Follow all .NET Framework Design Guidelines for both internal and external members. Highlights of these include:
Interop Classes Classes that are there for interop wrappers (DllImport statements) should follow the naming convention below: NativeMethods No suppress unmanaged code attribute, these are methods that can be used anywhere because a stack walk will be performed. UnsafeNativeMethods Has suppress unmanaged code attribute. These methods are potentially dangerous and any caller of these methods must do a full security review to ensure that the usage is safe and protected as no stack walk will be performed. SafeNativeMethods Has suppress unmanaged code attribute. These methods are safe and can be used fairly safely and the caller isn’t needed to do full security reviews even though no stack walk will be performed. All interop classes must be private, and all methods must be internal. In addition a private constructor should be provided to prevent instantiation. File Organization Source files should contain only one public type, although multiple internal classes are allowed Source files should be given the name of the public class in the file Directory names should follow the namespace for the class For example, I would expect to find the public class “System.Windows.Forms.Control” in “System\Windows\Forms\Control.cs" Classes member should be alphabetized, and grouped into sections (Fields, Constructors, Properties, Events, Methods, Private interface implementations, Nested types) Using statements should be inside the namespace declaration. |
Labels:
C#.Net
Mutable and Immutable string in C#
| Mutable and Immutable string in C# |
|
Labels:
C#.Net
14 Principles on Total Quality Management
| Professional Development – Dr W. Edwards Deming’s 14 Principles on Total Quality Management Dr. Demings’s 14 principles |
|
Labels:
General
Event In C#
| Event |
| Event is a kind of Notification(Information) giving one by one object to perform task. Event handling is not possible without delegate because it is delegate who will be responsible to call Event handler which even is fired. |
Labels:
C#.Net
Partial Class In C#
| Partial Class |
| we can break a large class code into small pieces by specifying more than one class with same but with partial keyword. In that case those same name classes will not be treated as different classes so when we will made the object of the class, we will get all the method and member for all same name class. |