What is .NET Framework ?

The .NET Framework is a Platform for software development.The .NET Framework consists of 
  1. CLR (Common Language Runtime)
  2. CLS (Common Language Specification)
  3. CTS (Common Type System)
  4. .NET base class library
CLR (Common Language Runtime) :
Provides many of the core services required for program execution.

CLS (Common Language Specification) :
The CLS defines a minimum set of  standards that all languages using the .NET Framework must support,

CTS (Common Type System)
The CTS ensures type compatibility between components developed in different languages.

.NET base class library :
The .NET base class library, which exposes a set of pre-developed classes to facilitate program development. 

The primary unit of a .NET application is the assembly, which includes an assembly manifest. The assembly manifest describes the assembly and one or more modules , and modules contain the source code for the application.

A .NET executable is stored as an IL file. When loaded, the assembly is checked against the security policy of local system. If it is allowed to run, the first assembly is loaded into memory and JIT compiled into native binary code, where it is stored for the remainder of the program's execution.

Top 5 advantages of ASP.NET

ASP.NET has many advantages over other platforms when it comes to creating Web applications. The advantage is mainly because in ASP.NET web applications can be easily created , debugged and deployed within a single  development environment Visual Studio .NET.

  1. Executable portions of a Web application compiled so they execute more quickly than interpreted scripts.
  2. Built in security through the Windows server or through other authentication/authorization methods.
  3. Integration with ADO.NET to provide database access and database design tools from within Visual Studio .NET.
  4. Full support for Extensible Markup Language (XML), cascading style sheets (CSS), and other new and established Web standards.
  5. Built in feature for caching frequently requested Web pages on the server, localizing content for specific languages and cultures, and detecting browser capabilities.


C sharp for Noob..hws it?
for Newwbies or beginners newette p wbies b

its newbies
otte
its )better
). hmmm

Page Navigation in Silverlight

  • Navigation in Silverlight from one page to another is done on Frame.
  • Below example will explain how to navigate between pages in Silverlight.
Result  has been displayed below..  Dont Forget to download Source Code for your Reference

On Button Click of Page 1


 On Button Click of Page 2


Xaml Page Code For Page Navigation :



Xaml.cs Code For Page Navigation :


  • Line Series Chart comes with the Silverlight 4 Toolkit.
  • The Chart control is stored in the Microsoft.Windows.Controls.DataVisualzation.Charting assembly. This assembly can be referenced just like any other assembly in Visual Studio.  
 Result  has been displayed below..  Dont Forget to download Source Code for your Reference

Xaml Page Code For Line Chart Series :


Xaml.cs Code For Line Chart Series :


  • Pie Chart Series comes with the Silverlight 4 Toolkit.
  • The Chart control is stored in the Microsoft.Windows.Controls.DataVisualzation.Charting assembly. This assembly can be referenced just like any other assembly in Visual Studio.  
 Result  has been displayed below..  Don't Forget to download Source Code for your Reference


Xaml Page Code For Pie Series :



Xaml.cs Code For Pie Series :




  • Column Series Chart comes with the Silverlight 4 Toolkit.
  • The Chart control is stored in the Microsoft.Windows.Controls.DataVisualzation.Charting assembly. This assembly can be referenced just like any other assembly in Visual Studio.  
Result  has been displayed below..  Dont Forget to download Source Code for your Reference

Xaml Page Code For Chart Series :



Xaml.cs Code For Chart Series :


Download Source Code : Click here to download Source Code of Column Chart Series in Silverlight
DataGrid Binding in Silverlight

Result of the Program has been shown below.
Here we bind Each Column to display respected data in Grid.
Detailed Information is given below and dont forget to Download Source Code for Reference.


Xaml Page Code :
Xaml.cs Code :



Download Source Code : Click here to download Source Code of Data Grid binding in Silverlight

Binding Date Picker in Silverlight

Today we are going to learn how to bind Date Picker in Silverlight .. Lets start with it ..
Below shown is a result of data binding of Date picker in Silverlight.




Xaml Page Code shown below of date picker :

Here SelectedDate Property of Date Picker has been binded to get desired result.

Xaml.cs Page Code :


 Binding Date Picker in Silverlight

Binding of Combo Box in Silverlight on Selected Index Property of Combo Box 

Xaml Code for binding Combobox :

Xaml.cs Code for binding Combobox :



Output Result of data binding of Combo box :

Thus we have succesfully Binded selected item property of combo box in silverlight.


Simple Animation in Silverlight





Simple Animation Example in Silverlight has been Explained below with Source Code to download




Xaml Code :-



Xaml.cs Code :-





Alternate way to Disable a Button in Silverlight.


So to avoid this blur Effect we can use other Properties of Button in Silverlight to Disable it. 


XAML Code to disable Button :-
<Button Content="A2z" IsHitTestVisible="False" Height="23" HorizontalAlignment="Left" Margin="170,146,0,0" Name="MY_BUTTON" VerticalAlignment="Top" Width="75" />





 BackEnd ( XAML.cs) Code to enable and disable Button at Runtime :-

 //button gets Disabled and Visibility of Button Remains same as in Enabled Mode.
  MY_BUTTON.IsHitTestVisible = false;
//button gets Enabled
  MY_BUTTON.IsHitTestVisible = true;





How to disable Silverlight Button Control ?



XAML CODE OF BUTTON (ENABLED) IN SILVERLIGHT : -
<Button Content="A2z" Height="23" HorizontalAlignment="Left" Margin="170,146,0,0" Name="MY_BUTTON" VerticalAlignment="Top" Width="75" />


XAML CODE OF BUTTON (DISABLED) IN SILVERLIGHT : -
<Button Content="A2z" IsEnabled="False" Height="23" HorizontalAlignment="Left" Margin="170,146,0,0" Name="MY_BUTTON" VerticalAlignment="Top" Width="75" />


BackEnd (XAML.cs) Code to Disable and Enable Silverlight Button at Runtime dynamically :-
 MY_BUTTON.IsEnabled = false; // button gets Disabled
 MY_BUTTON.IsEnabled = true; // button gets Enabled
top