You are previewing Introducing .NET 4.0: with Visual Studio 2010.
O'Reilly logo
Introducing .NET 4.0: with Visual Studio 2010

Book Description

You may know what's happening in C#, but what about the Azure cloud? How is that going to affect your work? What are the limitations of the new pLINQ syntax? Introducing .NET 4.0: With Visual Studio 2010 guides you through the innovations that matter and helps you to seize new opportunities confidently and quickly.

Table of Contents

  1. Copyright
  2. Dedication
  3. About the Author
  4. About the Technical Reviewer
  5. Acknowledgments
  6. Introduction
  7. Introduction
    1. Versions
    2. What Are .NET 4.0 and VS2010 All About?
    3. What Do Others Think About .NET 4.0?
    4. Summary
  8. The Visual Studio IDE and MEF
    1. General Improvements
    2. Text Template Transformation Toolkit Files
    3. VS2010 Premium and Ultimate
    4. Customization of IDE
    5. MEF
    6. Visual Studio Extensibility
    7. Dotfuscator Changes
    8. Summary
  9. Language and Dynamic Changes
    1. Future Coevolution of VB and C#
    2. C# Enhancements
    3. VB.NET Changes
    4. Improved COM Interoperability
    5. Variance
    6. Dynamic Enhancements
    7. F#
    8. Jon Skeet
    9. The Future of C#
    10. Summary
  10. CLR and BCL Changes
    1. The New CLR
    2. Garbage Collection
    3. Threading
    4. Globalization
    5. Security
    6. Monitoring and Profiling
    7. Native Image Generator
    8. Native Code Enhancements
    9. Exception Handling
    10. New Types
    11. Changes to Existing Functionality
    12. Network Class Libraries
    13. Deprecated APIs
    14. Code Contracts
    15. Summary
    16. Further Reading
  11. Parallelization and Threading Enhancements
    1. Parallelization Overview
    2. Important Concepts
    3. Parallel Loops
    4. Tasks
    5. Parallel Debugging Enhancements
    6. Parallel LINQ
    7. Coordination Data Structures and Threading Enhancements
    8. Future Considerations
    9. Danny Shih
    10. Phil Winstanley
    11. Summary
    12. Further Reading
  12. Windows Workflow Foundation 4
    1. Why Use Windows Workflow Foundation?
    2. What Can Windows Workflow Do for Me?
    3. What Is Windows Workflow Foundation?
    4. Existing WF3 Users
    5. Hello WF4
    6. Creating Your Own Activities
    7. Invoking Workflows
    8. Flowchart
    9. WCF/Messaging Improvements
    10. WCF Workflow Service Applications
    11. Miscellaneous Improvements
    12. John McLoughlin
    13. Summary
  13. Windows Communication Foundation
    1. Configless WCF
    2. Default Binding, Behaviors, and Endpoints
    3. No SVC File
    4. Router Service
    5. WS-Discovery
    6. WCF Starter Kit Integration
    7. Miscellaneous Changes
    8. Dublin/Windows Application Server
    9. Summary
    10. Further Reading
  14. Entity Framework
    1. EF and LINQ to SQL
    2. Why Use EF?
    3. Where Is EF Used?
    4. EF 101
    5. CRUD Operations in EF
    6. EFv1 Criticisms
    7. Entity Framework 4
    8. EDM Designer Changes
    9. Performance
    10. Pluralization
    11. Deferred/Lazy Loading
    12. Model-Defined Functions
    13. Model-First Generation
    14. Foreign Keys
    15. Julie Lerman
    16. Dane Morgridge
    17. Summary
    18. Further Reading
  15. WCF Data Services
    1. Hello WCF Data Services
    2. Querying WCF Data Services
    3. Returning Results in Different Formats
    4. WDS Proxy Classes
    5. WDS 1.5
    6. Summary
    7. Further Reading
  16. ASP.NET
    1. Project Templates
    2. Web.config
    3. IDE Changes
    4. Code Snippets
    5. Deployment
    6. ViewState
    7. ClientIDMode
    8. Response.RedirectPermanent()
    9. Metatags
    10. URL Routing
    11. HTML Encoding
    12. URL and Query String Length
    13. Valid URL Characters
    14. Accessibility and Standards
    15. Further Control Enhancements
    16. Autostart Web Applications
    17. Compress Session State
    18. Caching
    19. Resource Monitoring
    20. Charting Controls
    21. Dynamic Data Framework
    22. Summary
    23. Further Reading
  17. ASP.NET AJAX Framework
    1. Architecture Changes
    2. Installation
    3. AJAX Toolkit Integration
    4. Controls Now Exposed As jQuery Plug-Ins
    5. DataView
    6. DataView Binding
    7. Master-Detail Binding
    8. Binding to External Services
    9. Advanced Binding
    10. Binding Converters
    11. Two-Way Binding
    12. Sys.Observer
    13. Summary
    14. Further Reading
  18. jQuery
    1. jQuery or ASP.NET AJAX Framework?
    2. jQuery Overview
    3. Selecting Elements
    4. Writing Elements Dynamically
    5. Running a Script on Page Load
    6. Adding Functions
    7. Animation/Effects
    8. Chaining Events
    9. Customizing jQuery
    10. AJAX Methods
    11. Utility Methods
    12. jQuery Additions
    13. Summary
    14. Further Reading
  19. ASP.NET MVC
    1. MVC History
    2. Why MVC?
    3. An Existing MVC Application
    4. What a State
    5. Type Initialization
    6. Installing MVC
    7. Creating the MVC Application
    8. Displaying a List of Data
    9. ASP.NET MVC and JavaScript
    10. Custom Routing
    11. ASP.NET MVC and Security
    12. Extending MVC
    13. Testing
    14. ASP.NET MVC V2
    15. ASP.NET MVC in the Real World
    16. What's Next?
    17. ASP.NET MVC Highlights
    18. Considerations
    19. Summary
    20. Further Reading
  20. Silverlight Introduction
    1. Silverlight vs. Flash
    2. Silverlight in the Real World
    3. WPF
    4. XAML
    5. Silverlight Requirements and Installation
    6. Expression Blend
    7. Creating a New Silverlight Project
    8. Adding Silverlight to Your Application
    9. Positioning Elements
    10. Attached and Dependency Properties
    11. Layout Controls
    12. Simple Animation
    13. HTML Integration
    14. Embedding Content in a Silverlight Application
    15. Loading XAML Dynamically
    16. Media
    17. Additional Controls
    18. Data Binding
    19. Network Communications
    20. Summary
    21. Further Reading
  21. WPF 4.0 and Silverlight 3.0
    1. IDE Enhancements
    2. New Controls
    3. Windows 7 Integration
    4. Multitouch Functionality
    5. Binding Changes
    6. Text-Rendering Improvements
    7. Silverlight 3.0
    8. Offline Applications
    9. Deep Linking and Browser History
    10. Local Connections
    11. Styles
    12. Save File Dialog Box
    13. Element to Element Binding
    14. Effects and Transformations
    15. Media
    16. Performance
    17. Miscellaneous Enhancements
    18. Blend 3/SketchFlow
    19. Silverlight 4.0
    20. Silverlight in the Real World
    21. Summary
    22. Further Reading
  22. Windows Azure
    1. Azure Overview
    2. Architecture
    3. Web Roles
    4. Deployment
    5. Local Storage
    6. Worker Roles
    7. Storage in Azure
    8. Azure Storage
    9. Let's REST for a Minute
    10. Accessing the REST API Directly
    11. Queues
    12. Table Storage
    13. Other Azure Services
    14. Pricing and SLA
    15. Real-World Azure
    16. Advantages
    17. Disadvantages
    18. Summary
    19. Further Reading
    20. Final Thoughts
  23. Index