×
WORK HARD UNTIL LAMP LIGHT OF STUDY TABLE BECOMES SPOT LIGHT OF STAGE.
--Your friends at LectureNotes
Close

Note for Dot Net Framework for Application Development - DFAD By arjun Rajanala

  • Dot Net Framework for Application Development - DFAD
  • Note
  • 2 Topics
  • 383 Views
  • 4 Offline Downloads
  • Uploaded 1 year ago
Arjun Rajanala
Arjun Rajanala
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Introduction: architecture and components of .NET framework 4.5, managed code, intermediate language, meta data and JIT compiler, common language runtime, automatic memory management, private and shared assemblies, exploring Visual Studio .NET IDE.Introduction to C#: identifiers, keywords, data types, variables, constants, operators, precedence, associativity, type conversion, decision and loop statements, generics, enumerations, namespaces. Object Oriented Programming: encapsulation, inheritance, polymorphism, abstraction, interfaces. PART-A .NET is a software development platform developed by Microsoft. It runs on Microsoft Windows OS. .NET provides tools and libraries that allow developers to develop applications and services much easily, faster and secure. NET stands for NETWORK ENABLE TECHNOLOGIES. 1. What is the .net framework explain briefly? The .Net framework isa technology that supports building and running the next generation of applications and xml web services. The .Net framework is an integral window component that supports multiple programming languages. .Net framework was developed by Microsoft. The first version is 1.0 and latest version is 4.7. .net framework is located in windows7/8/10 operating system c:\window\Micrsoft.net\framework\ver4.5 .Net framework supports two core technologies (i) XML (ii) Suite of Internet protocols (TCP/IP). Features of .net framework 1. 2. 3. 4. 5. Consistent programming model Multiple platform application Multi language integration Automation resource management Easy deployment. 1. Consistent programming model : .net framework provides a common object oriented programming model across languages. This object model can be used to perform several tasks such as reading from writing to files connected to database & retrieving data. Microsoft .net R.ArjunM.Tech,Mphil,MCTS

Text from page-2

2. Multiplatform application: There are several versions of windows most of which run on x86 CPU’s some version such as WINCE & 64 Bit, run on Nonx86 as well A .NET Application can Execute on Any Architecture that support by the CLR 3. Multi language Integration .net allows multiple languages to be integrated for example it is possible to create a class in c# that drives from a class implemented in vb. A set of languages has been defined CLS. 4. Automatic Resource Management. While creating an application a programmer may be required to write code for managing resources such as files, memory, network connections & database resources. 5. Easy of deployment One of the goals of the .net framework is to simplify application deployment .net application can be deployed simple by copying files to the target computer deployment of components has also been simplified. 2. What is the CLR explain briefly? CLR (Common Language Runtime) is a heart of Dot Net Framework. CLR is a layer between an application and the operating system. The CLR is a runtime environment for all .net programming languages it I responsible for execution and managing all code written in any language. It is a core runtime environment of .NET Framework for executing applications. The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the Program. It acts as a layer between Operating Systems and the applications written in .Net languages. CLR handles the execution of code and provides useful services for the implementation of the program. In addition to executing code, CLR provides services such as memory management, thread management, security management, code verification, compilation, and other system services. Microsoft .net R.ArjunM.Tech,Mphil,MCTS

Text from page-3

3. What is the managed code & unmanaged cod Managed Code In simple terms the code which is executed by CLR (Common Language Runtime) is called Managed Code, any application which is developed in .Net framework is going to work under CLR, the CLR internally uses the Garbage Collector to clear the unused memory and also used the other functionalities like CTS, CAS etc. If we need to execute the Managed code application we must need to install .Net frame work as we need CLR to execute this code. Microsoft .net R.ArjunM.Tech,Mphil,MCTS

Text from page-4

Unmanaged Code The unmanaged code is basically developed using other languages (other than .Net Framework), so it uses its own language runtime to execute the applications. The application runtime will take care of its memory management, security etc... Even if we do not install .Net framework the unmanaged code will work properly as it is not depending on the CLR. We can also run unmanaged code using managed code by using commands, but even if we run the unmanaged application using .Net code the CLR is not having control to run that application, the application uses its own runtime to execute. 4. What is the MSIL? It is a set of CPU independent instructions that are generated by the language compiler when the project is compiled. MSIL code is not executable but further processed by CLR/other runtime environments before it becomes executable. MSIL is contained in the assembly of the .NET application. MSIL instructions map to the code that is written in .NET Language and are used for loading, storing, initializing, and calling methods on objects, as well as for arithmetic and logical operations, control flow, direct memory access, exception handling, and other operations. 5. What is the class library? The .net class library is a key component of .net framework. It is sometime referred to as the base class library. The net class library contains hundreds of class you can use for task such as followings (a) Processing xml (b) Working with data from multiple data sources. (c) Debugging your code (d) Working with data streams & files. (e) Managing the runtime environment. (f) Developing web services (g) Working with application security and directory services. Microsoft .net R.ArjunM.Tech,Mphil,MCTS

Lecture Notes