Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Tuesday, February 9, 2010

Accelerated C# 2010

C# 2010 offers powerful new features, and this book is the fastest path to mastering them—and the rest of C#—for both experienced C# programmers moving to C# 2010 and programmers moving to C# from another object-oriented language. Many books introduce C#, but very few also explain how to use it optimally with the .NET Common Language Runtime (CLR). This book teaches both core C# language concepts and how to wisely employ C# idioms and object-oriented design patterns to exploit the power of C# and the CLR.

This book is both a rapid tutorial and a permanent reference. You'll quickly master C# syntax while learning how the CLR simplifies many programming tasks. You’ll also learn best practices that ensure your code will be efficient, reusable, and robust. Why spend months or years discovering the best ways to design and code C# when this book will show you how to do things the right way from the start?

  • Comprehensively and concisely explains both C# 2008 and C# 2010 features
  • Focuses on the language itself and on how to use C# 2010 proficiently for all .NET application development.
  • Concentrates on how C# features work and how to best use them for robust, high-performance code

What you'll learn

  • How C# works with and exploits the CLR
  • How to use arrays, collections, and iterators
  • How to handle events with delegates and anonymous functions
  • How to design and use generic types and methods
  • How to thread efficiently and robustly
  • How C# anonymous types, lamba expressions, and extension methods work and how to use them

==> Download <==

Tuesday, May 12, 2009

Professional C# 2008

Professional C# 2008 starts by reviewing the overall architecture of .NET in Chapter 1 in order to give you the background you need to be able to write managed code. After that the book is divided into a number of sections that cover both the C# language and its application in a variety of areas.

Part I: The C# Language gives a good grounding in the C# language itself. This section doesn’t presume knowledge of any particular language, although it does assume you are an experienced programmer. You start by looking at C#’s basic syntax and data types, and then explore the object-oriented features of C# before moving on to look at more advanced C# programming topics.

Part II: Visual Studio looks at the main IDE utilized by C# developers world-wide: Visual Studio 2005. The two chapters in this section look at the best way to use the tool to build applications based upon either the .NET Framework 2.0 or 3.0. In addition to this, this section also focuses on the deployment of your projects.

Part III: Base Class Libraries looks at the principles of programming in the .NET environment. In particular, you look at
security, threading localization, transactions, how to build Windows services, and how to generate your own libraries as assemblies.

Part IV: Data looks at accessing databases with ADO.NET and LINQ, and at interacting with directories and files. This part also extensively covers support in .NET for XML and on the Windows operating system side, and the .NET features of SQL Server 2008. Within the large space of LINQ, particular focus is put on LINQ to SQL and LINQ to XML.

Part V: Presentation focuses on building classic Windows applications, which are called Windows Forms in .NET. Windows Forms are the thick-client version of applications, and using .NET to build these types of applications is a quick and easy way of accomplishing this task. In addition to looking at Windows Forms, you take a look at GDI+, which is the technology you will use for building applications that include advanced graphics. This section also covers writing components that will run on Web sites, serving up Web pages. This covers the tremendous number of new features that ASP.NET 3.5 provides. Finally, this section also shows how to build applications based upon the Windows Presentation Foundation and VSTO.

Part VI: Communication covers Web services for platform-independent communication, .NET Remoting for communication between .NET clients and servers, Enterprise Services for the services in the background, and DCOM communication. With Message Queuing asynchronous, disconnected communication is shown. This section also looks at utilizing the Windows Communication Foundation and the Windows Workflow Foundation.

Part VII: Appendices (Online): This section includes three appendices focused on how to build applications that take into account the new features and barriers found in Windows Vista. Also, this section looks at the upcoming ADO.NET Entities technology and how to use this new technology in your C# applications.

==> Download <==

Thursday, April 23, 2009

LINQ Unleashed: for C#

Microsoft’s highly anticipated LINQ query technology makes it easy to retrieve any information programmatically from any data source, no matter where it comes from or how it’s stored. Using LINQ, developers can query objects, relational databases, XML documents, and ADO.NET datasets--and do it all directly from C# 3.0, leveraging the powerful capabilities of LINQ.

This is a definitive guide to getting real-world results with LINQ, using C# 3.0 and Visual Studio 2008. In LINQ Unleashed, Microsoft MVP Paul Kimmel covers every facet of LINQ programming, showing how LINQ can help you dramatically improve your productivity and build more reliable, maintainable applications.

Kimmel begins by reviewing the state-of-the-art C# programming techniques LINQ uses, including anonymous types, partial methods, and Lambda expressions. Next, using realistic examples and easy-to-adapt sample code, he details the most powerful new LINQ techniques for accessing objects, databases, and XML. You’ll gain a deep and practical understanding of how LINQ works “under the hood”--and learn how to do everything from selecting data through integrating XML with other data models.

* Build efficient LINQ queries to .NET objects, SQL databases, and XML content
* Utilize anonymous types to reduce design time, coding effort, and debugging time
* Automatically generate .NET state machines with the new yield return construct
* Master LINQ query syntax, operators, extension methods, sorting, grouping, aggregate and set operations, and more
* Make the most of select--and use it in the business layer of your n-tier applications
* Query relational data stored in Microsoft SQL Server
* Use nullable types to eliminate unnecessary database access plumbing code
* Use LINQ with ADO.NET 3.0 and Microsoft’s powerful new Entity Framework
* Extract XML data without the hassles or complexity of XPath
* Automatically construct XML from CSV files and other non-XML data
* Query Active Directory by extending LINQ

==> Download <==

Monday, March 16, 2009

Essential C# 3.0: For .NET Framework 3.5

Essential C# 3.0 is an extremely well-written and well-organized “no-fluff” guide to C# 3.0, which will appeal to programmers at all levels of experience with C#. This fully updated edition dives deep into the new features that are revolutionizing programming, with brand new chapters covering query expressions, lambda expressions, extension methods, collection interface extensions, standard query operators, and LINQ as a whole.

Author Mark Michaelis covers the C# language in depth, and each importantconstruct is illustrated with succinct, relevant code examples. (Complete code examples are available online.) Graphical “mind maps” at the beginning of each chapter show what material is covered and how each topic relates to the whole. Topics intended for beginners and advanced readers are clearly marked.

==> Download <==

Tuesday, October 21, 2008

.NET Domain-Driven Design with C#: Problem - Design - Solution

As the first technical book of its kind, this unique resource walks you through the process of building a real-world application using Domain-Driven Design implemented in C#. Based on a real application for an existing company, each chapter is broken down into specific modules so that you can identify the problem, decide what solution will provide the best results, and then execute that design to solve the problem. With each chapter, youll build a complete project from beginning to end.

==> Download <==

Monday, September 15, 2008

Pro LINQ Object Relational Mapping in C# 2008



It is nearly impossible today to write enterprise software without the use of one or more relational databases. Granted, there are cases when the data is transient and not stored in a database, but for the most part, software needs to consume and manipulate data in a database. It sounds easy, but there are hundreds of ways to connect software systems to databases and thousands of people who think they have the skeleton key for data access layers. Pro LINQ Object Relational Mapping in C# 2008 explains an efficient, repeatable way to apply industry design patterns to build scalable object–oriented data access layers.

Object relational mapping (OR/M) has been a gray area in Microsoft development for many years. It’s not that Microsoft language developers don’t understand OR/M; in fact, the opposite is true, as is exemplified by the glut of third–party .NET OR/M tools on the market. The struggle has come more from the lack of native tools with the object–oriented and object persistence capacity to effectively work in this arena. With the inception of .NET, Microsoft overcame the first obstacle by developing an object–oriented environment and framework. The second obstacle, the native object persistence layer, is only now being realized with the introduction of Language Integrated Query (LINQ) and LINQ’s children, the Language Integrated Query for Relational Databases (LINQ to SQL) and the Language Integrated Query for the ADO.NET Entity Framework (LINQ to Entities). The gray area no longer exists, and the .NET developers of the world finally have the native tools required to build modular, reusable data access layers.


Saturday, July 5, 2008

Beginning C# 3.0: An Introduction to Object Oriented Programming

Beginning C# is a book that offers a lot of guidance, in a format that readers find intuitive to follow. The exercise-based format of the Wrox Beginning series has a strong following by all levels of readers, and is one that works very well in the classroom or home. Written by a veteran programming instructor, this is the perfect mix of tutorial, and hands-on coding new programmers are looking for - written from their point of view.

Beginning C# is written for those readers with no prior programming experience who want a thorough, yet easy to understand, introduction to C#
a
nd Object Oriented Programming. Dr. Purdum uses his 25 years of teaching experience to teach readers:

* The C# syntax and concepts of Object Oriented Programming
* How to design and write C# programs that are functional and embody safe programming practices
* Tried and true tricks of the trade, from design concepts to debugging aids
* And all of these goals are done in an easy-to-read and enjoyable manner
and much more. Complete source code, examples, and discussion forms available at Wrox.com

Thursday, April 17, 2008

C# in Depth: What you need to master C# 2 and 3

Book Description

C# in Depth is a completely new book designed to propel existing C# developers to a higher level of programming skill. One simple principle drives this book: explore a few things deeply rather than offer a shallow view of the whole C# landscape. If you often find yourself wanting just a little more at the end of a typical chapter, this is the book for you.

Expert author Jon Skeet dives into the C# language, plumbing new C# 2 and 3 features and probing the core C# language concepts that drive them. This unique book puts the new features into context of how C# has evolved without a lengthy rehearsal of the full C# language.

C# in Depth briefly examines the history of C# and the .NET framework and reviews a few often-misunderstood C# 1 concepts that are very important as the foundation for fully exploiting C# 2 and 3. Because the book addresses C# 1 with a light touch, existing C# developers don't need to pick through the book in order to find new material to enhance their skills.

Saturday, March 29, 2008

LINQ Pocket Reference

Book Description

Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need to grasp Microsoft's new querying technology, and concise explanations to help you learn it quickly. And once you begin to apply LINQ, the book serves as an on-the-job reference when you need immediate reminders. All the examples in the LINQ Pocket Reference are preloaded into LINQPad, the highly praised utility that lets you work with LINQ interactively. Created by the authors and free to download, LINQPad will not only help you learn LINQ, it will have you thinking in LINQ. This reference explains: LINQ's key concepts, such as deferred execution, iterator chaining, and type inference in lambda expressions The differences between local and interpreted queries C# 3.0's query syntax in detail-including multiple generators, joining, grouping, query continuations, and more Query syntax versus lambda syntax, and mixed syntax queries Composition and projection strategies for complex queries All of LINQ's 40-plus query operators How to write efficient LINQ to SQL queries How to build expression trees from scratch All of LINQ to XML's types and their advanced use LINQ promises to be the locus of a thriving ecosystem for many years to come. This small book gives you a huge head start. "The authors built a tool (LINQPad) that lets you experiment with LINQ interactively in a way that the designers of LINQ themselves don't support, and the tool has all kinds of wonderful features that LINQ, SQL and Regular Expression programmers alike will want to use regularly long after they've read the book." -Chris Sells, Connected Systems Program Manager, Microsoft.

Tuesday, March 25, 2008

C# 3.0 Pocket Reference: Instant Help for C# 3.0 Programmers

Book Description

This book is for busy programmers who want a succinct and yet readable guide to C# 3.0 and LINQ. C# 3.0 Pocket Reference tells you exactly what you need to know, without long introductions or bloated samples. Despite its conciseness, this book doesn't skimp on depth or detail, and embraces the conceptual challenges in learning C# 3.0 and LINQ. Tightly focused and highly practical, this pocket reference covers more ground than many of the big books on C#. C# 3.0 Pocket Reference includes plenty of illustrations and code examples to explain: Features new to C# 3.0, such as lambda expressions, anonymous types, automatic properties, and more All aspects of C# syntax, predefined types, expressions, and operators Creating classes, structs, delegates and events, enums, generics and constraints, exception handling, and iterators The subtleties of boxing, operating overloading, delegate covariance, extension method resolution, interface reimplementation, nullable types, and operating lifting LINQ, starting with the principles of sequences, deferred execution and standard query operators, and finishing with a complete reference to query syntax-including multiple generators, joining, grouping, and query continuations Consuming, writing, and reflecting on custom attributes You'll also find chapters on unsafe code and pointers, preprocessor directives, XML documentation, and a framework overview. If you're already familiar with Java, C++, or an earlier version of C#, C# 3.0 Pocket Reference is an ideal choice. No other book or online resource can get you up to speed so quickly.

Friday, March 21, 2008

Illustrated C# 2008

Book Description

The unique, visual format of Illustrated C# 2008 has been specially created by author, and teacher of development methods, Daniel Solis. The concise text, use of tables to clarify language features, frequent figures and diagrams, as well as focused code samples all combine to create a unique approach that will help you understand and get to work with C# fast.

It was while teaching numerous seminars on various programming languages that the author 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. To achieve this result in his book, Solis uses concise text and bulleted lists, 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.

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition

Book Description

The Microsoft Windows Presentation Foundation provides the foundation for building applications and high–quality user experiences in Windows Vista. WPF blends application user interface, documents, and media content to provide richer control, design, and development of the visual aspects of Windows programs.

Author Matthew MacDonald shows you how WPF really works. His no–nonsense, practical advice will get you building high–quality WPF applications quickly and easily. MacDonald will take you through a thorough investigation of the more advanced aspects of WPF, and its relation to other elements of the WinFX stack and the .NET Framework 3.5, to complete your understanding of WPF and C# 2008.

WPFs functionality extends to support for Tablet PCs and other forms of input device, and provides a more modern imaging and printing pipeline, accessibility and UI automation infrastructure, data–driven UI and visualization, as well as the integration points for weaving the application experience into the Windows shell.

Thursday, March 6, 2008

C# 3.0 in a Nutshell: A Desktop Quick Reference

Cover:

Book Description

This is a concise yet thorough reference to C# 3.0 programming as implemented in Microsoft's Visual Studio 2008. C# 3.0 in a Nutshell gets right to the point, covering the essentials of language syntax and usage as well as the parts of the .NET base class libraries you need to build working applications. But unlike earlier editions, this book is now organized entirely around concepts and use cases, providing greater depth and readability. C# 3.0 introduces the most significant enhancements yet to the programming language, and C# 3.0 in a Nutshell delves deep into the subject while assuming minimal prior knowledge of C#-making it accessible to anyone with a reasonable background in programming. In addition to the language, the book covers the .NET CLR and the core Framework assemblies, along with the unified querying syntax called Language Integrated Query (LINQ), which bridges the traditional divide between programs and their data sources. Free of clutter and long introductions, this book provides a map of C# 3.0 knowledge in a succinct and unified style: Opening chapters concentrate purely on C#, starting with the basics of syntax, types and variables, and finishing with advanced topics such as unsafe code and preprocessor directives Later chapters cover the core .NET 3.5 Framework, including such topics as LINQ, XML, collections, I/O and networking, memory management, reflection, attributes, security, threading, application domains and native interoperability Designed as a handbook for daily use, C# 3.0 in a Nutshell is an ideal companion to any of the vast array of books that focus on an applied technology such as WPF, ASP.NET, or WCF. The areas of the language and .NET Frameworkthat such books omit, this one covers in detail.

Download