Module 2: Development Environment Features
Module 2: Development Environment Features
Environment Features
Overview
Windows Application
Class Library
Windows Control Library
ASP .NET Web Application / Service / Control Library
Console Application
Windows Service
Others
Analyzing Project Structures
.NET assemblies
COM components
Projects
What Are Namespaces?
Namespace
Namespace Top
Top 'Fully
'Fully qualified
qualified as
as MyAssembly.Top
MyAssembly.Top
Public
Public Class
Class Inside
Inside 'Fully
'Fully qualified
qualified as
as MyAssembly.Top.Inside
MyAssembly.Top.Inside
...
...
End Class
End Class
Namespace
Namespace InsideTop
InsideTop 'Fully
'Fully qualified
qualified as
as MyAssembly.Top.InsideTop
MyAssembly.Top.InsideTop
Public Class Inside
Public Class Inside
'Fully
'Fully qualified
qualified as
as MyAssembly.Top.InsideTop.Inside
MyAssembly.Top.InsideTop.Inside
...
...
End Class
End Class
End
End Namespace
Namespace
End Namespace
End Namespace
Importing Namespaces
Method
Class Namespace
Inheritance
Using the Task List
Automatically displays
relevant Help topics based
on focus and cursor
placement
Use the Options dialog box
to configure the Dynamic
Help window
Using XML Features
Setting Breakpoints
Debugging Code
Using the Command Window
Setting Breakpoints
Immediate mode
Similar to the Immediate
window
Command mode
Use Visual Studio IDE
features
Switching modes
Use >cmd to change to
Command mode
Use immed to return to
Immediate mode
Demonstration: Debugging a Project
Compiling in Visual Basic .NET
Build configurations
Debug – provides debug information
Release – optimizes code and executable size
Build options
Build – only builds changed projects
Rebuild – rebuilds project regardless of changes
Lab 2.1: Exploring the Development Environment
Review