Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
-
Upload
ethelbert-ford -
Category
Documents
-
view
217 -
download
0
Transcript of Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
![Page 1: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/1.jpg)
Rajiv and Shipra
Introduction to .NET (asp.net,c#,vb)
![Page 2: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/2.jpg)
.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.
![Page 3: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/3.jpg)
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.
![Page 4: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/4.jpg)
.NET – What Is It?
Operating System + Hardware
.NET Framework
.NET Application
![Page 5: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/5.jpg)
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
![Page 6: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/6.jpg)
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
![Page 7: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/7.jpg)
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
![Page 8: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/8.jpg)
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
![Page 9: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/9.jpg)
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.
![Page 10: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/10.jpg)
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…
![Page 11: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/11.jpg)
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
![Page 12: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/12.jpg)
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.
![Page 13: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/13.jpg)
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.
![Page 14: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/14.jpg)
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
![Page 15: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/15.jpg)
ASP.NET Web Services
• A technical definition– “A programmable application component accessible
via standard Web protocols”
![Page 16: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/16.jpg)
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
![Page 17: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/17.jpg)
Element of IDE
• Solution Explorer window
• Server Explorer window
• Properties window
• Error List window
• Code editor window & Toolbox
![Page 18: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/18.jpg)
ADO.NET (Data and XML)
• Development tool that contains a rich set of productivity and debugging features
![Page 19: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/19.jpg)
.NET – Hierarchy, Another View
CLR
CLR
![Page 20: Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)](https://reader036.fdocuments.in/reader036/viewer/2022081809/56649ef65503460f94c09c12/html5/thumbnails/20.jpg)
Summary
• The .NET Framework– Dramatically simplifies development and deployment– Provides robust and secure execution environment– Supports multiple programming languages