SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Introduction to Visual Studio.NET   Integrated Information Systems Mike Helstrom Solution Architect [email_address]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is Microsoft .NET? ,[object Object],[object Object],[object Object],[object Object]
Next Generation Internet Web site Web site Web site Backend App Mega Service Backend App Mega Service Loosely-coupled, services connected by XML-based messages and contracts, written in many languages Service Device XML- msgs Service Service Service
What is Microsoft .NET? (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
.NET Infrastructure and Tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
.NET Framework
.NET Framework ,[object Object],[object Object],[object Object],[object Object],[object Object]
The .NET Framework Base Class Library Common Language Specification Common Language Runtime ADO.NET: Data and XML VB C++ C# Visual Studio.NET ASP.NET: Web Services and Web Forms JScript … Windows Forms Windows Forms
Common Language Runtime (CLR) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Common Language Runtime (CLR) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CLR: Execution Model VB Source code Compiler C++ C# Compiler Compiler Assembly IL Code Assembly IL Code Assembly IL Code Operating System Services Common Language Runtime JIT Compiler Native Code Managed code Unmanaged Component
.NET Framework Libraries ,[object Object],[object Object],[object Object],[object Object],[object Object]
.NET Framework Libraries
ASP.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASP.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Visual Studio.NET
Visual Studio.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JUMP to  .NET ,[object Object],[object Object],[object Object],[object Object],[object Object]
VS.NET Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Visual Studio.NET Demo
C#
Intro to C# ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design Goals C# ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Visual Basic.NET
Visual Basic.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VB.NET: Data Types ,[object Object],[object Object],[object Object],[object Object],[object Object],Dim intAge As Integer Dim intID As Long Dim intAge As Short Dim intID As Integer
VB.NET: Type vs. Structure ,[object Object],[object Object],[object Object],Type Customer CustomerNumber as Long CustomerName As String CustomerCompany As String End Type Structure Customer Public CustomerNumber as Integer Public CustomerName As String Public CustomerCompany As String End Structure
VB.NET: Property Functions ,[object Object],[object Object],Public Property Get CustomerName() As String CustomerName = m_CustName  End Property Public Property Let CustomerName(sCustName As String) m_CustName = sCustName End Property Public Property CustomerName() As String Get CustomerName = m_CustName End Get Set m_CustName = Value End Set End Property
VB.NET: Zero Bound Arrays ,[object Object],[object Object],[object Object],Dim arrElements(5) As String
VB.NET: Default Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],txtAddress = rs(“Addr_1”) lblFName = “First Name” txtAddress.Text = rs(“Addr_1”).value lblFName.Text = “First Name”
VB.NET Forms Designer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VB.NET Demo
VB.NET: New Declaration Syntax ,[object Object],[object Object],[object Object],Dim intLoop As Integer intLoop = 10 Dim intLoop As Integer = 10
VB.NET: Structured Exception Handling ,[object Object],[object Object],[object Object],On Error Goto ErrTag ... ‘ clean up Exit Function ErrTag: ‘ error handling ‘ clean up End Function Try ... Catch ‘ error handling Finally ‘ clean up End Try
VB.NET: Overloading ,[object Object],[object Object],Overloads Function ConvertSQL(ByVal strString As String) As String  ConvertSQL = "'" & strString & "'" End Function Overloads Function ConvertSQL(ByVal intNum As Integer) As String ConvertSQL = CStr(intNum) End Function
VB.NET: Inheritance Public Class Customer Private m_CustName As String Public Property CustomerName() As String Get CustomerName = m_CustName End Get Set m_CustName = Value End Set End Property  End Class Public Class CustCompany Inherits Customer Private m_CustCompany As String Public Property CustomerCompany() As String Get CustomerCompany = m_CustCompany End Get Set m_CustCompany = Value End Set End Property End Class
ADO.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ADO.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VB.NET Demo
VB 6 Moving Forward ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
TechNet Briefing ,[object Object],[object Object],[object Object],[object Object]
[object Object],Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
LiquidHub
 
Life as an asp.net programmer
Life as an asp.net programmerLife as an asp.net programmer
Life as an asp.net programmer
Arun Prasad
 

Was ist angesagt? (20)

Working in Visual Studio.Net
Working in Visual Studio.NetWorking in Visual Studio.Net
Working in Visual Studio.Net
 
Java Web Services
Java Web ServicesJava Web Services
Java Web Services
 
2016 mORMot
2016 mORMot2016 mORMot
2016 mORMot
 
Designing Optimized Symbols for InduSoft Web Studio Projects
Designing Optimized Symbols for InduSoft Web Studio ProjectsDesigning Optimized Symbols for InduSoft Web Studio Projects
Designing Optimized Symbols for InduSoft Web Studio Projects
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
 
Entity framework
Entity frameworkEntity framework
Entity framework
 
Life as an asp.net programmer
Life as an asp.net programmerLife as an asp.net programmer
Life as an asp.net programmer
 
Net framework
Net frameworkNet framework
Net framework
 
Debugging VBScript in InduSoft Web Studio Projects
Debugging VBScript in InduSoft Web Studio ProjectsDebugging VBScript in InduSoft Web Studio Projects
Debugging VBScript in InduSoft Web Studio Projects
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
BCA IPU VB.NET UNIT-I
BCA IPU VB.NET UNIT-IBCA IPU VB.NET UNIT-I
BCA IPU VB.NET UNIT-I
 
Entity Framework 4
Entity Framework 4Entity Framework 4
Entity Framework 4
 
Getting started with entity framework
Getting started with entity framework Getting started with entity framework
Getting started with entity framework
 
dot net technology
dot net technologydot net technology
dot net technology
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
.NET and C# Introduction
.NET and C# Introduction.NET and C# Introduction
.NET and C# Introduction
 
Namespaces in C#
Namespaces in C#Namespaces in C#
Namespaces in C#
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
C# advanced topics and future - C#5
C# advanced topics and future - C#5C# advanced topics and future - C#5
C# advanced topics and future - C#5
 

Andere mochten auch (9)

Peace out Pam
Peace out PamPeace out Pam
Peace out Pam
 
(02) c sharp_tutorial
(02) c sharp_tutorial(02) c sharp_tutorial
(02) c sharp_tutorial
 
T3 la fotografia3
T3 la fotografia3T3 la fotografia3
T3 la fotografia3
 
Visual Studio .NET2010
Visual Studio .NET2010Visual Studio .NET2010
Visual Studio .NET2010
 
Palestinian Statehood
Palestinian StatehoodPalestinian Statehood
Palestinian Statehood
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharp
 
ประวัติวันแม่
ประวัติวันแม่ประวัติวันแม่
ประวัติวันแม่
 
Gu iintro(java)
Gu iintro(java)Gu iintro(java)
Gu iintro(java)
 
Google Presentation
Google PresentationGoogle Presentation
Google Presentation
 

Ähnlich wie Visual studio.net (20)

Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
Net framework
Net frameworkNet framework
Net framework
 
Net framework
Net frameworkNet framework
Net framework
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Visual studio
Visual studioVisual studio
Visual studio
 
Dot netsupport in alpha five v11 coming soon
Dot netsupport in alpha five v11 coming soonDot netsupport in alpha five v11 coming soon
Dot netsupport in alpha five v11 coming soon
 
Introduction to Visual Studio.NET
Introduction to Visual Studio.NETIntroduction to Visual Studio.NET
Introduction to Visual Studio.NET
 
As Pdotnet
As PdotnetAs Pdotnet
As Pdotnet
 
Whidbey old
Whidbey old Whidbey old
Whidbey old
 
Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Session2(Mod)
Session2(Mod)Session2(Mod)
Session2(Mod)
 
VB.Net Mod1.pptx
VB.Net Mod1.pptxVB.Net Mod1.pptx
VB.Net Mod1.pptx
 
ASP
ASPASP
ASP
 
.Net language support
.Net language support.Net language support
.Net language support
 
Webhouse
WebhouseWebhouse
Webhouse
 
Bn1001 demo ppt advance dot net
Bn1001 demo ppt advance dot netBn1001 demo ppt advance dot net
Bn1001 demo ppt advance dot net
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Visual studio.net

  • 1. Introduction to Visual Studio.NET Integrated Information Systems Mike Helstrom Solution Architect [email_address]
  • 2.
  • 3.
  • 4. Next Generation Internet Web site Web site Web site Backend App Mega Service Backend App Mega Service Loosely-coupled, services connected by XML-based messages and contracts, written in many languages Service Device XML- msgs Service Service Service
  • 5.
  • 6.
  • 8.
  • 9. The .NET Framework Base Class Library Common Language Specification Common Language Runtime ADO.NET: Data and XML VB C++ C# Visual Studio.NET ASP.NET: Web Services and Web Forms JScript … Windows Forms Windows Forms
  • 10.
  • 11.
  • 12. CLR: Execution Model VB Source code Compiler C++ C# Compiler Compiler Assembly IL Code Assembly IL Code Assembly IL Code Operating System Services Common Language Runtime JIT Compiler Native Code Managed code Unmanaged Component
  • 13.
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 22. C#
  • 23.
  • 24.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 34.
  • 35.
  • 36.
  • 37. VB.NET: Inheritance Public Class Customer Private m_CustName As String Public Property CustomerName() As String Get CustomerName = m_CustName End Get Set m_CustName = Value End Set End Property End Class Public Class CustCompany Inherits Customer Private m_CustCompany As String Public Property CustomerCompany() As String Get CustomerCompany = m_CustCompany End Get Set m_CustCompany = Value End Set End Property End Class
  • 38.
  • 39.
  • 41.
  • 42.
  • 43.
  • 44.

Hinweis der Redaktion

  1. This chart summarizes the status of Microsoft SNA Server 4.0. By the way, SNA Server 4.0 is available now as a standalone product and as part of the newest version of Microsoft BackOffice Server - version 4.0.
  2. The .NET framework exposes numerous classes to the developer. These classes allow the development of rich client applications and Web based applications alike. In the above slide these classes have been divided into 4 areas. ASP.NET provides the core Web infrastructure such as Web Forms for UI based development and Web Services for programmatic interface development, User interface development on the Windows platform can be done using Windows Forms ADO.NET and XML provide the functionality for data access. Finally, the core base classes provide infrastructure services such as security, transaction management etc.
  3. We already know that an assembly does NOT contain native binary code, but instead MSIL code. Obviously before the MSIL code can be executed it must be converted into native binary instructions. Converted? Does this mean interpreted? NO! The MSIL code is compiled and not thrown away. This means that next time the code is requested it is already in the form of machine instructions and thus this mechanism in the log run is far more efficient than an interpreter for example. The compilation is carried out by a JIT (Just In Time) compiler. Does the compiler compile all of the code in one go? The answer to this question is NO. If this approach was taken there would be a long delay during the applications initialisation, and realistically not all the code within the module will be required in one go. Instead, when the code is loaded a ‘stub’ is connected to each method. When a method is called via the stub the compiler generates the binary native code. This mechanism goes a long way to describing why the compiler is called a ‘JIT’ compiler. Compiled code is only saved in the same process (run) of an application. And even then it's not guaranteed. we do what's called "code-pitching" which means we through away cold (or little used) JITed code if memory pressure requires it. We do persisted JITed code in the install time scenario. The benefit for to this system is obviously portability. A couple of things to think about - Let’s imagine you’ve built a managed component for the Intel Pentium III platform. It works fine. Later in the year Intel release a super new chip. When Microsoft release a new version of the JIT, it’s possible that this brand spanking new version of the JIT will have learned a few new tricks e.g. to make use of the new improved instruction set of the new Intel chip or new CPU registers! And finally, Microsoft plan to offer a tool called PREJIT. This tool will compile your assemblies into native code and save the resultant binary executable code to disk. When the assemblies are next loaded the binary code is already available thus improving startup time and execution speeds.
  4. <none>