Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
-
Upload
ethelbert-ford -
Category
Documents
-
view
219 -
download
0
Transcript of Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
Rajiv and Shipra
Introduction to .NET (asp.net,c#,vb)
.NET –Framework
• It is a programming platform that is used for developing Windows and Web-based software.
• It has number of precoded solutions that manage the execution of program specifically for framework
• .NET framework platform is based on two technology
• XML(eXtensive Markup Language)
• The suit of internet protocol.
XML• .Key feature of XML are.
• It unlock information that can be edited,
programmed and organized.
• It allows website to collaborate and provides groups of web services. They can
be interact with each other.
• It separate date from presentation.
.NET – What Is It?
Operating System + Hardware
.NET Framework
.NET Application
Framework Class LibraryFramework Class Library
Common Language RuntimeCommon Language Runtime
Common Language SpecificationCommon Language Specification
ADO.NETADO.NET
Visu
al Stu
dio
.NE
TV
isual S
tud
io.N
ET
ASP.NET: Web ServicesASP.NET: Web Servicesand Web Formsand Web Forms
WindowsWindowsFormsForms
Component of Frame work
The .NET Framework.NET Framework Services
• Common Language Runtime• Windows® Forms• ASP.NET
– Web Forms– Web Services
• ADO.NET, evolution of ADO• Visual Studio.NET
Common Language Runtime (CLR)
•CLR :An Execution engine of framework
•CLR provides many features such as imposed by – Memory Management– Code saftety verification and Code execution– Error and exception handling– Garbage Collection
Compilation in .NET
Code in VB.NET Code in C#Code in another .NET Language
VB.NET compiler C# compilerAppropriate
Compiler
IL(IntermediateLanguage) code
CLR just-in-timeexecution
MSIL• .NET languages are not compiled to machine code. They
are compiled to an Microsoft Intermediate Language (IL).
• CLR accepts the IL code and recompiles it to machine code. The recompilation is just-in-time (JIT) meaning it is done as soon as a function or subroutine is called.
• The JIT code stays in memory for subsequent calls. In cases where there is not enough memory it is discarded thus making JIT process interpretive.
Languages
• Languages provided by MS– VB, C++, C#, J#, JScript
• Third-parties are building– APL, COBOL, Pascal, Eiffel, Haskell, ML,
Oberon, Perl, Python, Scheme, Smalltalk…
Windows Forms
• Framework for Building Rich Clients– RAD (Rapid Application Development)– Rich set of controls– Data aware– ActiveX® Support– Licensing– Accessibility– Printing support– Unicode support– UI inheritance
ASP.NET•ASP.NET is a technology used to create dynamic web application. It is based on .NET platform and support .NET compatible language for its application.•Features•Rich Class Framework:. Net Framework consists of around 4500 classes that encapsulate the rich functionality like XML data access, file upload, image generation and performance monitoring.
•Mobile Web Device Support: It provides mobile controls for developing mobile application. Using the application code, the mobile control auto generate WAP,WML.
ASP.NET
• Advantages – Powerful database-driven Support: It provides a
toolbox with rich set of tools to assist in the coding and designing. The toolbox has been incorporate within the IDE like Drag & Drop facilities and automatic deployments.
– Faster Web Application: Complication of code into machine language rather then interpretation of code makes ASP.NET web applications faster.
ASP.NET Web Forms
• Asp.net is 4th generation language mainly used for dynamic web application.
• Feature
• Code-behind Web Forms
• Easier for tools to generate
• Code within is compiled then executed
• Improved handling of state information
• Support for ASP.NET server controls– Data validation– Data bound grids
ASP.NET Web Services
• A technical definition– “A programmable application component accessible
via standard Web protocols”
IDE• It provides a stranded text editor to write
the .net applications.
• The Working environment of .net is know as IDE.
• It provides the common environment for designing,editing,debugging with in common environment is known as IDE.
• IDE has integrated compiler to compile and execute the application. The user can compile either single source file or complete project
Element of IDE
• Solution Explorer window
• Server Explorer window
• Properties window
• Error List window
• Code editor window & Toolbox
ADO.NET (Data and XML)
• Development tool that contains a rich set of productivity and debugging features
.NET – Hierarchy, Another View
CLR
CLR
Summary
• The .NET Framework– Dramatically simplifies development and deployment– Provides robust and secure execution environment– Supports multiple programming languages