1 / 14

.NET

.NET. Ying Chen Junwei Chen. What is Microsoft .NET. . NET is a development platform Incorporated into .NET COM+ component services ASP web development framework a commitment to XML and object-oriented design support for new web service development base on SOAP protocol ….

shubha
Download Presentation

.NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. .NET Ying Chen Junwei Chen

  2. What is Microsoft .NET • .NET is a development platform • Incorporated into .NET • COM+ component services • ASP web development framework • a commitment to XML and object-oriented design • support for new web service development base on SOAP protocol • …

  3. Visual Studio .NET .NET Enterprise Servers .NET Framework .NET Building Block Services Operating system on server, desktop and device .NET Platform

  4. .NET Framework Design Issues • Component Infrastructure • Language Integration • Internet Interoperation • Simple Development

  5. Web Services Web Forms Windows Forms Data and XML classes Framework Base Classes Common Language Runtime .NET Framework (Framework Class Library)

  6. Assembly • Assembly • Basic unit of deployment, versioning and security management • Consists of a manifest, a set of modules and an optional set of resources • Module • Intermediate Language (IL) • Logical Code • Manifest • Metadata • Describes different aspects of an Assembly

  7. Assembly (Cont'd) • Identity • Use sn.exe to generate public/private key pair for the an assembly • Use strong assembly name which combine assembly name, version and public key to identify an assembly. • Version • CLR allows any versions of the same assembly to execute at the same time on the same system • Use strong assembly name for the CLR to load the correct assembly version, which eliminates version conflicts • Security • Ensure the assembly security via digital signature with the key pair

  8. CommonLanguageRuntimeExecution

  9. .NET Common Language Runtime • Enforce type-safety • Runtime discoverability of code and code features • Support Assembly Identifying, Versioning, Security • Cross-language integration • Automatic Memory Management • Thread management • Exception handling • Security check

  10. Deploy and Use Assembly • Global Assembly Cache (GAC) • Tool GACUTIL.exe to view, install or uninstall Assemblies in GAC • Visual Studio .NET using “Add Reference” • Command Line csc /r:MyLib.dll hello.cs • Indicate the namespace in the source code and use the classes

  11. Framework Class Library • Consistent APIs to all language targeted to .NET • Interface to the CLR and underlying OS • Using FCL • Indicate the namespace in the source code • Use the classes • Important .NET namespaces • System, System.IO, System.Collections, System.Threading, System.Reflection, …

  12. Reference • .NET Home Page http://www.microsoft.com/net/default.asp • .Net Framework Training Modules http://www.devhood.com/training_modules/ • .NET Framework Essentials (O’REILLY) • Introduction to .NET (Microsoft)

More Related