0% found this document useful (0 votes)
7 views14 pages

Dotnet

Uploaded by

vikypc007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views14 pages

Dotnet

Uploaded by

vikypc007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 14

.

NET Framework

Presented by: Bryan Ng


Overview
 Introduction

 C#

 Common Language Infrastructure


 ASP.NET

 Web Services
Introduction
 First
introduced in June 2000
 What is .NET? Microsoft’s definition:

• The .NET Framework is a development and


execution environment that allows different
programming languages & libraries to work
together seamlessly to create Windows-based
applications that are easier to build, manage,
deploy, and integrate with other networked
systems.
Introduction (continued)
 Selling Points:
• Interpolation of programs written in different
programming languages
• Extensive libraries to simplify common
development work
• ASP.NET and Web Services easily
implemented like any applications
 Why the name .NET?
• No special meaning…
C#
A new language designed by Microsoft
to work with .NET
 Based on C++

 Like Java
Some comparisons to Java
 Similarities

• Garbage Collection
• Interfaces
• Everything belongs to a class
 Differences

• Properties (vs. get/set functions)


• Enumerators
• For-each loop
Common Language Infrastructure
 Common Language Specification
• A set of types and functionalities that
programming languages and .NET libraries
agree on
 Result:projects written in different
languages can be linked together
 .NET languages:

• VB, Java, C++, Javascript, etc


CLI (continued)
 Extensive libraries to perform common
tasks, available to all languages for all
kinds of application
 Intermediate Language (IL)

• Programs are compiled into executables in IL


• IL then compiled to machine code at runtime
.NET and Java

C# Java VB Java Language

Libraries Libraries

IL Byte Code

Machine Code 1 Machine Code 2 Machine Code 1 Machine Code 2


.NET vs Java
.NET Java
 Supports many  Only Java language is
programming languages supported
 .NET CLR fully  Run on any system with
implemented on Windows JVM installed
only (mono project  SDK as well as well as
incomplete) most development tools are
 C# is better designed free
 SDK and .NET framework
is free, but development
tools are usually expensive
ASP.NET
 Web Development Platform
 Compiled program instead of scripting

 Objected Oriented Approach

 Control and Event based

 Extensive libraries
Web Services
 RPC over Internet
 Provide functions through XML

messaging system
 .NET platform makes it easy to create

web services
• Create a web service much like you do an
ASP.NET page
.NET 2.0
 Tobe released this year (around June)
 Some new features:

• C#: Generics, Iterators, etc


• ASP.NET: more controls, master page
• Visual Studio .NET: more user friendly
Demo
 Projectswith different languages
 Consuming the Google Web Service

 Developing a simple Web Service

You might also like