SlideShare a Scribd company logo
1 of 20
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 1
Chapter 1
How to get started with
Visual Studio
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 2
A Windows Forms application running on the
Windows desktop
Radio Button
Label
Text Box
Button
Form and Controls
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 3
A Web Forms application running in a Web
browser
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 4
Visual Studio 2010 Editions
Edition Description
Express Edition A free, downloadable edition that supports just
one of the Visual Studio programming
languages. There is also an Express Edition of
SQL Server called SQL Server 2008 Express.
Professional Edition For individual developers who want to build a
wide variety of Windows, web, mobile, and
Office-based solutions
Premium Edition For individuals and teams who want to build
scalable applications; includes standard testing
tools, database deployment and change-
management tools, and basic lifecycle
management tools.
Ultimate Edition For teams; includes full testing, modeling,
database, and lifecycle management tools.
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 5
Programming languages supported by
Visual Studio 2010
• Visual Basic
• Visual C#
• Visual C++
• Visual F#
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 6
The .NET Framework
Operating System and Hardware
Windows XP Windows Vista Windows 7 Other Operating Systems
.NET Framework
.NET Applications
Visual Basic Visual C# Visual C++ Visual F#
.NET Framework Class Library
Windows Forms classes ASP.NET classes Other classes
Common Language Runtime
Managed applications Common Type System Intermediate Language
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 7
The Visual Studio IDE
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 8
How a C# application is compiled and run
Solution
.NET FrameworkVisual Studio
Project
Common
Language
Runtime
Integrated
Development
Environment
Source files
C#
compiler
1 2 3
Assembly
Intermediate Language (IL)
Class references
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 9
The Visual Studio Start Page
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 10
The Open Project dialog box
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 11
Project and solution concepts
• Every C# project has a project file with an extension of csproj that
keeps track of the files that make up the project and records
various settings for the project.
• Every solution has a solution file with an extension of sln that
keeps track of the projects that make up the solution.
• When you open a project file, Visual Studio opens the solution
that contains the project. And when you open a solution file,
Visual Studio automatically opens all the projects contained in the
solution.
• The project file can be stored in the same directory as the solution
file or in one of its subdirectories.
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 12
The Form Designer window of Visual Studio
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 13
The Code Editor window of Visual Studio
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 14
The Solution Explorer
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 15
Project files
• The Solution Explorer uses different icons to distinguish between
source code files that define forms and those that don’t.
• Each form is defined by two C# source files where each file
contains a partial class. The file with the cs extension contains the
code that’s entered by the programmer; the file with the
Designer.cs extension contains the code that’s generated when the
programmer works with the Form Designer. When the project is
compiled, these partial classes are combined into a single class
that determines the appearance and operation of the form.
• A source code file that doesn’t define a form is usually stored in a
single C# source file that contains a single class.
• The References folder contains references to the assemblies for
the namespaces that the application can use. These namespaces
contain the classes that the project requires. In most cases, all the
references that you need are included when the project is created.
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 16
Visual Studio with two floating windows and a
hidden window
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 17
How to rearrange windows
• To undock a docked window so it floats on the screen, drag it by its
title bar away from the edge of the application window or double-
click its title bar.
• To dock a floating window, drag it by its title bar onto one of the
positioning arrows that become available. Or hold down the Ctrl
key and double-click its title bar to return it to its previous docked
location.
• To hide a docked window, click its Auto Hide button. Then, the
window is displayed as a tab at the edge of the screen, and you can
display it by placing the mouse pointer over the tab.
• If two or more windows are grouped into tabbed windows, you can
display any window in the group by clicking on its tab.
• If you dock, undock, hide, or unhide a tabbed window, all the
windows in the group are docked, undocked, hidden, or unhidden.
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 18
The form that’s displayed when the Financial
Calculations project is run
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 19
How to build a project without running it
• Use the BuildBuild Solution command. Or, right-click the
project in the Solution Explorer and select the Build command
from the shortcut menu.
How to run a project
• You can run a project by clicking on the Start Debugging button
in the Standard toolbar or by pressing F5. Then, the first form of
the project is displayed on top of the Visual Studio window.
• If the project hasn’t already been built, the project is first built and
then run.
Activity
• Use the information in Appendix A to
download sample files from Murach’s web
site
• Work your way through the exercises at the
end of chapter 1
Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 20

More Related Content

What's hot

C# Tutorial MSM_Murach chapter-03-slides
C# Tutorial MSM_Murach chapter-03-slidesC# Tutorial MSM_Murach chapter-03-slides
C# Tutorial MSM_Murach chapter-03-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-16-slides
C# Tutorial MSM_Murach chapter-16-slidesC# Tutorial MSM_Murach chapter-16-slides
C# Tutorial MSM_Murach chapter-16-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-05-slides
C# Tutorial MSM_Murach chapter-05-slidesC# Tutorial MSM_Murach chapter-05-slides
C# Tutorial MSM_Murach chapter-05-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-07-slides
C# Tutorial MSM_Murach chapter-07-slidesC# Tutorial MSM_Murach chapter-07-slides
C# Tutorial MSM_Murach chapter-07-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-10-slides
C# Tutorial MSM_Murach chapter-10-slidesC# Tutorial MSM_Murach chapter-10-slides
C# Tutorial MSM_Murach chapter-10-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-15-slides
C# Tutorial MSM_Murach chapter-15-slidesC# Tutorial MSM_Murach chapter-15-slides
C# Tutorial MSM_Murach chapter-15-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slidesC# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-12-slides
C# Tutorial MSM_Murach chapter-12-slidesC# Tutorial MSM_Murach chapter-12-slides
C# Tutorial MSM_Murach chapter-12-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-13-slides
C# Tutorial MSM_Murach chapter-13-slidesC# Tutorial MSM_Murach chapter-13-slides
C# Tutorial MSM_Murach chapter-13-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-11-slides
C# Tutorial MSM_Murach chapter-11-slidesC# Tutorial MSM_Murach chapter-11-slides
C# Tutorial MSM_Murach chapter-11-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-06-slides
C# Tutorial MSM_Murach chapter-06-slidesC# Tutorial MSM_Murach chapter-06-slides
C# Tutorial MSM_Murach chapter-06-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-19-slides
C# Tutorial MSM_Murach chapter-19-slidesC# Tutorial MSM_Murach chapter-19-slides
C# Tutorial MSM_Murach chapter-19-slidesSami Mut
 
Content
Content Content
Content o3aroo
 
Chapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface DesignChapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface Designfrancopw
 
Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vbarjg_vijay
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010vchircu
 
Diving into VS 2015 Day1
Diving into VS 2015 Day1Diving into VS 2015 Day1
Diving into VS 2015 Day1Akhil Mittal
 

What's hot (20)

C# Tutorial MSM_Murach chapter-03-slides
C# Tutorial MSM_Murach chapter-03-slidesC# Tutorial MSM_Murach chapter-03-slides
C# Tutorial MSM_Murach chapter-03-slides
 
C# Tutorial MSM_Murach chapter-16-slides
C# Tutorial MSM_Murach chapter-16-slidesC# Tutorial MSM_Murach chapter-16-slides
C# Tutorial MSM_Murach chapter-16-slides
 
C# Tutorial MSM_Murach chapter-05-slides
C# Tutorial MSM_Murach chapter-05-slidesC# Tutorial MSM_Murach chapter-05-slides
C# Tutorial MSM_Murach chapter-05-slides
 
C# Tutorial MSM_Murach chapter-07-slides
C# Tutorial MSM_Murach chapter-07-slidesC# Tutorial MSM_Murach chapter-07-slides
C# Tutorial MSM_Murach chapter-07-slides
 
C# Tutorial MSM_Murach chapter-10-slides
C# Tutorial MSM_Murach chapter-10-slidesC# Tutorial MSM_Murach chapter-10-slides
C# Tutorial MSM_Murach chapter-10-slides
 
C# Tutorial MSM_Murach chapter-15-slides
C# Tutorial MSM_Murach chapter-15-slidesC# Tutorial MSM_Murach chapter-15-slides
C# Tutorial MSM_Murach chapter-15-slides
 
C# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slidesC# Tutorial MSM_Murach chapter-17-slides
C# Tutorial MSM_Murach chapter-17-slides
 
C# Tutorial MSM_Murach chapter-12-slides
C# Tutorial MSM_Murach chapter-12-slidesC# Tutorial MSM_Murach chapter-12-slides
C# Tutorial MSM_Murach chapter-12-slides
 
C# Tutorial MSM_Murach chapter-13-slides
C# Tutorial MSM_Murach chapter-13-slidesC# Tutorial MSM_Murach chapter-13-slides
C# Tutorial MSM_Murach chapter-13-slides
 
C# Tutorial MSM_Murach chapter-11-slides
C# Tutorial MSM_Murach chapter-11-slidesC# Tutorial MSM_Murach chapter-11-slides
C# Tutorial MSM_Murach chapter-11-slides
 
C# Tutorial MSM_Murach chapter-06-slides
C# Tutorial MSM_Murach chapter-06-slidesC# Tutorial MSM_Murach chapter-06-slides
C# Tutorial MSM_Murach chapter-06-slides
 
C# Tutorial MSM_Murach chapter-19-slides
C# Tutorial MSM_Murach chapter-19-slidesC# Tutorial MSM_Murach chapter-19-slides
C# Tutorial MSM_Murach chapter-19-slides
 
Intake 38 8
Intake 38 8Intake 38 8
Intake 38 8
 
Content
Content Content
Content
 
Chapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface DesignChapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface Design
 
Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vba
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
 
Visual programming
Visual programmingVisual programming
Visual programming
 
Diving into VS 2015 Day1
Diving into VS 2015 Day1Diving into VS 2015 Day1
Diving into VS 2015 Day1
 
Vb basics
Vb basicsVb basics
Vb basics
 

Viewers also liked

C# Tutorial MSM_Murach chapter-04-slides
C# Tutorial MSM_Murach chapter-04-slidesC# Tutorial MSM_Murach chapter-04-slides
C# Tutorial MSM_Murach chapter-04-slidesSami Mut
 
Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016Zohar Elkayam
 
C# Tutorial MSM_Murach chapter-23-slides
C# Tutorial MSM_Murach chapter-23-slidesC# Tutorial MSM_Murach chapter-23-slides
C# Tutorial MSM_Murach chapter-23-slidesSami Mut
 
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMSPL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMSraj upadhyay
 

Viewers also liked (7)

C# Tutorial MSM_Murach chapter-04-slides
C# Tutorial MSM_Murach chapter-04-slidesC# Tutorial MSM_Murach chapter-04-slides
C# Tutorial MSM_Murach chapter-04-slides
 
Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016Advanced PL/SQL Optimizing for Better Performance 2016
Advanced PL/SQL Optimizing for Better Performance 2016
 
C# Tutorial MSM_Murach chapter-23-slides
C# Tutorial MSM_Murach chapter-23-slidesC# Tutorial MSM_Murach chapter-23-slides
C# Tutorial MSM_Murach chapter-23-slides
 
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMSPL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMS
 
tutotial netbeans
tutotial netbeanstutotial netbeans
tutotial netbeans
 
MSM_Time
MSM_TimeMSM_Time
MSM_Time
 
Course Wikis
Course WikisCourse Wikis
Course Wikis
 

Similar to Visual Studio 2010 Editions & Supported Programming Languages

Membangun Desktop App
Membangun Desktop AppMembangun Desktop App
Membangun Desktop AppFajar Baskoro
 
Visual Studio 2008 Overview
Visual Studio 2008 OverviewVisual Studio 2008 Overview
Visual Studio 2008 OverviewRoman Okolovich
 
Managing a Project VB reprt Carl Josol 1.pptx
Managing a Project VB reprt Carl Josol 1.pptxManaging a Project VB reprt Carl Josol 1.pptx
Managing a Project VB reprt Carl Josol 1.pptxRoyCatampongan1
 
Csc153 chapter 03
Csc153 chapter 03Csc153 chapter 03
Csc153 chapter 03PCC
 
Lesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptxLesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptxEllenGracePorras
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0sanket1996
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxEliasPetros
 
How to work with code blocks
How to work with code blocksHow to work with code blocks
How to work with code blocksTech Bikram
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoMamgmo Magnda
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdfLimEchYrr
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptxLimEchYrr
 
TechnoGeek training report
TechnoGeek training reportTechnoGeek training report
TechnoGeek training reportAnup Singh
 
Introduction to UX for Mesiniaga Academy
Introduction to UX for Mesiniaga AcademyIntroduction to UX for Mesiniaga Academy
Introduction to UX for Mesiniaga AcademyZainul Zain
 
Java Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayJava Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayLiz Sims
 
Designing and developing products for multiple platforms
Designing and developing products for multiple platformsDesigning and developing products for multiple platforms
Designing and developing products for multiple platformsDesignit
 
Programming basics
Programming basicsProgramming basics
Programming basicsSenri DLN
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverterJaoued Ahmed
 

Similar to Visual Studio 2010 Editions & Supported Programming Languages (20)

Membangun Desktop App
Membangun Desktop AppMembangun Desktop App
Membangun Desktop App
 
W1.pptx
W1.pptxW1.pptx
W1.pptx
 
Visual Studio 2008 Overview
Visual Studio 2008 OverviewVisual Studio 2008 Overview
Visual Studio 2008 Overview
 
Managing a Project VB reprt Carl Josol 1.pptx
Managing a Project VB reprt Carl Josol 1.pptxManaging a Project VB reprt Carl Josol 1.pptx
Managing a Project VB reprt Carl Josol 1.pptx
 
Csc153 chapter 03
Csc153 chapter 03Csc153 chapter 03
Csc153 chapter 03
 
Lesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptxLesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptx
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
 
How to work with code blocks
How to work with code blocksHow to work with code blocks
How to work with code blocks
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul Yao
 
vb.pptx
vb.pptxvb.pptx
vb.pptx
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdf
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptx
 
TechnoGeek training report
TechnoGeek training reportTechnoGeek training report
TechnoGeek training report
 
Introduction to UX for Mesiniaga Academy
Introduction to UX for Mesiniaga AcademyIntroduction to UX for Mesiniaga Academy
Introduction to UX for Mesiniaga Academy
 
Dreaweaver cs5
Dreaweaver cs5Dreaweaver cs5
Dreaweaver cs5
 
Java Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayJava Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage Essay
 
Designing and developing products for multiple platforms
Designing and developing products for multiple platformsDesigning and developing products for multiple platforms
Designing and developing products for multiple platforms
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
 

More from Sami Mut

C# Tutorial MSM_Murach chapter-09-slides
C# Tutorial MSM_Murach chapter-09-slidesC# Tutorial MSM_Murach chapter-09-slides
C# Tutorial MSM_Murach chapter-09-slidesSami Mut
 
C# Tutorial MSM_Murach chapter-08-slides
C# Tutorial MSM_Murach chapter-08-slidesC# Tutorial MSM_Murach chapter-08-slides
C# Tutorial MSM_Murach chapter-08-slidesSami Mut
 
chapter 5 Java at rupp cambodia
chapter 5 Java at rupp cambodiachapter 5 Java at rupp cambodia
chapter 5 Java at rupp cambodiaSami Mut
 
chapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodiachapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodiaSami Mut
 
chapter 3 Java at rupp cambodia
chapter 3 Java at rupp cambodiachapter 3 Java at rupp cambodia
chapter 3 Java at rupp cambodiaSami Mut
 
chapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodiachapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodiaSami Mut
 
chapter 1 Java at rupp cambodia
chapter 1 Java at rupp cambodiachapter 1 Java at rupp cambodia
chapter 1 Java at rupp cambodiaSami Mut
 

More from Sami Mut (7)

C# Tutorial MSM_Murach chapter-09-slides
C# Tutorial MSM_Murach chapter-09-slidesC# Tutorial MSM_Murach chapter-09-slides
C# Tutorial MSM_Murach chapter-09-slides
 
C# Tutorial MSM_Murach chapter-08-slides
C# Tutorial MSM_Murach chapter-08-slidesC# Tutorial MSM_Murach chapter-08-slides
C# Tutorial MSM_Murach chapter-08-slides
 
chapter 5 Java at rupp cambodia
chapter 5 Java at rupp cambodiachapter 5 Java at rupp cambodia
chapter 5 Java at rupp cambodia
 
chapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodiachapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodia
 
chapter 3 Java at rupp cambodia
chapter 3 Java at rupp cambodiachapter 3 Java at rupp cambodia
chapter 3 Java at rupp cambodia
 
chapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodiachapter 2 Java at rupp cambodia
chapter 2 Java at rupp cambodia
 
chapter 1 Java at rupp cambodia
chapter 1 Java at rupp cambodiachapter 1 Java at rupp cambodia
chapter 1 Java at rupp cambodia
 

Recently uploaded

Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Visual Studio 2010 Editions & Supported Programming Languages

  • 1. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 1 Chapter 1 How to get started with Visual Studio
  • 2. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 2 A Windows Forms application running on the Windows desktop Radio Button Label Text Box Button Form and Controls
  • 3. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 3 A Web Forms application running in a Web browser
  • 4. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 4 Visual Studio 2010 Editions Edition Description Express Edition A free, downloadable edition that supports just one of the Visual Studio programming languages. There is also an Express Edition of SQL Server called SQL Server 2008 Express. Professional Edition For individual developers who want to build a wide variety of Windows, web, mobile, and Office-based solutions Premium Edition For individuals and teams who want to build scalable applications; includes standard testing tools, database deployment and change- management tools, and basic lifecycle management tools. Ultimate Edition For teams; includes full testing, modeling, database, and lifecycle management tools.
  • 5. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 5 Programming languages supported by Visual Studio 2010 • Visual Basic • Visual C# • Visual C++ • Visual F#
  • 6. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 6 The .NET Framework Operating System and Hardware Windows XP Windows Vista Windows 7 Other Operating Systems .NET Framework .NET Applications Visual Basic Visual C# Visual C++ Visual F# .NET Framework Class Library Windows Forms classes ASP.NET classes Other classes Common Language Runtime Managed applications Common Type System Intermediate Language
  • 7. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 7 The Visual Studio IDE
  • 8. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 8 How a C# application is compiled and run Solution .NET FrameworkVisual Studio Project Common Language Runtime Integrated Development Environment Source files C# compiler 1 2 3 Assembly Intermediate Language (IL) Class references
  • 9. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 9 The Visual Studio Start Page
  • 10. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 10 The Open Project dialog box
  • 11. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 11 Project and solution concepts • Every C# project has a project file with an extension of csproj that keeps track of the files that make up the project and records various settings for the project. • Every solution has a solution file with an extension of sln that keeps track of the projects that make up the solution. • When you open a project file, Visual Studio opens the solution that contains the project. And when you open a solution file, Visual Studio automatically opens all the projects contained in the solution. • The project file can be stored in the same directory as the solution file or in one of its subdirectories.
  • 12. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 12 The Form Designer window of Visual Studio
  • 13. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 13 The Code Editor window of Visual Studio
  • 14. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 14 The Solution Explorer
  • 15. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 15 Project files • The Solution Explorer uses different icons to distinguish between source code files that define forms and those that don’t. • Each form is defined by two C# source files where each file contains a partial class. The file with the cs extension contains the code that’s entered by the programmer; the file with the Designer.cs extension contains the code that’s generated when the programmer works with the Form Designer. When the project is compiled, these partial classes are combined into a single class that determines the appearance and operation of the form. • A source code file that doesn’t define a form is usually stored in a single C# source file that contains a single class. • The References folder contains references to the assemblies for the namespaces that the application can use. These namespaces contain the classes that the project requires. In most cases, all the references that you need are included when the project is created.
  • 16. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 16 Visual Studio with two floating windows and a hidden window
  • 17. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 17 How to rearrange windows • To undock a docked window so it floats on the screen, drag it by its title bar away from the edge of the application window or double- click its title bar. • To dock a floating window, drag it by its title bar onto one of the positioning arrows that become available. Or hold down the Ctrl key and double-click its title bar to return it to its previous docked location. • To hide a docked window, click its Auto Hide button. Then, the window is displayed as a tab at the edge of the screen, and you can display it by placing the mouse pointer over the tab. • If two or more windows are grouped into tabbed windows, you can display any window in the group by clicking on its tab. • If you dock, undock, hide, or unhide a tabbed window, all the windows in the group are docked, undocked, hidden, or unhidden.
  • 18. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 18 The form that’s displayed when the Financial Calculations project is run
  • 19. Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 19 How to build a project without running it • Use the BuildBuild Solution command. Or, right-click the project in the Solution Explorer and select the Build command from the shortcut menu. How to run a project • You can run a project by clicking on the Start Debugging button in the Standard toolbar or by pressing F5. Then, the first form of the project is displayed on top of the Visual Studio window. • If the project hasn’t already been built, the project is first built and then run.
  • 20. Activity • Use the information in Appendix A to download sample files from Murach’s web site • Work your way through the exercises at the end of chapter 1 Murach’s C# 2010, C1 © 2010, Mike Murach & Associates, Inc. Slide 20