Download - Visual Studio 2008 & .Net 3.5
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
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
Software Drives Business Value
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
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
.NET…..
.NET Namespaces…..
How things work ….
How things work ….
How things work ….
How things work ….
Release History
What is .NET – Industry ViewSoftware that connects people, information and devices
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
The .NET Framework Design Goals
Component Development for the Internet"Cross-Language Development”
Inheritance, Debugging, Exception handlingReliability and SecuritySimple Development and DeploymentDevice-agnostic
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
.NET Framework Libraries
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
Common Language Runtime
Common Type SystemMetadataExecution Engine
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
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
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
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)
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
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
.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
What does MSIL look like?ILDASM.exe
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
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..
© 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.