.NET

Image

It was while teaching numerous seminars on various programming languages that author Daniel Solis realized the immense power diagrams have in explaining programming language concepts. Most people learn quicker and retain information better when the material is presented in a clean, simple, visual format. And that approach is exactly what you’ll find in Illustrated C# 2010. Solis uses concise text, bulleted lists, and tables to clarify and summarize language features, as well as his renowned, ubiquitous figures and diagrams. Each language feature is illustrated with a concise and focused code sample for complete clarity. The result is a unique guide that will help you understand and get to work with C# fast.

In Illustrated C# 2010, you’ll receive an overview of the .NET platform and the role played by C#, and then you’ll move into exploring the C# language in its entirety, including all the new C# 2010 features right down to the most complex topics involved in C#. If you’re a C++ or VB programmer migrating to C# 2010, this book will be invaluable; the unique visual approach offers a far from lightweight treatment of C# 2010, so even the most experienced programmers will come away with a deeper understanding of the C# language.

What you’ll learn

  • Details of the C# 2010 language presented in a clear, concise treatment
  • New features in the latest version of .NET, in the author’s unique visual style
  • How C# differs from and is similar to other programming languages, aiding migrating C++ and VB programmers who already know how languages work

Who this book is for

  • Visual Basic programmers interested in moving to C#
  • C++ programmers interested in moving to C#
  • Novice programmers interested in learning C#
  • Students in introductory programming classes learning C#

Table of Contents

  1. C# and the .NET Framework
  2. Overview of C# Programming
  3. Types, Storage and Variables
  4. Classes: The Basics
  5. Methods
  6. More about Classes
  7. Classes and Inheritance
  8. Expressions and Operators
  9. Statements
  10. Namespaces and Assemblies
  11. Exceptions
  12. Structs
  13. Enumerations
  14. Arrays
  15. Delegates
  16. Events
  17. Interfaces
  18. Conversions
  19. Generics
  20. Enumerators and Iterators
  21. Introduction to LINQ
  22. Introduction to Asynchronous Programming
  23. Preprocessor Directives
  24. Reflection and Attributes
  25. Other Topics
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

“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

It was while teaching numerous seminars on various programming languages that author Daniel Solis realized the immense power diagrams have in explaining programming language concepts. Most people learn quicker and retain information better when the material is presented in a clean, simple, visual format. And that approach is exactly what you’ll find in Illustrated C# 2010. Solis uses concise text, bulleted lists, and tables to clarify and summarize language features, as well as his renowned, ubiquitous figures and diagrams. Each language feature is illustrated with a concise and focused code sample for complete clarity. The result is a unique guide that will help you understand and get to work with C# fast.

In Illustrated C# 2010, you’ll receive an overview of the .NET platform and the role played by C#, and then you’ll move into exploring the C# language in its entirety, including all the new C# 2010 features right down to the most complex topics involved in C#. If you’re a C++ or VB programmer migrating to C# 2010, this book will be invaluable; the unique visual approach offers a far from lightweight treatment of C# 2010, so even the most experienced programmers will come away with a deeper understanding of the C# language.

What you’ll learn

  • Details of the C# 2010 language presented in a clear, concise treatment
  • New features in the latest version of .NET, in the author’s unique visual style
  • How C# differs from and is similar to other programming languages, aiding migrating C++ and VB programmers who already know how languages work

Who this book is for

  • Visual Basic programmers interested in moving to C#
  • C++ programmers interested in moving to C#
  • Novice programmers interested in learning C#
  • Students in introductory programming classes learning C#

Table of Contents

  1. C# and the .NET Framework
  2. Overview of C# Programming
  3. Types, Storage and Variables
  4. Classes: The Basics
  5. Methods
  6. More about Classes
  7. Classes and Inheritance
  8. Expressions and Operators
  9. Statements
  10. Namespaces and Assemblies
  11. Exceptions
  12. Structs
  13. Enumerations
  14. Arrays
  15. Delegates
  16. Events
  17. Interfaces
  18. Conversions
  19. Generics
  20. Enumerators and Iterators
  21. Introduction to LINQ
  22. Introduction to Asynchronous Programming
  23. Preprocessor Directives
  24. Reflection and Attributes
  25. Other Topics
Image

Dig into LINQ -- and transform the way you work with data.

With LINQ, you can query data from a variety of sources -- including databases, objects, and XML files -- directly from Microsoft Visual Basic® or C#. Guided by data-access experts who've worked in depth with LINQ and the Microsoft development teams, you'll learn how .NET Framework 4 implements LINQ, and how to exploit it. Clear examples show you how to deliver your own data-access solutions faster and with leaner code.

Discover how to:

  • Use LINQ to query databases, object collections, arrays, XML, Microsoft Excel® files, and other sources
  • Apply LINQ best practices to build data-enabled .NET applications and services
  • Manipulate data in a relational database with ADO.NET Entity Framework or LINQ to SQL
  • Read, write, and manage XML content more efficiently with LINQ to XML
  • Extend LINQ to support additional data sources by creating custom operators and providers
  • Examine other implementations, such as LINQ to SharePoint®
  • Use LINQ within the data, business, and service layers of a distributed application
  • Get code samples on the Web
Image

Dynamic Language Runtime (DLR) in .NET is a framework for designing and interacting with dynamic languages such as Python and Ruby. For the first time, the DLR places such languages on an equal footing in the .NET world with compiled languages such as C# and VB.NET. Chaur Wu’s book, Pro DLR in .NET 4, introduces you to this important new framework, helping you to take practical advantage of the DLR in your day-to-day work.

Pro DLR in .NET 4 begins with the fundamentals of the DLR, showing how they work to provide interoperability support for dynamic languages. You’ll learn to mix and match objects and functions from compiled and dynamic languages such as C# and Python, allowing you to take advantage of the right tool at the right time for the right task.

The DLR also brings new flexibility and possibility to your software application design. Pro DLR in .NET 4 shows you how to host dynamic languages in your application, enabling users to write scripts to automate tasks. You’ll understand the meta-object protocol and meta-programming capabilities. These reside at the core of DLR, bringing new possibilities to the design and architecture of .NET applications.

  • Comprehensive coverage of an important new .NET technology
  • Meets the needs of programmers wanting to apply dynamic languages such as Python and Ruby in their .NET solutions
  • Assists language developers in supporting their languages under .NET.

What you’ll learn

  • Mix and match dynamic and compiled code in your applications.
  • Run Python, Ruby, PHP, and other dynamic code with full access to .NET functionality.
  • Create domain-specific languages for use in your own applications.
  • Host dynamic languages and provide scripting capability in your applications.
  • Learn and apply the concepts of meta-programming and meta-object protocol.
  • Streamline and automate unit-testing through scripts written in dynamic languages.

Who this book is for

Pro DLR in .NET 4 is for any .NET programmer wanting to benefit from the new ability of dynamic languages such as Python and Ruby to function as first-class citizens in a .NET environment. It’s a book for those wishing to mix and match dynamic and static languages in ways that improve programmer and user productivity. It’s also a book for those implementing domain-specific languages, who wish to add scripting capabilities to their applications.

Image

With SharePoint 2010, developers finally have the powerful, end-to-end development tools they need to build outstanding solutions quickly and painlessly. What’s more, those tools are built directly into the latest version of Visual Studio, the development platform most Microsoft developers already know. In this book, the Microsoft experts who created these tools show you how to take full advantage of them.

 

The authors focus specifically on the SharePoint scenarios that Visual Studio 2010 now makes accessible to mainstream Microsoft developers. They assume no experience with SharePoint development and focus on SharePoint Foundation 2010: the low-cost version designed for organizations and departments of all kinds, not just large enterprises.

 

SharePoint 2010 Development with Visual Studio 2010shows how to get your solution up and running fast, and then extend it to meet your precise business requirements. You’ll learn how to develop, package, and deploy robust SharePoint business collaboration applications without any unnecessary complexity or overhead.

 

Following a practical, developer-focused introduction to Microsoft SharePoint 2010, you’ll learn about

 

  • Visual Studio 2010 templates and tools that simplify the creation of SharePoint solutions
  • The SharePoint object model and its most frequently used methods, properties, and events
  • Using lists to store, manage, and share data
  • Responding to events related to lists, features, items, or workflows
  • Integrating external data with Business Data Connectivity Services
  • Using content types that ship with SharePoint 2010—and creating new ones
  • Building multi-step workflows and custom forms that work with them
  • Utilizing Web Parts to present different data and applications on the same page
  • Customizing SharePoint pages or navigation with ASP.NET
  • Packaging and deploying solutions, and customizing deployment to your unique requirements

 

Whether you’re just starting out with SharePoint development, upgrading from earlier versions, or building on experience

with ASP.NET, this book will help you solve real problems and get real results—fast!

Image

This book will provide you with a comprehensive guide to developing games for both the Windows Mobile platform and the Windows Phone using the industry standard programming languages C# and VB.NET.

You will be walked through every aspect of developing for the Windows Mobile platform—from setting up your development environment for the first time to creating advanced 3D graphics. Finally, you’ll learn how you can make your applications available to others, whether distributing for free or selling online.

Using extensive code samples throughout, you’ll gather all the information needed to create your own games and distribute them successfully for others to enjoy.

Aimed primarily at C# developers, almost everything in the book can be used in VB.NET too. For those areas where this is not the case, workarounds are suggested so that VB.NET developers are still able to use the techniques described.

What you’ll learn

  • How to obtain and configure a development environment for Windows Mobile
  • How to build a working extensible game engine to reduce development time and increase reusability and distribution
  • Tips and techniques for getting games working on a wide range of devices, including older devices, smartphones (with no touchscreens), as well as the latest hardware—all in a single code base
  • A full overview of using OpenGL ES, opening up a new world of advanced 2D and 3D graphics and effects
  • Everything you need to know to include high quality sound and music in your games
  • Advice and information on the best ways to allow the user to interact with your game
  • Guidance on distributing your finished games, including information about freeware listings and tips on creating and selling shareware games

Who this book is for

The book is aimed at those with an existing background in programming and knowledge of one of the two main .NET programming languages (C# and VB.NET), but who do not necessarily have any knowledge of programming for Windows Mobile or programming games in general. The book will guide the reader through the steps required to become proficient in both of these areas of development.

Image

Intended for system administrators with a general knowledge of Windows 2000 or Windows XP/.NET, this reference covers all main system tools and program methods used for routine Active Directory administration and troubleshooting. Information important for understanding the Active Directory service architecture-LDAP protocol, DNS interoperation, and Active Directory concepts-is discussed in detail along with methods of performing common administrative tasks such as creating directory objects, audit, and backing up. This guide addresses troubleshooting problems that occur after deploying Windows .NET domains and system tools used for solving such problems. Also covered are Active Directory Service Interfaces with annotated listings of ready-to-use scripts that illustrate programming principles needed to help nonprogrammers learn the main ADSI concepts to begin their own scripts.

Image

Best-selling programming book author Kris Jamsa tackles the hottest new topic for .NET developers: the creation of web services for high-powered cross-platform application development. This solutions-oriented book gives you the background you need to understand the concept of web services and then quickly moves into showing you how to publish and consume web services. You learn to how to use existing web services, how to make your .NET web service available to others, how to connect a web service to a database, and how to secure a web service. There is also special advanced coverage of creating mobile solutions and improving the performance of your web services. The book contains plenty of code examples that you can implement in your own applications, including web services that can be consumed by other languages, such as PHP and Perl.

Pages

Subscribe to RSS - .NET