Download
vb net solution overview n.
Skip this Video
Loading SlideShow in 5 Seconds..
VB.NET Solution Overview PowerPoint Presentation
Download Presentation
VB.NET Solution Overview

VB.NET Solution Overview

188 Vues Download Presentation
Télécharger la présentation

VB.NET Solution Overview

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. VB.NET Solution Overview ITE 370 University of South Alabama School of CIS

  2. VB.NET Solutions & Projects • A solution is a container for projects and files • Solution files (.sln, .suo) • Multi-language support • A project is a container for a VB application (.vbproj) • Visual Basic source files contain classes, forms, modules, etc. (.vb) University of South Alabama School of CIS

  3. Types of VB Projects • Select from New Project Dialog • These templates and more… • Windows Application • ASP.NET Web Application • ASP.NET Web Service App. • Class Library • Web Control Library • Console Application University of South Alabama School of CIS

  4. Assemblies • Projects are compiled into assemblies • The reusable, versionable, self-describing building blocks of .NET applications • Which consist of a number of executable files (.exe, .dll) and resource files • Some predefined assemblies are provided in the .NET Framework • Are created automatically upon compilation University of South Alabama School of CIS

  5. Overview of the Visual Studio IDE • Visual Studio has one IDE for all .NET languages, but it can be customized • through “My Profile” on the Start Page • Set to “Visual Basic Developer” for this class • Solutions encompass multiple languages, i.e. VB.NET and C# in the same solution • Has built-in Web browser University of South Alabama School of CIS

  6. IDE Overview • Solution Explorer • Class View • Toolbox • Form Design window • Code window • Properties window • Output window • Task list University of South Alabama School of CIS

  7. IDE Overview Demonstrate the Visual Studio.NET IDE University of South Alabama School of CIS

  8. Project Properties • Common Property Settings • Assembly name—name of output file (.exe, .dll, etc.) for the project • Output type—type of application to build (Web app, Windows app, console app, etc.) • Startup Object—entry point for an application (a form, Sub Main or <None>) • Root namespace – the base name that identifies components in the whole project, used for resolving naming conflicts University of South Alabama School of CIS

  9. Project Properties Screen University of South Alabama School of CIS

  10. Project References • VB.NET projects can reference assemblies and components • Project | Add References; Or, right-click on the Project in Solution Explorer, select Add Reference University of South Alabama School of CIS

  11. Building Your First VB.NET Application Do a Demonstration using Visual Studio.NET University of South Alabama School of CIS

  12. Conclusion • You have just created your first Visual Studio.NET application(s) • You have seen an overview of the IDE • You have been familiarized with basic project elements and files • Now, do some reading on your own, using your book or the MSDN Library, installed as part of Visual Studio.NET (or separately installed) University of South Alabama School of CIS

  13. References Chappell, D. Understanding .NET: A Tutorial and Analysis, 2002, Addison-Wesley, Boston, MA Ceccucci, W. “Workshop: Moving From VB 6.0 to VB.NET,” 2003, Information Systems Education Conference (ISECON), Nov. 2003, San Diego, CA Microsoft Visual Basic .NET Version 1.0, MSDN Library, April 2002 Oancea, G. and McDonald, B. Visual Basic.NET By Example, 2002, Que, Indianapolis, IN University of South Alabama School of CIS