Series

Image

The professional programmer’s Deitel® guide to C# 2010 and the powerful Microsoft® .NET 4 Framework


Written for programmers with a background in C++, Java or other high-level, object-oriented languages, this book applies the Deitel signature live-code approach to teaching programming and explores Microsoft’s C# 2010 language and .NET 4 in depth. The book is updated for Visual Studio® 2010 and C# 4, and presents C# concepts in the context of fully tested programs, complete with syntax shading, detailed line-by-line code descriptions and program outputs. The book features 200+ C# applications with 17,000+ lines of proven C# code, as well as hundreds of programming tips that will help you build robust applications.

 

Start with a concise introduction to C# fundamentals using an early classes and objects approach, then rapidly move on to more advanced topics, including multithreading, .NET 4, LINQ, WPF, ASP.NET 4, WCF web services and Silverlight®. Along the way you’ll enjoy the Deitels’ classic treatment of object-oriented programming and the OOD/UML® ATM case study, including a complete C# implementation. When you’re finished, you’ll be ready to build next-generation Windows applications, web applications and web services.

 

Check out the related LiveLessons video product, C# 2010 Fundamentals: Parts I, II and III, containing 20+ hours of video synchronized to this book: www.deitel.com/livelessons.

 

Practical, example-rich coverage of:

  • .NET 4, Types, Arrays, Exception Handling
  • LINQ, Object/Collection Initializers
  • OOP: Classes, Objects, Inheritance,  Polymorphism, Interfaces
  • WinForms, WPF, XAML, Event Handling
  • WPF GUI/Graphics/Multimedia
  • Silverlight®
  • Lists, Queues, Stacks, Trees
  • Generic Collections, Methods and Classes
  • XML®, LINQ to XML
  • Database, LINQ to SQL
  • ASP.NET 4.0, ASP.NET AJAX
  • Web Forms, Web Controls
  • WCF Web Services
  • OOD/UML® Case Study

 

Visit www.deitel.com

 

Testimonials from the Third and Fourth Edition Reviewers

“Takes you from zero to the highest levels of C# programming proficiency. The pedagogical approach and wealth of online material guarantee this book an outstanding place among its peers. The best presentation on inheritance, interfaces and polymorphism I have seen in my 25+ years as a trainer and consultant! Superbly clear.”

     —Octavio Hernandez, Microsoft C# MVP, Advanced Bionics

 

“The ultimate, comprehensive book that teaches you how to program using the latest Microsoft technologies. Excellent explanations, lots of examples, all the necessary theoretical background and all the latest technologies for desktop, web and databases. The best overview of Silverlight.”

     —Kirill Osenkov, Visual Studio Languages Team, Microsoft

 

“Illustrates the best practices of C# programming.”

    —Mingsheng Hong, Cornell University

 

“Excellent introduction to the world of .NET for the beginning C# programmer, using the Deitels’ live-code approach and real-world examples.”

    —Bonnie Berent, Microsoft C# MVP

 

“Shows the practical application of the most recent topics in C# development. A gentle introduction to LINQ and the .NET collection classes; I like it very much! Shows a lot of useful basic techniques and most of the ‘second level facts’ needed to develop WinForms apps. I like the way you introduce working with databases using LINQ to SQL. Excellent introduction to ASP.NET. A very good introduction to generics. Outstanding chapter on collections; the discussion of the new co- and contra-variance capabilities is by necessity short, but very nice.”

     —Octavio Hernandez, Microsoft C# MVP, Advanced Bionics

 

“The code examples provide a very good start on C# programming. A good job explaining the concepts of classes and objects in plain English. The arrays chapter is well done. A nice introduction to LINQ and Collections. The code examples in the chapter on polymorphism and interfaces are excellent. Important exception-related topics are explained with good examples.”

    —Zijiang (James) Yang, Western Michigan University

 

“Teaches how to ‘program in the large,’ with material on object-oriented programming and software engineering principles.”

    —Mingsheng Hong, Cornell University

 

“An excellent, true objects-first book. Excellent introduction to data structures and collections. The generics material is a real asset.”

    —Gavin Osborne, Saskatchewan Institute of Applied Science and Technology

 

“Great chapter on polymorphism.”

    —Eric Lippert, Microsoft

 

“Excellent chapter on exceptions. Very good chapter on Winforms GUIs.”

    —Marcelo Guerra Hahn, Microsoft

 

“Updated contents cover the most important additions to the language while maintaining the Deitels’ well-known high-quality. The early introduction to classes and objects is brilliant. I especially like the explanation of properties, and the discussion of value types vs. reference types. [Classes and Objects: A Deeper Look] does a really good job providing good practices for accessing private data and reusing code. The [Data Structures] chapter is very well written. Coverage of ASP.NET is exceptional.”

    —José Antonio González Seco, Parliament of Andalusia, Spain

 

“Perfect for professionals. Thorough introductions to the debugger and LINQ.”

    —Vinay Ahuja, Architect, Microsoft Corporation

 

“The TV/Video Viewer will enthuse readers and help them see how graphics effects can be created easily in WPF.”

    —Ged Mead, Microsoft MVP, DevCity.Net

 

“An excellent introduction to XML, LINQ to XML and related technologies.”—Helena Kotas, Microsoft

 

“Good overview of relational databases. It hits on the right LINQ to SQL idioms.”

    —Alex Turner, Microsoft

 

“Great overview of producing and consuming web services with WCF.”

    —Dan Crevier, Microsoft

 

[Chapter 24: GUI with Windows Presentation Foundation] “This chapter is very well written. I especially liked your coverage of GUI customization and data bindings, which is very clear.”

    —José Antonio González Seco, Parliament of Andalusia, Spain

 

[Chapter 24: GUI with Windows Presentation Foundation] “Excellent chapter! Everything is laid out right so that every required bit of knowledge is already there when needed.”

    —Octavio Hernandez, Microsoft C# MVP, Advanced Bionics

 

[Chapter 25: WPF Graphics and Multimedia] “An already excellent chapter that got even better! This chapter perfectly complements the previous one, and offers great exa...

Image

“The chapter on programming a KMDF hardware driver provides a great example for readers to see a driver being made.”

–Patrick Regan, network administrator, Pacific Coast Companies 

The First Authoritative Guide to Writing Robust, High-Performance Windows 7 Device Drivers

 

Windows 7 Device Driver brings together all the information experienced programmers need to build exceptionally reliable, high-performance Windows 7 drivers. Internationally renowned driver development expert Ronald D. Reeves shows how to make the most of Microsoft’s powerful new tools and models; save time and money; and efficiently deliver stable, robust drivers.

 

Drawing on his unsurpassed experience as both a driver developer and instructor, Reeves demystifies Kernel and User Mode Driver development, Windows Driver Foundation (WDF) architecture, driver debugging, and many other key topics. Throughout, he provides best practices for all facets of the driver development process, illuminating his insights with proven sample code. Learn how to

  • Use WDF to reduce development time, improve system stability, and enhance serviceability
  • Take full advantage of both the User Mode Driver Framework (UMDF) and the Kernel Mode Driver Framework (KMDF)
  • Implement best practices for designing, developing, and debugging both User Mode and Kernel Mode Drivers
  • Manage I/O requests and queues, self-managed I/O, synchronization, locks, plug-and-play, power management, device enumeration, and more
  • Develop UMDF drivers with COM
  • Secure Kernel Mode Drivers with safe defaults, parameter validation, counted UNICODE strings, and safe device naming techniques
  • Program and troubleshoot WMI support in Kernel Mode Drivers
  • Utilize advanced multiple I/O queuing techniques

Whether you’re creating Windows 7 drivers for laboratory equipment, communications hardware, or any other device or technology, this book will help you build production code more quickly and get to market sooner!

Image

“Once this skill is within your everyday comfort zone, it will give your productivity a boost and increase your value to your team. I encourage you to add the techniques outlined in this book to your toolset and to use them to develop your own workbench of generative tools. In doing so, I’m confident you’ll improve your capabilities, and what’s more, have fun doing so.”

–From the Foreword by Gareth Jones, Developer Architect, Visual Studio®, Microsoft

 

Enlist Visual Studio’s Built-in Code Generation Tools to Write Better Software Faster

 

Automatic code generation can dramatically increase your productivity, improve code quality and maintainability, promote reuse, and help you extend best practices throughout your development organization. .NET and Visual Studio contain many powerful, code-generation tools--and this book shows you how to succeed with all of them. With Practical Code Generation in .NET, spend less time writing monotonous, repetitive code--leaving more time to address troublesome areas!

 

Microsoft MVP Peter Vogel covers code generation with Visual Studio 2010, 2008, and 2005, as well as all recent versions of .NET, including .NET 4.0. You’ll learn when enlisting code generation makes sense and how to design solutions that build on the skills and resources you already have.

 

Writing for experienced programmers, Vogel shows how to generate reliable code using procedural code, Visual Studio add-ins, XML, configuration files, and more--including Microsoft’s innovative CodeDOM technology for generating code in multiple languages. He brings everything together in three complete, chapter-length case studies.

 

Coverage includes

•  Understanding the structure of .NET code-generation solutions and best practices for architecting them

•  Creating Visual Studio add-ins that quickly integrate code generation into day-to-day activities

•  Using objects and methods to add or remove project components

•  Using text insertion to generate code using any tool--even standard string handling functions

•  Working with the specific features of C#, Visual Basic .NET, and ASP.NET

•  Generating more concise code with .NET’s new Text Template Transformation Toolkit (T4)

•  Building code-generation solutions with Visual Studio templates, attributes, and custom tools

•  Distributing code-generation solutions

Image

Programming Web Services with XML-RPC introduces the simple but powerful capabilities of XML-RPC, a system for remote procedure calls built on XML and the HTTP protocol. XML-RPC lets developers connect programs running on different computers with a minimum of fuss, by wrapping procedure calls in XML and establishing simple pathways for calling functions. With XML-RPC, Java programs can talk to Perl scripts, which can talk to Python programs, ASP applications, and so on. Developers can provide access to functionality without having to worry about the system on the other end, so it's easy to create web services. This book supplies the details of both the XML-RPC specification and various XML-RPC implementations, so you can get started developing distributed applications in Java, Perl, Python, ASP, or PHP.

Image

You’ve learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python explores concepts and features normally left to experimentation, allowing you to be even more productive and creative.

In addition to pure code concerns, Pro Python will develop your programming techniques and approaches, which will help make you a better Python programmer. Not only will this book help your code, it will also help you understand and interact with the many established Python communities, or even start your own.

  • Take your Python knowledge and coding skills to the next level.
  • Write clean, innovative code that will be respected among your peers.
  • Make your code do more with introspection and metaprogramming.
  • Design complete frameworks and libraries (two are included in the book!).

What you’ll learn

  • Write strong Python code that will be respected in the Python community.
  • Understand the reasons behind big design decisions in Python.
  • Write programs that can reconfigure themselves in Python.
  • Disguise your code as different types of objects in Python.
  • Inspect just about any object in Python.
  • Prepare your code for international audiences.
  • Ensure code quality with rigorous testing.

Who this book is for

This book is for intermediate to advanced Python programmers who are looking to understand how and why Python works the way it does and how they can take their code to the next level.

Image

Programming Web Services with XML-RPC introduces the simple but powerful capabilities of XML-RPC, a system for remote procedure calls built on XML and the HTTP protocol. XML-RPC lets developers connect programs running on different computers with a minimum of fuss, by wrapping procedure calls in XML and establishing simple pathways for calling functions. With XML-RPC, Java programs can talk to Perl scripts, which can talk to Python programs, ASP applications, and so on. Developers can provide access to functionality without having to worry about the system on the other end, so it's easy to create web services. This book supplies the details of both the XML-RPC specification and various XML-RPC implementations, so you can get started developing distributed applications in Java, Perl, Python, ASP, or PHP.

Image

You’ve learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python explores concepts and features normally left to experimentation, allowing you to be even more productive and creative.

In addition to pure code concerns, Pro Python will develop your programming techniques and approaches, which will help make you a better Python programmer. Not only will this book help your code, it will also help you understand and interact with the many established Python communities, or even start your own.

  • Take your Python knowledge and coding skills to the next level.
  • Write clean, innovative code that will be respected among your peers.
  • Make your code do more with introspection and metaprogramming.
  • Design complete frameworks and libraries (two are included in the book!).

What you’ll learn

  • Write strong Python code that will be respected in the Python community.
  • Understand the reasons behind big design decisions in Python.
  • Write programs that can reconfigure themselves in Python.
  • Disguise your code as different types of objects in Python.
  • Inspect just about any object in Python.
  • Prepare your code for international audiences.
  • Ensure code quality with rigorous testing.

Who this book is for

This book is for intermediate to advanced Python programmers who are looking to understand how and why Python works the way it does and how they can take their code to the next level.

Image

“Once this skill is within your everyday comfort zone, it will give your productivity a boost and increase your value to your team. I encourage you to add the techniques outlined in this book to your toolset and to use them to develop your own workbench of generative tools. In doing so, I’m confident you’ll improve your capabilities, and what’s more, have fun doing so.”

–From the Foreword by Gareth Jones, Developer Architect, Visual Studio®, Microsoft

 

Enlist Visual Studio’s Built-in Code Generation Tools to Write Better Software Faster

 

Automatic code generation can dramatically increase your productivity, improve code quality and maintainability, promote reuse, and help you extend best practices throughout your development organization. .NET and Visual Studio contain many powerful, code-generation tools--and this book shows you how to succeed with all of them. With Practical Code Generation in .NET, spend less time writing monotonous, repetitive code--leaving more time to address troublesome areas!

 

Microsoft MVP Peter Vogel covers code generation with Visual Studio 2010, 2008, and 2005, as well as all recent versions of .NET, including .NET 4.0. You’ll learn when enlisting code generation makes sense and how to design solutions that build on the skills and resources you already have.

 

Writing for experienced programmers, Vogel shows how to generate reliable code using procedural code, Visual Studio add-ins, XML, configuration files, and more--including Microsoft’s innovative CodeDOM technology for generating code in multiple languages. He brings everything together in three complete, chapter-length case studies.

 

Coverage includes

•  Understanding the structure of .NET code-generation solutions and best practices for architecting them

•  Creating Visual Studio add-ins that quickly integrate code generation into day-to-day activities

•  Using objects and methods to add or remove project components

•  Using text insertion to generate code using any tool--even standard string handling functions

•  Working with the specific features of C#, Visual Basic .NET, and ASP.NET

•  Generating more concise code with .NET’s new Text Template Transformation Toolkit (T4)

•  Building code-generation solutions with Visual Studio templates, attributes, and custom tools

•  Distributing code-generation solutions

Image

“The chapter on programming a KMDF hardware driver provides a great example for readers to see a driver being made.”

–Patrick Regan, network administrator, Pacific Coast Companies 

The First Authoritative Guide to Writing Robust, High-Performance Windows 7 Device Drivers

 

Windows 7 Device Driver brings together all the information experienced programmers need to build exceptionally reliable, high-performance Windows 7 drivers. Internationally renowned driver development expert Ronald D. Reeves shows how to make the most of Microsoft’s powerful new tools and models; save time and money; and efficiently deliver stable, robust drivers.

 

Drawing on his unsurpassed experience as both a driver developer and instructor, Reeves demystifies Kernel and User Mode Driver development, Windows Driver Foundation (WDF) architecture, driver debugging, and many other key topics. Throughout, he provides best practices for all facets of the driver development process, illuminating his insights with proven sample code. Learn how to

  • Use WDF to reduce development time, improve system stability, and enhance serviceability
  • Take full advantage of both the User Mode Driver Framework (UMDF) and the Kernel Mode Driver Framework (KMDF)
  • Implement best practices for designing, developing, and debugging both User Mode and Kernel Mode Drivers
  • Manage I/O requests and queues, self-managed I/O, synchronization, locks, plug-and-play, power management, device enumeration, and more
  • Develop UMDF drivers with COM
  • Secure Kernel Mode Drivers with safe defaults, parameter validation, counted UNICODE strings, and safe device naming techniques
  • Program and troubleshoot WMI support in Kernel Mode Drivers
  • Utilize advanced multiple I/O queuing techniques

Whether you’re creating Windows 7 drivers for laboratory equipment, communications hardware, or any other device or technology, this book will help you build production code more quickly and get to market sooner!

Image

The professional programmer’s Deitel® guide to C# 2010 and the powerful Microsoft® .NET 4 Framework


Written for programmers with a background in C++, Java or other high-level, object-oriented languages, this book applies the Deitel signature live-code approach to teaching programming and explores Microsoft’s C# 2010 language and .NET 4 in depth. The book is updated for Visual Studio® 2010 and C# 4, and presents C# concepts in the context of fully tested programs, complete with syntax shading, detailed line-by-line code descriptions and program outputs. The book features 200+ C# applications with 17,000+ lines of proven C# code, as well as hundreds of programming tips that will help you build robust applications.

 

Start with a concise introduction to C# fundamentals using an early classes and objects approach, then rapidly move on to more advanced topics, including multithreading, .NET 4, LINQ, WPF, ASP.NET 4, WCF web services and Silverlight®. Along the way you’ll enjoy the Deitels’ classic treatment of object-oriented programming and the OOD/UML® ATM case study, including a complete C# implementation. When you’re finished, you’ll be ready to build next-generation Windows applications, web applications and web services.

 

Check out the related LiveLessons video product, C# 2010 Fundamentals: Parts I, II and III, containing 20+ hours of video synchronized to this book: www.deitel.com/livelessons.

 

Practical, example-rich coverage of:

  • .NET 4, Types, Arrays, Exception Handling
  • LINQ, Object/Collection Initializers
  • OOP: Classes, Objects, Inheritance,  Polymorphism, Interfaces
  • WinForms, WPF, XAML, Event Handling
  • WPF GUI/Graphics/Multimedia
  • Silverlight®
  • Lists, Queues, Stacks, Trees
  • Generic Collections, Methods and Classes
  • XML®, LINQ to XML
  • Database, LINQ to SQL
  • ASP.NET 4.0, ASP.NET AJAX
  • Web Forms, Web Controls
  • WCF Web Services
  • OOD/UML® Case Study

 

Visit www.deitel.com

 

Testimonials from the Third and Fourth Edition Reviewers

“Takes you from zero to the highest levels of C# programming proficiency. The pedagogical approach and wealth of online material guarantee this book an outstanding place among its peers. The best presentation on inheritance, interfaces and polymorphism I have seen in my 25+ years as a trainer and consultant! Superbly clear.”

     —Octavio Hernandez, Microsoft C# MVP, Advanced Bionics

 

“The ultimate, comprehensive book that teaches you how to program using the latest Microsoft technologies. Excellent explanations, lots of examples, all the necessary theoretical background and all the latest technologies for desktop, web and databases. The best overview of Silverlight.”

     —Kirill Osenkov, Visual Studio Languages Team, Microsoft

 

“Illustrates the best practices of C# programming.”

    —Mingsheng Hong, Cornell University

 

“Excellent introduction to the world of .NET for the beginning C# programmer, using the Deitels’ live-code approach and real-world examples.”

    —Bonnie Berent, Microsoft C# MVP

 

“Shows the practical application of the most recent topics in C# development. A gentle introduction to LINQ and the .NET collection classes; I like it very much! Shows a lot of useful basic techniques and most of the ‘second level facts’ needed to develop WinForms apps. I like the way you introduce working with databases using LINQ to SQL. Excellent introduction to ASP.NET. A very good introduction to generics. Outstanding chapter on collections; the discussion of the new co- and contra-variance capabilities is by necessity short, but very nice.”

     —Octavio Hernandez, Microsoft C# MVP, Advanced Bionics

 

“The code examples provide a very good start on C# programming. A good job explaining the concepts of classes and objects in plain English. The arrays chapter is well done. A nice introduction to LINQ and Collections. The code examples in the chapter on polymorphism and interfaces are excellent. Important exception-related topics are explained with good examples.”

    —Zijiang (James) Yang, Western Michigan University

 

“Teaches how to ‘program in the large,’ with material on object-oriented programming and software engineering principles.”

    —Mingsheng Hong, Cornell University

 

“An excellent, true objects-first book. Excellent introduction to data structures and collections. The generics material is a real asset.”

    —Gavin Osborne, Saskatchewan Institute of Applied Science and Technology

 

“Great chapter on polymorphism.”

    —Eric Lippert, Microsoft

 

“Excellent chapter on exceptions. Very good chapter on Winforms GUIs.”

    —Marcelo Guerra Hahn, Microsoft

 

“Updated contents cover the most important additions to the language while maintaining the Deitels’ well-known high-quality. The early introduction to classes and objects is brilliant. I especially like the explanation of properties, and the discussion of value types vs. reference types. [Classes and Objects: A Deeper Look] does a really good job providing good practices for accessing private data and reusing code. The [Data Structures] chapter is very well written. Coverage of ASP.NET is exceptional.”

    —José Antonio González Seco, Parliament of Andalusia, Spain

 

“Perfect for professionals. Thorough introductions to the debugger and LINQ.”

    —Vinay Ahuja, Architect, Microsoft Corporation

 

“The TV/Video Viewer will enthuse readers and help them see how graphics effects can be created easily in WPF.”

    —Ged Mead, Microsoft MVP, DevCity.Net

 

“An excellent introduction to XML, LINQ to XML and related technologies.”—Helena Kotas, Microsoft

 

“Good overview of relational databases. It hits on the right LINQ to SQL idioms.”

    —Alex Turner, Microsoft

 

“Great overview of producing and consuming web services with WCF.”

    —Dan Crevier, Microsoft

 

[Chapter 24: GUI with Windows Presentation Foundation] “This chapter is very well written. I especially liked your coverage of GUI customization and data bindings, which is very clear.”

    —José Antonio González Seco, Parliament of Andalusia, Spain

 

[Chapter 24: GUI with Windows Presentation Foundation] “Excellent chapter! Everything is laid out right so that every required bit of knowledge is already there when needed.”

    —Octavio Hernandez, Microsoft C# MVP, Advanced Bionics

 

[Chapter 25: WPF Graphics and Multimedia] “An already excellent chapter that got even better! This chapter perfectly complements the previous one, and offers great exa...

Pages

Subscribe to RSS - Series