Book description
Using Visual Basic 2015, developers can build cutting-edge applications that run practically anywhere: on Windows desktops, new Windows 10 devices, in mobile and cloud environments, and beyond. Visual Basic 2015 Unleashed is the most comprehensive, practical reference to modern programming with VB 2015.
Long-time Visual Basic MVP Alessandro Del Sole walks you through the latest version of the language, helping you thoroughly master its most valuable features, most powerful programming techniques, and most effective development patterns. Next, he shows how to use Visual Basic 2015 to build robust, effective software in a wide range of environments.
Extensively updated for Visual Basic 2015’s major improvements, this guide covers both Visual Basic 2015 Professional Edition for professional developers and the free Community Edition for hobbyists, novices, and students. Del Sole has added detailed coverage of building new universal Windows apps for Windows 10 and using new Visual Studio 2015 capabilities to supercharge your productivity as a developer. If you want to leverage all of VB 2015’s power, this is the book you need.
Detailed information on how to...
Understand the Visual Studio 2015 IDE, .NET Framework 4.6 and the new .NET Core 5, and the anatomy of a VB 2015 application
Debug VB applications and implement error handling and exceptions
Keep your code clean and well-organized with VB 2015’s new refactoring tools
Master modern VB object development: namespaces, modules, structures, enums, inheritance, interfaces, generics, delegates, events, collections, iterators, and more
Share Visual Basic code with Portable Class Libraries and Shared Projects
Access data with LINQ and ADO.NET Entity Framework
Manipulate XML documents with LINQ and XML Literals
Build and deploy applications to run in the Microsoft Azure cloud
Develop universal Windows apps that run on any Windows 10 device
Use advanced .NET 4.6 platform capabilities, including async and parallel programming, multithreading, assemblies, reflection, and coding attributes
Leverage new compiler APIs to write custom domain-specific live code analysis rules
Test code with unit tests and TDD
Deploy apps efficiently with InstallShield for Visual Studio and ClickOnce
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- Foreword
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
-
Part I: Learning the Basics of VB
- Chapter 1. Introducing .NET 2015
-
Chapter 2. The Visual Studio 2015 IDE for Visual Basic
- What’s New in Visual Studio 2015
- Status Bar and Start Page
-
Working with Projects and Solutions
- Creating Visual Basic Projects
- Multi-targeting
- Accessing Recent and Online Templates
- Searching for Installed Templates
- Finding Code Samples on the Internet
- Creating Reusable Projects and Items Templates
- Creating Your First Visual Basic 2015 Project
- Finding Visual Basic Projects
- Working with the Code Editor
- Working with Tool Windows
- The My Project Window
- Compiling Projects
- Debugging Overview
- Browsing the Visual Basic and .NET Documentation
- Quick Launch Tool
- Showing the Hierarchy of Method Calls
- Summary
- Chapter 3. The Anatomy of a Visual Basic Project
-
Chapter 4. Data Types and Expressions
- Introducing the Common Type System
- Understanding Value Types
- Understanding Reference Types
- Differences Between Value Types and Reference Types
- Converting Between Value Types and Reference Types
- Understanding Conversion Operators
- Working with .NET Fundamental Types
- Common Operators
- Iterations, Loops, and Conditional Code Blocks
- Summary
- Chapter 5. Debugging Visual Basic 2015 Applications
- Chapter 6. Errors, Exceptions, and Code Refactoring
-
Part II: Object-Oriented Programming with Visual Basic 2015
-
Chapter 7. Class Fundamentals
- Declaring Classes
- Storing Information with Properties
- Types and Members Visibility: Scope
- Executing Actions with Methods
- Organizing Code with Partial Classes
- Splitting Method Definitions with Partial Methods
- Instantiating Objects with Constructors
- Shared Members
- Common Language Specification
- Summary
- Chapter 8. Managing an Object’s Lifetime
- Chapter 9. Organizing Types Within Namespaces
- Chapter 10. Modules
- Chapter 11. Structures and Enumerations
- Chapter 12. Inheritance
- Chapter 13. Interfaces
- Chapter 14. Generics and Nullable Types
- Chapter 15. Delegates and Events
-
Chapter 16. Working with Collections and Iterators
- Understanding Collections Architecture
-
Working with Nongeneric Collections
- The ArrayList Collection
- The Queue Collection
- The Stack Collection
- The HashTable Collection
- The ListDictionary Collection
- The OrderedDictionary Collection
- The SortedList Collection
- The HybridDictionary Collection
- The StringCollection Collection
- The StringDictionary Collection
- The NameValueCollection Collection
- The BitArray Collection
- The Bitvector32 Collection
-
Working with Generic Collections
- The List(Of T) Collection
- Working with Collection Initializers
- The ReadOnlyCollection(Of T) Collection
- The Dictionary(Of TKey, TValue) Collection
- The SortedDictionary(Of TKey, TValue) Collection
- The ObservableCollection(Of T) Collection
- The ReadonlyObservableCollection(Of T) Collection
- The LinkedList(Of T) Collection
- The Queue(Of T) and Stack(Of T) Collections
- The Null-Conditional Operator and Collections
- Building Custom Collections
- Concurrent Collections
- Immutable Collections
- Iterators
- Summary
- Chapter 17. Working with Objects: Visual Tools and Code Sharing
-
Chapter 7. Class Fundamentals
-
Part III: Advanced Language Features
- Chapter 18. Manipulating Files and Streams
- Chapter 19. The My Namespace
- Chapter 20. Advanced Language Features
-
Part IV: Data Access with ADO.NET and LINQ
- Chapter 21. Introducing ADO.NET and DataSets
- Chapter 22. Introducing LINQ
-
Chapter 23. LINQ to Objects
- Introducing LINQ to Objects
- Querying in Memory Objects
-
Introducing Standard Query Operators
- Projection Operators
- Restriction Operators
- Aggregation Operators
- Understanding the Let Keyword
- Conversion Operators
- Generation Operators
- Ordering Operators
- Set Operators
- Grouping Operators
- Union Operators
- Equality Operators
- Quantifiers
- Concatenation Operators
- Elements Operators
- Partitioning Operators
- Summary
- Chapter 24. LINQ to SQL
- Chapter 25. LINQ to DataSets
- Chapter 26. Introducing ADO.NET Entity Framework
- Chapter 27. Manipulating XML Documents with LINQ and XML Literals
-
Part V: Building Windows Desktop Applications
-
Chapter 28. Creating WPF Applications
- What Is WPF?
- Introducing the WPF Architecture
- Building WPF Applications with Visual Studio 2015
- Understanding the eXtensible Application Markup Language
- Understanding Visual Tree and Logical Tree
- Handling Events in WPF
- Arranging Controls with Panels
- Managing Windows
- Introducing the Application Object
- Brief Overview of WPF Browser Applications
- Live Visual Tree
- Summary
-
Chapter 29. WPF Common Controls
- Introducing WPF Controls Features
- Understanding the ContentControl
-
Understanding Common Controls
- The Border Control
- The Button Control
- Showing Dates with the Calendar Control
- Item Selection with the CheckBox Control
- Selecting Values from a List with the ComboBox Control
- Presenting Tabular Data with the DataGrid Control
- Selecting Dates with the DatePicker Control
- Viewing XPS Documents with the DocumentViewer Control
- Drawing Shapes: The Ellipse
- Organizing Controls with the Expander
- Viewing HTML Contents with Frame
- Organizing Controls with the GroupBox Control
- Displaying Images with the Image Control
- Displaying Text Messages with the Label Control
- Presenting Data with the ListBox Control
- Presenting Data with the ListView Control
- Playing Audio and Video with the MediaElement Control
- Building Effective User Interfaces with the Menu Control
- Entering Passwords with the PasswordBox Control
- Showing the Progress of an Operation with the ProgressBar Control
- Accepting User Choices with the RadioButton Control
- Drawing Shapes: The Rectangle
- Editing Text with the RichTextBox Control
- Extended View with the ScrollBar Control
- Scrolling the Visual Tree with the ScrollViewer Control
- Separating Visual Elements with the Separator Control
- Value Selection with the Slider Control
- Displaying Information with the StatusBar Control
- Organizing User Interfaces with the TabControl Control
- Presenting Text with the TextBlock Control
- Entering Text with the TextBox Control
- Offering Commands with the ToolBar Control
- Presenting Hierarchical Data with the TreeView Control
- Accessing the Web with the WebBrowser Control
- Windows Forms Interoperability with the WindowsFormsHost Control
- Using Common Dialogs
- Summary
- Chapter 30. Brushes, Styles, Templates, and Animations in WPF
- Chapter 31. Manipulating Media and Documents
- Chapter 32. Introducing Data-Binding
- Chapter 33. Localizing Applications
-
Chapter 28. Creating WPF Applications
-
Part VI: Building Web and Mobile Applications
- Chapter 34. Building and Publishing ASP.NET Web Applications
-
Chapter 35. Building and Deploying Applications for Microsoft Azure
- Overview of the Microsoft Azure Platform
- Registering for Microsoft Azure
- Downloading and Installing Tools for Visual Studio
- Introducing the Management Portal
- Creating a SQL Azure Database
- Creating an ASP.NET Application for the Cloud
- Deploying Applications to Microsoft Azure
- A Step Further: Web Roles and Worker Roles
- Additional Tools
- Summary
-
Chapter 36. Building Universal Apps for Windows 10
- Introducing Universal Windows Apps
- Introducing the Universal Windows Platform
- Registering with the Windows Store
- Installing the Developer Tools
- Creating Apps with Visual Basic
- Customizing the Application Manifest
- Starting and Debugging Universal Windows Apps
- Creating and Testing App Packages
- Submitting Apps to the Store
- Summary
-
Part VII: Networking and Exposing Data Through Networks
- Chapter 37. Creating and Consuming WCF Services
- Chapter 38. Implementing and Consuming OData Services
-
Part VIII: Advanced .NET Framework with VB 2015
- Chapter 39. Serialization
- Chapter 40. Processes and Multithreading
- Chapter 41. Parallel Programming and Parallel LINQ
-
Chapter 42. Asynchronous Programming
- Overview of Asynchrony
- The Old-Fashioned Way: Event-Based Asynchrony
- The Old-Fashioned Way: The Asynchronous Programming Model
- The Modern Way: The Async Pattern
- Getting Started with Async/Await
- Exception Handling in Async
- Implementing Task-Based Asynchrony
- Cancellation and Progress
- Asynchronous Lambda Expressions
- Asynchronous I/O File Operations in .NET 4.6
- Debugging Tasks
- Summary
- Chapter 43. Working with Assemblies
- Chapter 44. Reflection
- Chapter 45. Coding Attributes
- Chapter 46. Platform Invokes and Interoperability with the COM Architecture
- Chapter 47. Documenting Source Code with XML Comments
-
Part IX: Applications Deployment
- Chapter 48. Understanding the Global Assembly Cache
- Chapter 49. Setup and Deployment Projects with InstallShield for Visual Studio
- Chapter 50. Deploying Applications with ClickOnce
- Part X: Code Analysis with VB 2015
- Appendix A. Useful Resources and Tools for Visual Basic 2015
- Index
- Chapter 52. Advanced IDE Features
- Chapter 53. Testing Code with Unit Tests and Test-Driven Development
- Code Snippets
Product information
- Title: Visual Basic 2015 Unleashed
- Author(s):
- Release date: July 2015
- Publisher(s): Sams
- ISBN: 9780134196664
You might also like
book
Beginning Visual Basic 2015
Learn Visual Basic step by step and start programming right away Beginning Visual Basic 2015 is …
book
Visual Basic 2012 Programmer's Reference
The comprehensive guide to Visual Basic 2012 Microsoft Visual Basic (VB) is the most popular programming …
book
Visual Basic® 2010 Programmer's Reference
Visual Basic expert Rod Stephens shows you how to leverage the latest features of VB 2010 …
book
Microsoft® Windows Server™ 2003 Inside Out
Designed for system administrators, this definitive, supremely organized reference delivers in-depth solutions, tips, and tools for …