Anda di halaman 1dari 20

ASP.

NET TRAINING

PRESENTER:NAME-SANYAM JAIN B.TECH - 7TH SEMESTER.


4/19/12

.NET GOALS
o o o o o o o o

Cross-platform interoperability Multi-language support Code reuse Automatic resource management Type safety Debugging Error handling Security

4/19/12

CONTENTS
What is .NET? v.NET Framework vVisual Studio.NET vC# vQ & A
v

4/19/12

OVERVIEW
The .NET is a framework provided by microsoft that has been created to make windowapplications,webapplications,mobile applications etc.
v

NGWS(Next Generation Window Services) is a project that will develop the .NET .
v

The First version of .NET i.e Framework1 were developed on 13 feb. 2003
v

.NET is a platform Independent CLR(Common Language Runtime).

w.r.t

4/19/12

.NET FRAMEWORK
v

parts:
o

.NET Framework consists of 3 main

Common Language Runtime Framework Classes/Libraries ASP.NET

4/19/12

CLR(COMMON LANGUAGE RUNTIME)


v

A common runtime for all .NET languages


o o o o o

Common type system Common metadata Intermediate Language (IL) to native code compilers Memory allocation and garbage collection Code execution and security C#, VB, Jscript, Visual C++ from Microsoft Perl, Python, Smalltalk, Cobol, Haskell, Mercury, Eiffel, Oberon, Oz, Pascal, APL, CAML, Scheme, etc.

Over 15 languages supported today


o o

Rational is working on Java compiler for CLR

4/19/12

CLR(COMMON LANGUAGE RUNTIME)


v

Enables cross-language interoperability


o

Common Language Specification describes interoperability requirements

Language/Hardware/OS Independent
o

Compact framework for small devices

Industrial strength Garbage collector


o

Designed for multi-processor servers

4/19/12

Introduction to .NET The .NET Platform


Clients Applications

Web Form Protocols: HTTP, HTML, XML, SOAP, UDDI

Web Service Tools: Visual Studio.NET, Notepad

.NET Framework Windows

Your Internal Web Service

.NET Foundation Web Services

Third-Party Web Services

.NET Enterprise Servers

4/19/12

Common Language Runtime Compilation

Source Code

Assembly

Compiler
C++, C#, VB or any .NET language

csc.exe or vbc.exe

DLL or EXE

4/19/12

The .NET Framework


v

A set of technologies for developing and using components to create:


o o o

Web Forms Web Services Windows Applications Development Debugging Deployment Maintenance
4/19/12

Supports the software lifecycle


o o o o

ASP.NET
ASP.NET is a new programming framework designed to make web apps easier to: o Build, Deploy, Run
v v

Radical advancement of todays ASP o Broader programming language support o Visual Basic.NET, Jscript.NET, C# o Easier page programming model o Namespaces o Richer XML features and integration o XCopy/FTP deployment o Better reliability and recovery o Excellent Visual Studio designer support
4/19/12

INTRO TO C#
Design Goals of C# o Component Orientated Language o Robust and Durable Software vFeatures o Classes o Namespaces o No header files vVB.NET vs. C# o Ability to embed C++ code in C# code o Elegance of C/C++ language
v

4/19/12

ASP.NET
v

ASP+ is a simple, consistent, and powerful web application development paradigm for the .NET Framework o Build web pages (mybank.com) o Traditionally browser targeted (.aspx) o Build web services (credit card authorization) o Programmable application logic (.asmx) o Uses: SOAP, SCL, and DISCO Source file (text and notepad accessible) is compiled at run-time .asmx file can either contain application logic or point to .NET assembly/class o Ability to programmatically determine what is web service accessible and
4/19/12

ASP.NET AJAX
o

To add the controls to the Toolbox in Visual Web Developer: o Right click the Toolbox and choose Add Tab. o Type AJ Cont Tool t as the name of the AX rol ki new tab. o Right click the tab and select Choose Items. o Click Browse... and select Aj axCont Tool t dl from the rol ki . l Sam pl ebSi e\ n subfolder. eW t Bi o Finally, click OK, and a list of available Ajax controls will appear under the AJAX Control Toolkit tab when you are in Design mode.
4/19/12

ASP.NET AJAX
o o

o o

S cri ptM an ager Control The S cri ptM anager control manages the clientside scripts that enable asynchronous Ajax functionality. There can be only one Scri M anager per page. pt To incorporate controls from the AJAX Control Toolkit, use the Tool tS cri ki ptM anager, which derives from Scri M anager, instead. pt Drag the Tool t ki Scri M anager from the AJAX pt Control Toolkit tab in the Toolbox to the top of the page. A script manager must appear before any controls that use the scripts it manages. 4/19/12

VISUAL STUDIO 2010

4/19/12

VISUAL STUDIO.NET

Integrated Development Environment v Visual Basic.NET o Many language enhancements o Inheritance,Overloading, Free Threading v Visual C++ o Integration with .NET Framework with managed extensions (classes) v C# o New development language o Based on C/C++ with Garbage Collection/Memory Management

4/19/12

FOUR PRINCIPLES
The Internet will become your personal network
v

"anywhere, anytime" access to your data on the Internet from any device
v

new ways, such as speech and handwriting to interact with your data
v

The boundaries that separate your applications from each other and from the Internet will disappear
v

4/19/12

features
v

.NET Applications are hardware-independent .NET Applications are portable .NET supports upto 70 languages

It is simple. Indeed, for a programmer, C# provides an easy transition from C++ and Java due to its inherent feature of simplicity
v

C# is that it is object-oriented and supports all the essential object-oriented concepts such as encapsulation, inheritance, and polymorphism 4/19/12
v

THANK YOU!

4/19/12

Anda mungkin juga menyukai