Documente Academic
Documente Profesional
Documente Cultură
Subject Name: Dot Net Technology Subject Code: 171604 Text Books: 1. Professional VB. NET , Wrox publication 2. ASP .NET complete reference, TMH 3. C# The Basic by Vijay Mukhi
Reference Books:
1. ASP.NET Developers Guide Greg Buczek, McGrawHill 2. Programming VB.Net 2005, Julia Case Bradley, Anita Millspaugh, McGrawHill 3. ASP.NET 2.0, Black Book, dreamtech 4. ASP.NET 4, Unleashed Stephen Walther, Kevin Hoffman, Nate Dudek, Pearson 5. Professional C# .Net, Wrox publication
Course Contents
Introduction to .NET Data Types and Base Class Libraries VB .NET Object Oriented Programming with VB.NET Introduction to Windows Forms Windows Forms and Controls in detail Introduction to ADO.NET Console Applications C# .NET ASP.Net Managing State Themes and Master Pages Using the Data Bound controls and Repeater Controls Creating and Consuming Web Services Advance .Net Concepts
Chap-1
Introduction to .NET
Visual studio.NET
Visual Studio .NET is complete package of development tools for developing web application, desktop applications, mobile applicationetc Visual studio .et supports 20 languages for developing software. Ex.. VB,VISUAL C++,Visual C#..... With help of Visual studio.NET we can create software with different programming language. We can develop following type of project. ASP.net Web application Windows Form application Console application. mobile application Web services.
1.1
2.0 3.0 3.5 4.0
2003
2005 2006 2007 2010
Features of .NET
Rich set of classes Object oriented programming system In built Memory management Multi language support Faster and easy development of application. XML support visual studio .net supports for writing, manipulating and transferring XML documents.
language such as vb.net, C# and so on. It provides its own compiler to compile code to MSIL(microsoft intermediate language). When code is converted to MSIL, the common runtime engine compile the MSIL to native code with help of JIT(just-in-time) compiler and then runs the application.
Language independence:
.net Framework provides multiple language support using feature known as common type system (CTS) .
Security:
Asp.net provides security models that will allow you to authenticate your users .
CLR
to execute a program written in any language (Ex .in visual C#) the machine executing the program must have visual C# runtime installed in it. means we require different runtime for executing different programming languages. .net CLR offers the solution to this problem by providing a single runtime environment for multiple languages.
Responsibly of CLR
Code Manager Code manager invokes class loader for execution. .NET supports two kind of coding 1) Managed Code 2) Unmanaged Code Managed Code The code, which is developed in .NET framework, is known as managed code. This code is directly executed by CLR with help of managed code execution Rather than directly by the operating system. Any language that is written in .NET Framework is managed code. Managed code uses CLR which in turns looks after your applications by managing memory management, handling security, runtime type checking and so on.
Unmanaged Code
The code, which is developed outside .NET, Framework is known as unmanaged code. Applications directly executed by os, rather than CLR are said to be unmanaged, and certain languages such as C++ can be used to write such applications. Unmanaged code is executed with help of wrapper classes. Wrapper classes are of two types: CCW (COM callable wrapper) and RCW (Runtime Callable Wrapper) EX. C,C++,COBOL etc.
Native Code
The code to be executed must be converted into a language that the target operating system understands, known as native code.
JIT (Just-in-Time)
Just - in - Time (JIT) compiler, which compiles MSIL into native code that is specific to the OS and machine architecture being targeted.
Assemblies
When you compile an application, the MSIL code created is stored in an assembly. Assemblies include both executable application files that you can run directly from Windows without the need for any other programs (these have a .exe file extension), and libraries (which have a .dll extension) for use by other applications. In addition to containing MSIL, assemblies also include meta information (that is, information about the information contained in the assembly, also known as metadata).
Types of assemblies
Private assemblies: A private assembly is used by single application, and stored in that application s directory. Shared assemblies: A share assembly can be used by multiple applications and is stored in the Global assembly cache, a repository of assemblies maintained by the .Net Framework.