Note: Most of the Article of this blog has taken from another reputated blogs,Websites so Author will not responsible for any Issue.

Understanding Common Type System in .NET Framework

       As .Net Framework is language independent and support over 20 different programming languages, many programmers will write data types in their own programming language.
For example, an integer variable in C# is written as int, whereas in Visual Basic it is written as integer. Therefore in .Net Framework you have single class called System.Int32 to interpret these variables. Similarly, for the ArrayList data type .Net Framework has a common type called System.Collections.ArrayList. In .Net Framework, System.Object is the common base type from where all the other types are derived.

      This system is called Common Type System. The types in .NET Framework are the base on which .NET applications, components, and controls are built. Common Type System in .Net Framework defines how data types are going to be declared and managed in runtime. The Common Type System performs the following functions: 

• Automatically adapts itself in a framework that enables integration of multiple languages, type safety, and high performance code execution.
• Provides an object-oriented model.
• Standardizes the conventions that all the languages must follow.
• Invokes security checks.
• Encapsulates data structures.


There are two general types of categories in .Net Framework that Common Type System support. They are value types and reference types. Value types contain data and are user-defined or built-in. they are placed in a stack or in order in a structure. Reference types store a reference of the value’s memory address. They are allocated in a heap structure. You can determine the type of a reference by the values of self-describing types. Reference types can be categorized into self-describing types, pointer types, or interface types.
There are many other types that can be defined under Value types and Reference types. In .Net Framework, the System namespace is the root for all the data types. This namespace consists of classes such as Object, Byte, String, and Int32 that represents base data types. These base data types are used by all applications. During runtime a type name can be classified into two: the assembly name and the type’s name within the assembly. The runtime in .Net Framework uses assemblies to find and load types....

How to configure dbmail in sql server 2005 and 2008

Step 1) Create Profile and Account:
You need to create a profile and account using the Configure Database Mail Wizard which can be accessed from the
Configure Database Mail context menu of the Database Mail node in Management Node.
This wizard is used to manage accounts, profiles, and Database Mail global settings which are shown below:





Step 3) Send Email:
After all configurations are done, we are now ready to send an email. To send mail,
we need to execute a stored procedure sp_send_dbmail and provide the required parameters as shown below:



How to decompile .net DLL or EXE

DIS# is better decompiler for .net.You can get back your code within few minutes by using dis#.
Before purchase dis# take a trial for this.If you need full version of with lifetime membership dis# then please send me a mail to at mangeshgangwar@gmail.com.
   
Features of dis#

  • Internal editor for quick editing


    Type new name and press Enter:

    The typical problem with decompilation is the absence of full source information in the executable file. For instance, .NET assembly does not contains names of local variables. Program can automatically assign local names in accordance with their types (what Dis# is really do), but it still too differentiates with the original source.

    Dis# makes next logical step in this direction. You can edit the names and keep the changes in a project file. ( see screenshot )
  • Download DIS# from Here    
  • Dis# project file

    Dis# have it's own metadata structure, which expands PE metadata structure with all necessary for decompilation information, such as local variable names. You can save Dis# metadata in the project file (extension .dis) and keep all changes.

  • Decompilation Speed

    Custom metadata provides outstanding decompilation speed, which 25-700 times faster then have other .NET decompilers. Dis# decompiles more then 2000 methods per second.

  • Multiple Languages decompilation

    Support for C#, Visual Basic.NET, Delphi.NET and Chrome.

  • Well formed code

    Dis# generates code, which is look like the human edited. Dis# .net decompiler have many options to adjust code view for your preferences.

  • Optimization

    Dis# optimize code.

  • .NET 2.0 support

    Dis# support .NET 2.0 assembly format, generics etc.

  • Raw Code

    In some cases you have to view raw code (before high level decompilation algorithms processing).


  • Download DIS# from Here