Dot net-interview-questions-and-answers part iRakesh Joshi
.NET Framework is a complete environment that allows developers to develop, run, and deploy the following applications: Console applications,Windows Forms applications,Windows Presentation Foundation (WPF) applications,Web applications (ASP.NET applications),Web services,Windows services,Service-oriented applications using Windows Communication Foundation (WCF),Workflow-enabled applications using Windows Workflow Foundation (WF).
.NET Framework also enables a developer to create sharable components to be used in distributed computing architecture. NET Framework supports the object-oriented programming model for multiple languages, such as Visual Basic, Visual C#, and Visual C++. .NET Framework supports multiple programming languages in a manner that allows language interoperability. This implies that each language can use the code written in some other language.
Dot net-interview-questions-and-answers part iRakesh Joshi
.NET is a general-purpose software development platform, similar to Java. At its core is a virtual machine that turns intermediate language (IL) into machine code. High-level language compilers for C#, VB.NET and C++ are provided to turn source code into IL. C# is a new programming language, very similar to Java. An extensive class library is included, featuring all the functionality one might expect from a contempory development platform - windows GUI development (Windows Form s), database access (ADO.NET), web development (ASP.NET), web services, XML etc.
Here I am sharing a ppt for .net framework which is very useful for understanding the framework of Microsoft dot net.
Here i mentioning one link which is very useful for preparing interviews in c# as fresher
http://skillgun.com/csharp/interview-questions-and-answers
Dot net-interview-questions-and-answers part iRakesh Joshi
.NET Framework is a complete environment that allows developers to develop, run, and deploy the following applications: Console applications,Windows Forms applications,Windows Presentation Foundation (WPF) applications,Web applications (ASP.NET applications),Web services,Windows services,Service-oriented applications using Windows Communication Foundation (WCF),Workflow-enabled applications using Windows Workflow Foundation (WF).
.NET Framework also enables a developer to create sharable components to be used in distributed computing architecture. NET Framework supports the object-oriented programming model for multiple languages, such as Visual Basic, Visual C#, and Visual C++. .NET Framework supports multiple programming languages in a manner that allows language interoperability. This implies that each language can use the code written in some other language.
Dot net-interview-questions-and-answers part iRakesh Joshi
.NET is a general-purpose software development platform, similar to Java. At its core is a virtual machine that turns intermediate language (IL) into machine code. High-level language compilers for C#, VB.NET and C++ are provided to turn source code into IL. C# is a new programming language, very similar to Java. An extensive class library is included, featuring all the functionality one might expect from a contempory development platform - windows GUI development (Windows Form s), database access (ADO.NET), web development (ASP.NET), web services, XML etc.
Here I am sharing a ppt for .net framework which is very useful for understanding the framework of Microsoft dot net.
Here i mentioning one link which is very useful for preparing interviews in c# as fresher
http://skillgun.com/csharp/interview-questions-and-answers
International Journal of Engineering Research and Development (IJERD)IJERD Editor
call for paper 2012, hard copy of journal, research paper publishing, where to publish research paper,
journal publishing, how to publish research paper, Call For research paper, international journal, publishing a paper, IJERD, journal of science and technology, how to get a research paper published, publishing a paper, publishing of journal, publishing of research paper, reserach and review articles, IJERD Journal, How to publish your research paper, publish research paper, open access engineering journal, Engineering journal, Mathemetics journal, Physics journal, Chemistry journal, Computer Engineering, Computer Science journal, how to submit your paper, peer reviw journal, indexed journal, reserach and review articles, engineering journal, www.ijerd.com, research journals,
yahoo journals, bing journals, International Journal of Engineering Research and Development, google journals, hard copy of journal
The future of DSLs - functions and formal methodsMarkus Voelter
I have used domain-specific languages to empower non-programmers in healthcare, finance, aerospace, automotive and public administration for years. My approach relies on growing the DSL from a functional programming core, combining the flexibility and power of an algorithmic language with domain-specific constructs that range from temporal data types, state machines and data models to polymorphic dispatch between versions of calculation rules. I rely on the open source MPS workbench to define the languages and their IDE. I am looking to incremental model transformations to desugar domain-specific constructs back to a minimal core language in realtime. That core language will have an interpreter for in-IDE execution and a compiler for deployment. The language will be integrated with formal methods to verify properties of programs, enabling advanced analyses for DSL users. In this talk, I will demo some existing DSLs, provide an illustration of how they are built, and demo prototypes of the future approach while discussing their integration with formal methods.
An important aspect of a program, apart from its ability to solve the problem, is its maintainability. A program has to undergo frequent changes in its lifetime because of the change in the problems to be solved. If a program is not written in a manner that allows incorporating changes easily, after a while, it may become useless altogether.
One way to bring some discipline into programming practices is structured programming. It is a way of creating programs that ensures high quality of maintainability, reusability, amenability to easy debugging and readability.
GOTO
International Journal of Engineering Research and Development (IJERD)IJERD Editor
call for paper 2012, hard copy of journal, research paper publishing, where to publish research paper,
journal publishing, how to publish research paper, Call For research paper, international journal, publishing a paper, IJERD, journal of science and technology, how to get a research paper published, publishing a paper, publishing of journal, publishing of research paper, reserach and review articles, IJERD Journal, How to publish your research paper, publish research paper, open access engineering journal, Engineering journal, Mathemetics journal, Physics journal, Chemistry journal, Computer Engineering, Computer Science journal, how to submit your paper, peer reviw journal, indexed journal, reserach and review articles, engineering journal, www.ijerd.com, research journals,
yahoo journals, bing journals, International Journal of Engineering Research and Development, google journals, hard copy of journal
The future of DSLs - functions and formal methodsMarkus Voelter
I have used domain-specific languages to empower non-programmers in healthcare, finance, aerospace, automotive and public administration for years. My approach relies on growing the DSL from a functional programming core, combining the flexibility and power of an algorithmic language with domain-specific constructs that range from temporal data types, state machines and data models to polymorphic dispatch between versions of calculation rules. I rely on the open source MPS workbench to define the languages and their IDE. I am looking to incremental model transformations to desugar domain-specific constructs back to a minimal core language in realtime. That core language will have an interpreter for in-IDE execution and a compiler for deployment. The language will be integrated with formal methods to verify properties of programs, enabling advanced analyses for DSL users. In this talk, I will demo some existing DSLs, provide an illustration of how they are built, and demo prototypes of the future approach while discussing their integration with formal methods.
An important aspect of a program, apart from its ability to solve the problem, is its maintainability. A program has to undergo frequent changes in its lifetime because of the change in the problems to be solved. If a program is not written in a manner that allows incorporating changes easily, after a while, it may become useless altogether.
One way to bring some discipline into programming practices is structured programming. It is a way of creating programs that ensures high quality of maintainability, reusability, amenability to easy debugging and readability.
GOTO
Programa de la II Jornada de Convivencia y Mediación Ies La Sisla. Educar sin gritar, mejora de la convivencia, estilos educativos familiares, trabajo en equipo. Texto "Familia y Escuela" de María Jesús Suárez S. F.
Aquí teniu una mostra de la petita festa i berenar que vàrem fer per celebrar el Nadal i que comencen les vacances. Feliç Any 2010 !!
La vostra tutora.
election survey comapny in delhi|election survey company|election survey comp...dnnindia
election survey comapny in delhi|election survey company|election survey company in rajasthan|election survey company in haryana|political survey company delhi|election survey company in mp|election survey comapny in haryana
http://www.horizonss.co.in/politicalsurvey/
Quontra Solutions provides .NET training by Real time Industry experts. .NET is having good demand in the market. Our .NET online training Instructors are very much experienced and highly qualified and dedicated.
Our .NET online training program is job oriented. After completion of .NET training with us you should be able to work on any kind of project. After completion of .NET online training our dedicated team will be supporting you.
Please call us for demo on .NET. Quontra Solutions is the best .NET online training Institute in USA.
Basics overview of C#. you can refer this link of learning more about C# interview questions
http://skillgun.com/csharp/interview-questions-and-answers
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
3. INTRODUCTIONINTRODUCTION
MICROSOFT .NET (PRONOUNCED“DOT NET”) IS A SOFTWARE COMPONENTMICROSOFT .NET (PRONOUNCED“DOT NET”) IS A SOFTWARE COMPONENT
THAT RUNS ON THETHAT RUNS ON THE WINDOWS OPERATING SYSTEMWINDOWS OPERATING SYSTEM..
MICROSOFT .NET IS A FRAMEWORK WHICH PROVIDES A COMMONMICROSOFT .NET IS A FRAMEWORK WHICH PROVIDES A COMMON
PLATFORM TO EXECUTE OR, RUN THE APPLICATIONS DEVELOPED INPLATFORM TO EXECUTE OR, RUN THE APPLICATIONS DEVELOPED IN
VARIOUS PROGRAMMING LANGUAGES (VARIOUS PROGRAMMING LANGUAGES (VISUAL BASIC, VISUAL C#, AND
VISUAL C++ ).).
MICROSOFT ANNOUNCEDTHE .NET INITIATIVE IN JULY 2000.MICROSOFT ANNOUNCEDTHE .NET INITIATIVE IN JULY 2000.
THE MAIN INTENTION WAS TO BRIDGE THE GAP INTHE MAIN INTENTION WAS TO BRIDGE THE GAP IN INTEROPERABILITYINTEROPERABILITY
BETWEEN SERVICES OF VARIOUS PROGRAMMING LANGUAGES.BETWEEN SERVICES OF VARIOUS PROGRAMMING LANGUAGES.
4. OBJECTIVESOBJECTIVES
----THE .NET FRAMEWORKIS DESIGNEDTO FULFILL THE----THE .NET FRAMEWORKIS DESIGNEDTO FULFILL THE
FOLLOWING OBJECTIVES:FOLLOWING OBJECTIVES:
• PROVIDE OBJECT-ORIENTED PROGRAMMINGPROVIDE OBJECT-ORIENTED PROGRAMMING
ENVIRONMENTENVIRONMENT
• PROVIDE ENVIRONMENT FOR DEVELOPING VARIOUSPROVIDE ENVIRONMENT FOR DEVELOPING VARIOUS
TYPES OF APPLICATIONS, SUCH AS WINDOWS-BASEDTYPES OF APPLICATIONS, SUCH AS WINDOWS-BASED
APPLICATIONS AND WEB-BASED APPLICATIONSAPPLICATIONS AND WEB-BASED APPLICATIONS
• TO ENSURE THAT CODE BASED ON THE .NETTO ENSURE THAT CODE BASED ON THE .NET
FRAMEWORK CAN INTEGRATE WITH ANY OTHERFRAMEWORK CAN INTEGRATE WITH ANY OTHER
6. COMPONENTS OF .NETCOMPONENTS OF .NET
ARCHITECTUREARCHITECTURE
---MICROSOFT .NET CONSISTS OF FOURMAJORCOMPONENTS:---MICROSOFT .NET CONSISTS OF FOURMAJORCOMPONENTS:
COMMON LANGUAGE SPECIFICATION (CLS)COMMON LANGUAGE SPECIFICATION (CLS) –– BLUE IN THE DIAGRAMBLUE IN THE DIAGRAM
FRAMEWORKCLASS LIBRARY (FCL)FRAMEWORKCLASS LIBRARY (FCL) –– REDRED
COMMON LANGUAGE RUNTIME (CLR)COMMON LANGUAGE RUNTIME (CLR) –– GREENGREEN
.NET TOOLS.NET TOOLS –– YELLOWYELLOW
7. COMMON TYPE SYSTEM
(CTS)
COMMON TYPE SYSTEM (CTS) DESCRIBES A SET OF TYPES THAT CAN BE USED IN
DIFFERENT .NET LANGUAGES IN COMMON . THAT IS , THE COMMON TYPE SYSTEM
(CTS) ENSURE THAT OBJECTS WRITTEN IN DIFFERENT .NET LANGUAGES CAN
INTERACT WITH EACH OTHER.
COMMON TYPE SYSTEM (CTS) PROVIDES BASE SET OF DATA TYPES (SUCH
AS BOOLEAN, BYTE, CHAR, INT32, AND UINT64) WHICH IS RESPONSIBLE FOR
CROSS LANGUAGE INTEGRATION. THE COMMON LANGUAGE RUNTIME (CLR) CAN
LOAD AND EXECUTE THE SOURCE CODE WRITTEN IN ANY .NET LANGUAGE, ONLY
IF THE TYPE IS DESCRIBED IN THE COMMON TYPE SYSTEM (CTS) .
---TO IMPLEMENT OR SEE HOW CTS IS CONVERTING THE DATA TYPE TO A COMMON
DATA TYPE, FOR EXAMPLE, WHEN WE DECLARE AN INT TYPE DATA TYPE IN C# AND
VB.NET THEN THEY ARE CONVERTED TO INT32. IN OTHER WORDS, NOW BOTH
WILL HAVE A COMMON DATA TYPE THAT PROVIDES FLEXIBLE COMMUNICATION
BETWEEN THESE TWO LANGUAGES.
8. COMMON LANGUAGE SPECIFICATIONCOMMON LANGUAGE SPECIFICATION
(CLS)(CLS)
------PERFORMS THE FOLLOWING FUNCTIONS:PERFORMS THE FOLLOWING FUNCTIONS:
IT ESTABLISHES A FRAMEWORK THAT HELPS ENABLE CROSS-LANGUAGEIT ESTABLISHES A FRAMEWORK THAT HELPS ENABLE CROSS-LANGUAGE
INTEGRATION, TYPE SAFETY, AND HIGH PERFORMANCE CODE EXECUTION.INTEGRATION, TYPE SAFETY, AND HIGH PERFORMANCE CODE EXECUTION.
IT PROVIDES AN OBJECT-ORIENTED MODEL THAT SUPPORTS THE COMPLETEIT PROVIDES AN OBJECT-ORIENTED MODEL THAT SUPPORTS THE COMPLETE
IMPLEMENTATION OF MANY PROGRAMMING LANGUAGES.IMPLEMENTATION OF MANY PROGRAMMING LANGUAGES.
IT DEFINES RULES THAT LANGUAGES MUST FOLLOW, WHICH HELPS ENSURE THATIT DEFINES RULES THAT LANGUAGES MUST FOLLOW, WHICH HELPS ENSURE THAT
OBJECTS WRITTEN IN DIFFERENT LANGUAGES CAN INTERACT WITH EACH OTHER.OBJECTS WRITTEN IN DIFFERENT LANGUAGES CAN INTERACT WITH EACH OTHER.
10. FRAMEWORK CLASS LIBRARYFRAMEWORK CLASS LIBRARY
(FCL)(FCL)
THE FCL IS A COLLECTION OF OVER 7000 CLASSES AND DATA TYPES THATTHE FCL IS A COLLECTION OF OVER 7000 CLASSES AND DATA TYPES THAT
ENABLE .NET APPLICATIONS TO READ AND WRITE FILES, ACCESS DATABASES,ENABLE .NET APPLICATIONS TO READ AND WRITE FILES, ACCESS DATABASES,
PROCESS XML, DISPLAY A GRAPHICAL USER INTERFACE, DRAW GRAPHICS, USEPROCESS XML, DISPLAY A GRAPHICAL USER INTERFACE, DRAW GRAPHICS, USE
WEB SERVICES, ETC.WEB SERVICES, ETC.
THE FCL WRAPS MUCH OF THE MASSIVE, COMPLEX WIN32 API INTO MORETHE FCL WRAPS MUCH OF THE MASSIVE, COMPLEX WIN32 API INTO MORE
SIMPLE .NET OBJECTS THAT CAN BE USED BY C# AND OTHER .NET PROGRAMMINGSIMPLE .NET OBJECTS THAT CAN BE USED BY C# AND OTHER .NET PROGRAMMING
LANGUAGES.LANGUAGES.
12. COMMON LANGUAGE RUNTIMECOMMON LANGUAGE RUNTIME
(CLR)(CLR)
THE CLR IS THETHE CLR IS THE COMMONCOMMON EXECUTION ENGINE FOR .NET APPLICATIONSEXECUTION ENGINE FOR .NET APPLICATIONS
AND SERVES AS THE INTERFACE BETWEEN .NET APPLICATIONS ANDAND SERVES AS THE INTERFACE BETWEEN .NET APPLICATIONS AND
THE OPERATING SYSTEM.THE OPERATING SYSTEM.
THE CLR PROVIDES MANY SERVICES SUCH AS:THE CLR PROVIDES MANY SERVICES SUCH AS:
LOADS AND EXECUTES CODE.LOADS AND EXECUTES CODE.
CONVERTS INTERMEDIATE LANGUAGE TO NATIVE MACHINE CODE.CONVERTS INTERMEDIATE LANGUAGE TO NATIVE MACHINE CODE.
AUTOMATIC MEMORY MANAGEMENT.AUTOMATIC MEMORY MANAGEMENT.
MANAGES MEMORY AND OBJECTS.MANAGES MEMORY AND OBJECTS.
14. EXECUTION IN CLREXECUTION IN CLR
Common Language RuntimeCommon Language Runtime
VBVB
SourceSource
codecode
CompilerCompiler
C++C++C#C#
AssemblyAssembly
IL CodeIL Code
JIT CompilerJIT Compiler
ManagedManaged
codecode
Native CodeNative Code
CompilerCompiler CompilerCompiler
AssemblyAssembly
IL CodeIL Code
AssemblyAssembly
IL CodeIL Code
Operating System ServicesOperating System Services
15. INTERMEDIATE LANGUAGEINTERMEDIATE LANGUAGE
(IL)(IL)
INTERMEDIATE LANGUAGE IS ALSO KNOWN AS MSIL
(MICROSOFT INTERMEDIATE LANGUAGE) OR CIL (COMMON
INTERMEDIATE LANGUAGE).
ALL .NET SOURCE CODE IS COMPILED TO IL. IL IS THEN
CONVERTED TO MACHINE CODE AT RUN-TIME BY A JUST-IN-
TIME (JIT) COMPILER.
THE RECOMPILATION IS JUST-IN-TIME (JIT) MEANING IT ISTHE RECOMPILATION IS JUST-IN-TIME (JIT) MEANING IT IS
DONE AS SOON AS A FUNCTION OR SUBROUTINE IS CALLED.DONE AS SOON AS A FUNCTION OR SUBROUTINE IS CALLED.
16. MANAGED VS UNMANAGED CODE
MANAGED CODE
MANAGED CODE IS THE CODE THAT IS
EXECUTED DIRECTLY BY THE CLR INSTEAD
OF THE OPERATING SYSTEM.
THE CODE COMPILER FIRST COMPILES THE
MANAGED CODE TO INTERMEDIATE
LANGUAGE (IL) CODE.
THIS CODE DOESN'T DEPEND ON MACHINE
CONFIGURATIONS AND CAN BE EXECUTED
ON DIFFERENT MACHINES.
IN THE MANAGED CODE, SINCE THE
EXECUTION OF THE CODE IS GOVERNED BY
CLR, THE RUNTIME PROVIDES
DIFFERENT SERVICES, SUCH AS GARBAGE
COLLECTION, TYPE CHECKING, EXCEPTION
HANDLING, AND SECURITY
SUPPORT.
UNMANAGED CODE
UNMANAGED CODE IS THE CODE THAT IS
EXECUTED DIRECTLY BY THE OPERATING
SYSTEM OUTSIDE THE CLR
ENVIRONMENT.
IT IS DIRECTLY COMPILED TO NATIVE
MACHINE CODE WHICH DEPENDS ON THE
MACHINE CONFIGURATION.
IN THE UNMANAGED CODE, THE
ALLOCATION OF MEMORY, TYPE SAFETY,
AND SECURITY IS REQUIRED TO BE TAKEN
CARE OF BY THE DEVELOPER. IF THE
UNMANAGED CODE IS NOT
PROPERLY HANDLED, IT MAY RESULT IN
MEMORY LEAK.
17. ----A PIECE OF MANAGED CODE IS EXECUTED
AS FOLLOWS:
CHOOSING A LANGUAGE COMPILER
COMPILING THE CODE TO MSIL
COMPILING MSIL TO NATIVE CODE
EXECUTING THE CODE.
18. JIT COMPILER
THE JIT COMPILER IS AN IMPORTANT ELEMENT OF CLR, WHICH LOADS MSIL ON
TARGET MACHINES FOR EXECUTION.
THE MSIL IS STORED IN .NET ASSEMBLIES AFTER THE DEVELOPER HAS COMPILED
THE CODE WRITTEN IN ANY .NET-COMPLIANT PROGRAMMING LANGUAGE, SUCH AS
VISUAL BASIC AND C#.
JIT COMPILER TRANSLATES THE MSIL CODE OF AN ASSEMBLY (LIKE DLL) AND
USES THE CPU ARCHITECTURE OF THE TARGET MACHINE TO EXECUTE A .NET
APPLICATION.
JIT COMPILER ALSO ENFORCES TYPE-SAFETY IN RUNTIME ENVIRONMENT OF .NET
FRAMEWORK. IT CHECKS FOR THE VALUES THAT ARE PASSED TO PARAMETERS OF
ANY METHOD.
---FOR EXAMPLE, THE JIT COMPILER DETECTS ANY EVENT, IF A USER TRIES TO
ASSIGN A 32-BIT VALUE TO A PARAMETER THAT CAN ONLY ACCEPT 8-BIT VALUE.
19. .NET ASSEMBLY
THE .NET ASSEMBLY IS THE STANDARD FOR COMPONENTS DEVELOPED WITH THE
MICROSOFT.NET.
ASSEMBLIES ARE THE BUILDING BLOCKS OF .NET FRAMEWORK APPLICATIONS.
DOT NET ASSEMBLIES MAY OR MAY NOT BE EXECUTABLE, I.E., THEY MIGHT EXIST
AS THE EXECUTABLE (.EXE) FILE OR DYNAMIC LINK LIBRARY (DLL) FILE.
DURING THE COMPILE TIME METADATA IS CREATED WITH MICROSOFT
INTERMEDIATE LANGUAGE (MSIL) AND STORED IN A FILE CALLED ASSEMBLY
MANIFEST . ASSEMBLY MANIFEST CONTAINS INFORMATION ABOUT ITSELF AND
ABOUT THE MEMBERS, TYPES, REFERENCES AND ALL THE OTHER DATA THAT THE
RUNTIME NEEDS FOR EXECUTION.
----THERE ARE TWO KIND OF ASSEMBLIES IN .NET
• PRIVATE
• SHARED
20. PRIVATE
ASSEMBLY
A PRIVATE ASSEMBLY IS USED
ONLY BY A SINGLE APPLICATION,
AND USUALLY IT IS STORED IN
THAT APPLICATION'S INSTALL
DIRECTORY.
SHARED
ASSEMBLY
A SHARED ASSEMBLY IS ONE
THAT CAN BE REFERENCED BY
MORE THAN ONE APPLICATION.
IF MULTIPLE APPLICATIONS
NEED TO ACCESS AN
ASSEMBLY, WE SHOULD ADD
THE ASSEMBLY TO THE GLOBAL
ASSEMBLY CACHE (GAC)
21. .NET TOOLS.NET TOOLS
VISUAL STUDIO .NETVISUAL STUDIO .NET IS MICROSOFT’S FLAGSHIP TOOL FOR DEVELOPING WINDOWSIS MICROSOFT’S FLAGSHIP TOOL FOR DEVELOPING WINDOWS
SOFTWARE.SOFTWARE.
VISUAL STUDIO PROVIDES AN INTEGRATED DEVELOPMENT ENVIRONMENT (IDE)VISUAL STUDIO PROVIDES AN INTEGRATED DEVELOPMENT ENVIRONMENT (IDE)
FOR DEVELOPERS TO CREATE STANDALONE WINDOWS APPLICATIONS,FOR DEVELOPERS TO CREATE STANDALONE WINDOWS APPLICATIONS,
INTERACTIVE WEB SITES, WEB APPLICATIONS, AND WEB SERVICES RUNNING ONINTERACTIVE WEB SITES, WEB APPLICATIONS, AND WEB SERVICES RUNNING ON
ANY PLATFORM THAT SUPPORTS .NET.ANY PLATFORM THAT SUPPORTS .NET.
IN ADDITION, THERE ARE MANY .NET FRAMEWORK TOOLS DESIGNED TO HELPIN ADDITION, THERE ARE MANY .NET FRAMEWORK TOOLS DESIGNED TO HELP
DEVELOPERSDEVELOPERS CREATE, CONFIGURE, DEPLOY, MANAGE AND SECURE .NETCREATE, CONFIGURE, DEPLOY, MANAGE AND SECURE .NET
APPLICATIONS AND COMPONENTS.APPLICATIONS AND COMPONENTS.
There is also a third and least known type of an assembly:
Satellite Assembly . A Satellite Assembly contains only static objects like images and other non-executable files required by the application.