You are previewing Professional Visual Basic 2012 and .NET 4.5 Programming.
O'Reilly logo
Professional Visual Basic 2012 and .NET 4.5 Programming

Book Description

Explore Visual Basic 2012 and .NET 4.5 with this fully updated resource

After a quick review of the of introductory topics of Visual Basic 2012 and .NET 4.5, this book moves quickly into advanced topics such as data access with ADO.NET, security, ASP.NET web programming with Visual Basic, Windows workflow, and threading. You'll explore the essential Visual Basic 2012 functions you need, including .NET features such as LINQ, WCF, and more. Plus, you'll examine exception handling and debugging, Visual Studio features, and deployment.

  • Puts the new Async keyword and Iterators to work

  • Explores new options and interfaces presented by Windows 8 development and WinRT

  • Continues strong coverage of core language elements and tools and creating componentized applications

This updated version of Professional Visual Basic 2012 and .NET 4.5 retains its expert author team, including one of the best-known and respected Microsoft Visual Basic MVPs, Bill Sheldon, and Microsoft Regional Director "Software Legend" Billy Hollis.

Table of Contents

  1. Cover
  2. Part I: Language Constructs and Environment
    1. Chapter 1: Visual Studio 2012
      1. Visual Studio 2012
      2. Visual Basic Keywords and Syntax
      3. Project ProVB_VS2012
      4. Enhancing a Sample Application
      5. Useful Features of Visual Studio 2012
      6. Summary
    2. Chapter 2: The Common Language Runtime
      1. Framework Profiles and Platforms
      2. Elements of a .NET Application
      3. Cross-Language Integration
      4. IL Disassembler
      5. Memory Management
      6. Namespaces
      7. Creating Your Own Namespaces
      8. The My Keyword
      9. Extending the My Namespace
      10. Summary
    3. Chapter 3: Objects and Visual Basic
      1. Object-Oriented Terminology
      2. Working With Visual Basic Types
      3. Commands: Conditional
      4. Value Types (Structures)
      5. Reference Types (Classes)
      6. Parameter Passing
      7. Working with Objects
      8. Creating Classes
      9. Object-Oriented Concepts
      10. Summary
    4. Chapter 4: Custom Objects
      1. Inheritance
      2. Multiple Interfaces
      3. Abstraction
      4. Encapsulation
      5. Polymorphism
      6. Summary
    5. Chapter 5: Advanced Language Constructs
      1. Preparing the Sample Application
      2. Lambda Expressions
      3. Using Lambda Expressions
      4. Async and Await
      5. Iterators
      6. Summary
    6. Chapter 6: Exception Handling and Debugging
      1. System.Exception
      2. Handling Exceptions
      3. Logging Errors
      4. Summary
  3. Part II: Business Objects and Data Access
    1. Chapter 7: Arrays, Collections, and Generics
      1. Arrays
      2. Collections
      3. Generics
      4. Creating Generics
      5. Summary
    2. Chapter 8: Using XML with Visual Basic
      1. An Introduction to XML
      2. XML Serialization
      3. System.Xml Document Support
      4. LINQ to XML
      5. XSL Transformations
      6. XML in ASP.NET
      7. Summary
    3. Chapter 9: ADO.NET and LINQ
      1. ADO.NET Architecture
      2. Basic ADO.NET Features
      3. .NET Data Providers
      4. The DataSet Component
      5. Working with the Common Provider Model
      6. Connection Pooling in ADO.NET
      7. Transactions and System.Transactions
      8. Summary
    4. Chapter 10: Data Access with the Entity Framework
      1. Object-Relational Mapping
      2. Entity Framework Architecture
      3. Mapping Objects to Entities
      4. Summary
    5. Chapter 11: Services (XML/WCF)
      1. Web Services
      2. The Larger Move to SOA
      3. Building a WCF Service
      4. Building a WCF Consumer
      5. Working with Data Contracts
      6. Namespaces
      7. Summary
  4. Part III: Specialized Topics and Libraries
    1. Chapter 12: XAML Essentials
      1. Features Shared by All XAML Platforms
      2. The XAML Markup Language
      3. The Layout System
      4. Controls and Content
      5. Resources in XAML
      6. Data Binding
      7. Data Templates and ItemControls
      8. Styles
      9. Control Templates
      10. Summary
    2. Chapter 13: Creating XAML Applications for Windows 8
      1. How XAML Differs in Windows 8
      2. Windows 8 UI Conventions
      3. UI/UX Guidelines
      4. New Visual Elements in Windows 8
      5. Changes to the Visual Designer in Visual Studio 2012
      6. Application Templates in Visual Studio 2012
      7. Implementing a Live Tile
      8. Implementing Contracts
      9. Summary
    3. Chapter 14: Applications with ASP.NET, MVC, JavaScript and HTML
      1. Visual Studio Support for ASP.NET
      2. Server-Side Development
      3. Client-Side Web Development
      4. Building Windows 8 Style Apps with HTML and JavaScript
      5. Summary
    4. Chapter 15: Localization
      1. Cultures and Regions
      2. Translating Values and Behaviors
      3. ASP.NET Resource Files
      4. Summary
    5. Chapter 16: Application Services
      1. Using IIS for Application Services
      2. Windows Services
      3. Characteristics of a Windows Service
      4. Interacting with Windows Services
      5. Creating a Windows Service
      6. Creating a Windows Service in Visual Basic
      7. Creating a File Watcher Service
      8. Communicating with the Service
      9. Custom Commands
      10. Passing Strings to a Service
      11. Debugging the Service
      12. Summary
    6. Chapter 17: Assemblies and Reflection
      1. Assemblies
      2. The Manifest
      3. Assemblies and Deployment
      4. Versioning Issues
      5. Basics of Reflection
      6. Dynamic Loading of Assemblies
      7. Summary
    7. Chapter 18: Security in the .NET Framework
      1. Security Concepts and Definitions
      2. Windows Store Projects
      3. The System.Security.Permissions Namespace
      4. Managing Code Access Permission Sets
      5. User Access Control
      6. Defining Your Application UAC Settings
      7. Encryption Basics
      8. Summary
    8. Chapter 19: Parallel Programming Using Tasks and Threads
      1. Launching Parallel Tasks
      2. Transforming Sequential Code to Parallel Code
      3. Parallelizing Loops
      4. Specifying the Desired Degree of Parallelism
      5. Creating and Managing Tasks
      6. Summary
    9. Chapter 20: Deploying XAML Applications via the Window 8 Windows Store
      1. A New Deployment Option for Windows 8 Apps
      2. Getting an Account at the Windows Store
      3. Requirements for Apps in the Windows Store
      4. Working with the Windows Store in Visual Studio 2012
      5. Side-loading for LOB Apps in an Organization
      6. Summary
  5. Introduction