32
Visual Studio 2008 & .NET 3.5

Visual Studio 2008 & .Net 3.5

Embed Size (px)

Citation preview

Page 1: Visual Studio 2008 & .Net 3.5

Visual Studio 2008 & .NET 3.5

Page 2: Visual Studio 2008 & .Net 3.5

The Driving Forces for Change

Competition

Security Regulatory Compliance

End User Productivity

AgilityCost

Reduction andOutsourcing

CustomerConnection

Business Resultsand New Value

TechnologyChange

Page 3: Visual Studio 2008 & .Net 3.5

No Company Is An Island

Customers

Suppliers Employees

Partners

Suppliers

Suppliers

Employees

Customers

Partners Partners

It Is Business Processes and People That Knit The Participants and Capabilities Together

Page 4: Visual Studio 2008 & .Net 3.5

Software Drives Business Value

Neil Hutson
Software and the ecosystem that the audeince create is driving the business value within organisations. THis is split into first areas of focus, information, relationshops, process, people and business processFor msft, we have focused our software business to reflex this, through a focus on Application Develoeprs, Informatgion workers and IT Pros
Page 5: Visual Studio 2008 & .Net 3.5

Context for Software Development

Civil Engineering

Design risks are low

Design cost is small relative to build cost Opportunity to deliver incremental value is rare

Software Engineering

Design can evolve as lessons are learnedDesign and build costs are relatively equalDelivering incremental value is beneficial

Page 6: Visual Studio 2008 & .Net 3.5

Project Managers

ALM Key Roles

Business Analysts

Architects

UI Designers

DBAs

DevelopersTesters

Operations

Development Executives

Requirements ManagementQoS ManagementRequirements Analysis

Architecture ModelingAnalysis and DesignDesign for Deployment

UI DesignUI PrototypingUI Flow Modeling

Database DesignDatabase Source ControlDatabase Test Data Gen

Code AnalysisUnit TestingVersion Control

Test Case ManagementManual TestingLoad TestingAutomated Testing

Customer SupportInfrastructure ArchitectureInfrastructure Deployment

Portfolio ManagementProject OrganizationStakeholder Communication

Project PlanningTask AssignmentBug Tracking

Page 7: Visual Studio 2008 & .Net 3.5

.NET…..

Page 8: Visual Studio 2008 & .Net 3.5

.NET Namespaces…..

Page 9: Visual Studio 2008 & .Net 3.5

How things work ….

Page 10: Visual Studio 2008 & .Net 3.5

How things work ….

Page 11: Visual Studio 2008 & .Net 3.5

How things work ….

Page 12: Visual Studio 2008 & .Net 3.5

How things work ….

Page 13: Visual Studio 2008 & .Net 3.5

Release History

Page 14: Visual Studio 2008 & .Net 3.5

What is .NET – Industry ViewSoftware that connects people, information and devices

Page 15: Visual Studio 2008 & .Net 3.5
Page 16: Visual Studio 2008 & .Net 3.5

Why .NET?

Interoperability between languages and execution environments Uniformity in schema or formats for Data Exchange using XML, XSLExtend or use existing code that is validProgramming complexity of environment is reduced

Page 17: Visual Studio 2008 & .Net 3.5

The .NET Framework Design Goals

Component Development for the Internet"Cross-Language Development”

Inheritance, Debugging, Exception handlingReliability and SecuritySimple Development and DeploymentDevice-agnostic

Page 18: Visual Studio 2008 & .Net 3.5

Components of the Framework

OSOSCommon Language Runtime (CLR)Common Language Runtime (CLR)

Base Class Library (BCL)Base Class Library (BCL)

ADO .NET and XMLADO .NET and XML

ASP.NETASP.NETWeb Services Web FormsWeb Services Web Forms

WindowsWindowsFormsForms

Common Language Specifications (CLS)

VB C++ C# J# … Visual Studio .NET

Visual Studio .NET

Page 19: Visual Studio 2008 & .Net 3.5

.NET Framework Libraries

Page 20: Visual Studio 2008 & .Net 3.5

Visual Studio.NETVB C++ C# JScript J#Common Language Specification/ Intermediate LanguageASP.NETWeb Forms Web

ServicesMobile Internet Toolkit

WindowsForms

ADO.NET and XMLBase Class Library

Swing

Java Foundation Class (JFC)JDBC / XML SAX&DOM Parser

JDK

, BlueJ, JD

eveloper, JB

uilder, WebSphere

Studio, Forte, Visual

Café, etc.Java Programming LanguageJava Byte Code

Java ServletJSP / JavaBean

Common Language RuntimeJava Virtual MachineOperating System

Mapping J2EE to .NET Framework

Page 21: Visual Studio 2008 & .Net 3.5

Common Language Runtime

Common Type SystemMetadataExecution Engine

Page 22: Visual Studio 2008 & .Net 3.5

Common Language Runtime

Class Loader

MSIL to NativeCompilers (JIT)

CodeManager

GarbageCollector (GC)

Security Engine Debug Engine

Type Checker Exception Manager

Thread Support COM Marshaler

Base Class Library Support

Page 23: Visual Studio 2008 & .Net 3.5

Intermediate Language (IL)

VBVB VCVC ...... ScriptScript

ILILNativeNativeCodeCode

““Econo-JITEcono-JITCompilerCompiler

Standard JITStandard JITCompilerCompiler

NativeNativeCodeCode

Install timeInstall timeCode GenCode Gen

Common Language RuntimeCommon Language Runtime

Assembly Assembly Language Language of CLRof CLR

Code is Code is never never interpretedinterpreted

Page 24: Visual Studio 2008 & .Net 3.5

JIT Compilation and Runtime

Source Code .cs

Compiler.exe

MSILMSIL containing .NET Assembly

JIT’ter

Enter Title Here

csc.exe(Compile time)

Run time

CLR

Memory

Page 25: Visual Studio 2008 & .Net 3.5

Languages lcc (MS Research Redmond)Mondrian (Utrecht)ML (MS Research Cambridge)Mercury (Melbourne U.) Oberon (Zurich University)Oz (Univ of Saarlandes)PerlPythonScheme (Northwestern U.)SmallTalk

Ada APL Basic (Visual Basic) C# C C++ J# COBOL Component Pascal

(Queensland Univ of Tech)

ECMAScript (JScript) Eiffel (Monash University) Haskell

(Utrecht University)

Page 26: Visual Studio 2008 & .Net 3.5

Visual Studio .NETIncreased programming productivity

Easier to write code: drag and drop Web App and Services Development.Fully supports the .NET Framework

Simplified developmentMulti-language supportImproved debuggingUnified IDE

Powerful design toolsWindows Forms, Web FormsXML and component designersConsistent set of tools across languages

Page 27: Visual Studio 2008 & .Net 3.5

Web Web + Silverlight Windows

Platform ASP.net 2.0 ASP.net 3.5* Silverlight 1.0 Silverlight 1.1* WPF 3.0 WPF 3.5*

Execution Location

Web Server + Browser

Web Browser as Plugin

Web Browser as Plugin

in IE or on desktop

in IE/FF or on desktop

Client .Net None None Silverlight .Net 3.0 .Net 3.5*

OS Any Win/Mac Win/Mac Win XP or Greater

Win XP or Greater

Client Enablers HTML + AJAX + Media, Vectors, Animations

+ UI Controls, Panels, .Net code

+ 3D, GPU, Controls, Panels, Documents

+ NetFx 3.5

Markup Model .aspx .xaml .xaml .xaml

Programming Model

.aspx.vb/.cs .js .xaml.vb/.cs.xaml.rb/.py

.xaml.vb/.cs

Dev Tools VS 2005 VS 2005VS 2008*

VS 2005 +VS 2008* +*

VS 2005+VS 2008* +*

VS2005 +*VS2008*

VS2008*

Designer Tools Frontpage ExpWeb 1.0 ExpDesign 1.0ExpBlend 2.0*ExpMedia 2.0*

ExpDesign 1ExpBlend 2*ExpMedia 2*

ExpDesign 1ExpBlend 1

ExpDesign 1ExpBlend 1

Page 28: Visual Studio 2008 & .Net 3.5

.NET n-Tier Application ArchitecturePresentation Tier

DataConnection

DataConnection

DataAdapter

DataAdapter

Data Set

InternetIntranet

Web FormBrowser

Window Form

Data Set

Web Form

Business Tier: ASP.NET or Web Services

Business to Business

Data TierDatabase

XML

XML

HTML

Page 29: Visual Studio 2008 & .Net 3.5

What does MSIL look like?ILDASM.exe

Page 30: Visual Studio 2008 & .Net 3.5

Developing Applications ….Console based Application – Demo 1Window based Application – Demo 2Developing Custom Controls – Demo 3Playing with XML Documents – Demo 4Playing with Text Files – Demo 5Data Access – Demo 6Windows Application Deployment – Demo 7

Page 31: Visual Studio 2008 & .Net 3.5

Your Task …Design & Develop a VB9 Application which does the following:

Read Data from Text File & Prints (User Name, other details) on Windows FormDesign a Control which takes input from a Textbox and on Button Click Adds up value to the Combobox, Textbox only allows Names to be inserted, no numeric dataDesign a Data Entry Form for Student Table which allows to View, Edit, Update & Delete records. (This form should be automatically generated)Manually Design an XML Document and when the Close Button is hit the application should enter Username and Current Timestamp in to that file.

If you are done with the above and think its easy then do the following, else keep trying

1) Student DB should have images in it and they should be displayed on form2) Generate the XML file with the schema on the fly plus also define its schema and validate it

as well

For the above there will be NO HELP in this workshop and will be treated as an assignment..

Page 32: Visual Studio 2008 & .Net 3.5

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.