Pages

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

Wednesday, July 4, 2012

Head First C#, 2nd Edition

You want to learn C# programming, but you're not sure you want to suffer through another tedious technical book. You're in luck: Head First C# introduces this language in a fun, visual way. You'll quickly learn everything from creating your first program to learning sophisticated coding skills with C# 4.0, Visual Studio 2010 and .NET 4, while avoiding common errors that frustrate many students.

0 comments

CLR via C#, 3rd Edition

Dig deep and master the intricacies of the common language runtime (CLR) and the .NET Framework 4.0. Written by a highly regarded programming expert and consultant to the Microsoft® .NET team, this guide is ideal for developers building any kind of application-including Microsoft® ASP.NET, Windows® Forms, Microsoft® SQL Server®, Web services, and console applications.

You'll get hands-on instruction and extensive C# code samples to help you tackle the tough topics and develop high-performance applications.

Details:
Title:
CLR via C#, 3rd Edition
By:
Jeffrey Richter
Publisher:
Microsoft Press


Download More: http://download.nguyenlong-computer.com/

0 comments

C# 4.0 in a Nutshell 4th Edition: The Definitive Reference

What people are saying about C# 4.0 in a Nutshell

"C# 4.0 in a Nutshell is one of the few books I keep on my desk as a quick reference. It is a book I recommend."--Scott Guthrie, Corporate Vice President, .NET Developer Platform, Microsoft Corporation

"A must-read for a concise but thorough examination of the parallel programming features in the .NET Framework 4."--Stephen Toub, Parallel Computing Platform Program Manager, Microsoft

0 comments

C# 2010 All-in-One For Dummies (Wiley)

A logical, straightforward approach to learning the C# language

C# is a complicated programming language for building .NET-connected software for Microsoft Windows, the Web, and a wide range of devices. The friendly All-in-One For Dummies format is a perfect way to present it. Each minibook is a self-contained package of necessary information, making it easy to find what you're looking for.

Upgrades in C# 2010 include the ability to build Windows 7 applications and compatibility with Python and Ruby.

  • C# is a somewhat complex programming language for building .NET-connected software for Microsoft Windows, the Web, and other devices
  • Beginning C# programmers will appreciate how the All-in-One format breaks the topic into minibooks, each one addressing a key body of information
  • Minibooks include creating your first C# program, Windows 7 programming, basic C# programming, object-based programming, object-oriented programming, Windows programming with C# and Visual Studio, and debugging
  • Companion Web site includes all sample code

Beginning C# programmers will find C# 2010 All-in-One For Dummies explains a complicated topic in an easy, understandable way.

Introduction.

Book I: Basics of C# Programming.

Chapter 1: Creating Your First C# Console Application.

Chapter 2: Living with Variability — Declaring Value-Type Variables.

Chapter 3: Pulling Strings.

Chapter 4: Smooth Operators.

Chapter 5: Getting Into the Program Flow.

Chapter 6: Lining Up Your Ducks with Collections.

Chapter 7: Stepping through Collections.

Chapter 8: Buying Generic.

Chapter 9: Some Exceptional Exceptions.

Book II: Object-Oriented C# Programming.

Chapter 1: Object-Oriented Programming: What’s It All About?

Chapter 2: Showing Some Class.

Chapter 3: We Have Our Methods.

Chapter 4: Let Me Say This about this.

Chapter 5: Holding a Class Responsible.

Chapter 6: Inheritance: Is That All I Get?

Chapter 7: Poly-what-ism?

Chapter 8: Interfacing with the Interface.

Chapter 9: Delegating Those Important Events.

Chapter 10: Can I Use Your Namespace in the Library?

Book III: Designing for C#.

Chapter 1: Writing Secure Code.

Chapter 2: Accessing Data.

Chapter 3: Fishing the FileStream.

Chapter 4: Accessing the Internet.

Chapter 5: Creating Images.

Book IV: A Tour of Visual Studio.

Chapter 1: Getting Started with Visual Studio.

Chapter 2: Using the Interface.

Chapter 3: Customizing Visual Studio.

Chapter 4: Transforming Text Templates.

Book V: Windows Development with WPF.

Chapter 1: Introducing WPF.

Chapter 2: Understanding the Basics of WP.

Chapter 3: Data Binding in WPF.

Chapter 4: Practical WPF.

Book VI: Web Development with ASP.NET.

Chapter 1: Looking at How ASP.NET Works with C#.

Chapter 2: Building Web Applications.

Chapter 3: Controlling Your Development Experience.

Chapter 4: Leveraging the .NET Framework.

Chapter 5: Digging into Web Construction.

Book VII: Service-Oriented Development.

Chapter 1: Getting Acquainted with Web Services.

Chapter 2: Building Web Services with ASMX.

Chapter 3: Building Web Services with WCF.

Chapter 4: Building Web Services with ReST.

Book VIII: New Features in C# 4.0.

Chapter 1: Programming Dynamically!

Chapter 2: Improving Productivity with Named and Optional Parameters.

Chapter 3: Helping Out with Interop.

Chapter 4: Revising Generics.

Index.



Download More: http://download.nguyenlong-computer.com/

0 comments

Beginning Visual C# 2010 (Wrox)

Beginning Visual C# 2010 (Wrox Programmer to Programmer)

Update to Wrox's leading C# book for beginners

Get ready for the next release of Microsoft's C# programming language with this essential Wrox beginner's guide. Beginning Microsoft Visual C# 2010 starts with the basics and brings you thoroughly up to speed. You'll first cover the fundamentals such as variables, flow control, and object-oriented programming and gradually build your skills for Web and Windows programming, Windows forms, and data access.

Step-by-step directions walk you through processes and invite you to "Try it Out," at every stage. By the end, you'll be able to write useful programming code following the steps you've learned in this thorough, practical book.

  • The C# 4 programming language version will be synonymous with writing code with in C# 2010 in Visual Studio 2010, and you can use it to write Windows applications, Web apps with ASP.NET, and Windows Mobile and Embedded CE apps
  • Provides step-by-step instructions for mastering topics such as variables, flow controls, and object-oriented programming before moving to Web and Windows programming and data access
  • Addresses expressions, functions, debugging, error handling, classes, collections, comparisons, conversions, and more

If you've always wanted to master Visual C# programming, this book is the perfect one-stop resource.



Download More: http://download.nguyenlong-computer.com/

0 comments

Accelerated C# 2010 [Apress]

Accelerated C# 2010 (Expert's Voice in C#)

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

Who this book is for

If you're an experienced C# programmer, you need to understand how C# has changed with C# 2010. If you're an experienced object-oriented programmer moving to C#, you want to ramp up quickly in the language while learning the latest features and techniques. In either case, this book is for you. The first three chapters succinctly present C# fundamentals, for those new to or reviewing C#. The rest of the book covers all the major C# features, in great detail, explaining how they work and how best to use them. Whatever your background or need, you’ll treasure this book for as long as you code in C# 2010.

Table of Contents

  1. C# Preview
  2. C# and the CLR
  3. C# Syntax Overview
  4. Classes, Structs, and Objects
  5. Interfaces and Contracts
  6. Overloading Operators
  7. Exception Handling and Exception Safety
  8. Working with Strings
  9. Arrays, Collection Types, and Iterators
  10. Delegates, Anonymous Functions, and Events
  11. Generics
  12. Threading in C#
  13. In Search of C# Canonical Forms
  14. Extension Methods
  15. Lambda Expressions
  16. LINQ: Language Integrated Query
  17. Dynamic Types


Download More: http://download.nguyenlong-computer.com/

0 comments

Professional ASP.NET MVC 2 (Wrox Programmer to Programmer)

Professional ASP.NET MVC 2 (Wrox Programmer to Programmer)
Top-selling MVC book from a top team at Microsoft—now fully updated!

ASP.NET MVC 2.0 is now available and shipping with Visual Studio 2010 and .NET 4. A new update to Microsoft’s Model-View-Controller technologies, MVC 2 enables developers to build dynamic, data-driven Web sites. Professional ASP.NET MVC 2 shows you step-by-step how to use MVC 2. You’ll learn both the theory behind MVC 2, as well as walk through practical tutorials, where you’ll create a real-world application. Topics include transitioning from ASP.NET development, as well as an overview of related tools and technologies, including LINQ, jQuery, and REST.

This book is divided into two very broad sections, each comprising several chapters.

The first half of the book is concerned with introducing the MVC pattern and how ASP.NET MVC 2 implements that pattern.

Chapter 1 "NerdDinner" uses a small but complete application to walk you through how to build an ASP.NET MVC 2 application and some of the core concepts behind ASP.NET 2 MVC. 

Chapter 2 "Model-View-Controller and ASP.NET" starts off with a description of the Model-View-Controller pattern, explaining the basic concepts of the pattern and providing a bit of its history. The chapter goes on to describe the state of the MVC pattern on the web today as it is implemented by various frameworks, such as ASP.NET MVC 2.

Chapter 3 "ASP.NET > ASP.NET MVC" then covers the ways that ASP.NET MVC is different from ASP.NET Web Forms.

Chapter 4 "Routes and URLs" digs deep into routing to describe the role that URLs play in your application and how routing figures into that. It also differentiates routing from URL rewriting and covers a bit on extending routing and writing unit tests for routes.

Chapter 5 "Controllers" takes a look at controllers and controller actions-what they are, and how to write them. It also covers action results, which are returned by controller actions and what they are used for.

Chapters 6 "Views" and 7 "Ajax" cover views and view engines, and then add a little flavor on top by examining the role that AJAX plays in your views.

The second half of the book focuses entirely on advanced techniques and extending the framework.

Chapter 8 "Filters" goes into detail on action filters, which provide an extensibility point for adding cross-cutting behaviors to action methods.

Chapter 9 "Securing Your Application" covers security and good practices for building a secure application.

Chapter 10 "Test Driven Development with ASP.NET MVC" provides a brief introduction to Test Driven Development (TDD) as it applies to ASP.NET MVC.

Chapter 11 "Testable Design Patterns" shows you real-world patterns and practices for building applications that are testable.

Chapter 12 "The Best of Both Worlds: Web Forms and MVC Together" discusses how Web Forms and MVC work together.

Chapter 13 "What's New in ASP.NET MVC 2" covers what's new in MVC 2.

This book is for web developers who are looking to add more complete testing to their web sites, and who are perhaps ready for "something different."

In some places, we assume that you're somewhat familiar with ASP.NET WebForms, at least peripherally. There are a lot of ASP.NET WebForms developers out there who are interested in ASP.NET MVC so there are a number of places in this book where we contrast the two technologies. Even if you're not already an ASP.NET developer, you might still find these sections interesting for context, as well as for your own edification as ASP.NET MVC may not be the web technology that you're looking for.



Download More: http://download.nguyenlong-computer.com/

0 comments

Professional ASP.NET 3.5 Security Membership and Role Management with C# and VB

Professional ASP.NET 3.5 Security, Membership, and Role Management with C# and VB (Wrox Programmer to Programmer)

As the only book to address ASP.NET 3.5, AJAX, and IIS 7 security from the developer’s point of view, this book begins with a look at the new features of IIS 7.0 and then goes on to focus on IIS 7.0 and ASP.NET 3.5 integration.

 

You’ll walk through a detailed explanation of the request life cycle for an ASP.NET application running on IIS 7.0 under the classic mode, from the moment it enters IIS 7.0 until ASP.NET generates a corresponding response.

Table of Contents:

1. Introducing IIS 7.0.

2. IIS 7.0 and ASP.NET Integrated Mode.

3. HTTP Request Processing in IIS 7.0 Integrated Mode.

4. A Matter of Trust.

5. Configuration System Security.

6. Forms Authentication.

7. Integrating ASP.NET Security with Classic ASP.

8. Session State.

9. Security for Pages and Compilation.

10. The Provider Model.

11. Membership.

12. SqlMembershipProvider.

13. ActiveDirectoryMembershipProvider.

14. Role Manager.

15. SqlRoleProvider.

16. AuthorizationStoreRoleProvider.

17. Membership and Role Management in ASP.NET AJAX 3.5.

18. Best Practices for Securing ASP.NET Web Applications.



Download More: http://download.nguyenlong-computer.com/

0 comments

Wrox ASP.NET 3.5 Website Programming: Problem - Design - Solution

ASP.NET 3.5 Website Programming: Problem - Design - Solution (Wrox Programmer to Programmer)

  • Uses the popular Problem;Design;Solution format to help readers, especially those who know how to code specific ASP.NET features, learn to "put it all together" into a complete Web application
  • Emphasizes n-tier ASP.NET Web application architectural design, something intermediate and advanced ASP.NET developers need and can't find anywhere else
  • Current edition is the most popular and discussed book in the p2p.wrox.com reader discussion forums
  • Covers registration and membership system, user-selectable themes, content management systems, polls, mailing lists, forums, e-commerce stores, shopping carts, order management with real-time credit-card processing, localization, and other site features
  • Developers also learn to handle master pages, themes, profiles, Web parts, server-side UI controls, compilation, deployment, instrumentation, error handling and logging, data access with ADO.NET and LINQ, ASP.NET AJAX, and much more.

Table of Contents:

Introduction.

Chapter 1: Introducing the Project: TheBeerHouse.

Problem.

Design.

Solution.

Summary.

Chapter 2: Developing the Site Design.

Problem.

Design.

Solution.

Summary.

Chapter 3: Planning an Architecture.

Problem.

Design.

Summary.

Chapter 4: Membership and User Profiling.

Problem.

Design.

Summary.

Chapter 5: News and Article Management.

Problem.

Design.

Solution.

Summary.

Chapter 6: Opinion Polls.

Problem.

Design.

Solution.

Summary.

Chapter 7: Newsletters.

Problem.

Design.

Solution.

Summary.

Chapter 8: Forums.

Problem.

Design.

Solution.

Summary.

Chapter 9: E-Commerce Store.

Problem.

Design.

Solution.

Summary.

Chapter 10: Calendar of Events.

Problem.

Design.

Solution.

Summary.

Chapter 11: Photo Gallery.

Problem.

Design.

Solution.

Summary.

Chapter 12: Localizing the Site.

Problem.

Design.

Solution.

Summary.

Chapter 13: Deploying the Site.

Problem.

Design.

Solution.

Summary.

Index.

 



Download More: http://download.nguyenlong-computer.com/

0 comments

ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution

ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution (Wrox Programmer to Programmer)

This book provides a step–by–step guide for developing an ASP.NET 3.5 application using the latest features in Visual Studio 2008. The Problem Design Solution series by Wrox is unique because it describes a large case study and builds an entire solution chapter by chapter for each incremental step. This book uses a wide variety of new features in Visual Studio 2008, explains each in detail, and produces a solution that you can use as a starting point for your own applications.

If you are responsible for designing or developing enterprise–wide applications, departmental applications, portals, or any line of business application, then this book is for you. Many applications have a similar set of features, and this book builds an application with some of the most common features of enterprise applications. Let’s face it: Every application has the same general set of features, but implemented in a different way. A database sits in the back end and you, as the developer, are responsible for enabling users to add, update, select, and delete records. If only it were that simple, no?

The real development work starts when you sit with users and try to understand the business process and why they need a new or improved system in the first place. A lot of companies have departments that use Excel and Access wizards to create small systems that eventually become a lifeline for some part of the business. Usually something bad happens because of the nature of the tool they are using. Senior–level management is called in, project managers are hired, programmers are contracted, and the Project Management Office (PMO) is called to save the world. Suddenly this loosely defined process is high priority and people want documented standard operating procedures, audit reports, more productivity, less people, and of course a system that can do it all, which is where you come in. When you think about it, it’s a pretty daunting task. You’re expected to become an expert in someone else’s business process, flaws and all, and create a system that the company will rely on as the backbone for their existence. OK, maybe I’m exaggerating just a little bit, but when you go looking for that raise you might want to phrase it that way.

This book will give you the tools necessary to build a framework that can be extended to create a solution to solve your company’s problems. The design pattern uses the normal three layers, the user interface (UI), the business logic layer (BLL), and the data access layer (DAL), but also builds the classes in each layer that encapsulate common business rules such as role–based security, workflow, reporting, dynamic menus, data entry, dynamic querying, notifications, exception handling, and auditing. As the book guides you through the complete solution, each business requirement is thoroughly examined and some of the latest enhancements in ASP.NET 3.5 and Visual Studio 2008 are used to implement them in a reusable framework.

Enterprise applications are typically complex, and the teams that build enterprise applications come in all shapes and sizes. Some of the roles include a project sponsor, a project manager, business analysts, an architect, UI developers, middle–tier developers, database developers, and, if you’re really lucky, testers. Just a side note: Users are not testers. If you ever have the pleasure of working with professional testers, you’ll realize how important they are in the process, and how they truly are “quality” assurance engineers. Unfortunately, a lot of companies aren’t willing to invest in professional testers, so the users and/or developers end up assuming that role. This book is mainly focused on the architect and developers, but testers may find it valuable as well to help them understand the plumbing that goes into developing and architecting an enterprise application.

This book is for the intermediate to senior level developer or system architect. It would be helpful if you have experience with Visual Studio, the .NET Framework, ASP.NET, and C# because that is what the samples are written in, but the design pattern could be used in any language. The book is focused on enterprise applications, but the pattern could be used for any type of application that has a web front end and connects to a database. The application framework built in this book provides a foundation that can be extended to meet the specific business needs of your organization.

The sample application in this book is built using Visual Studio 2008, ASP.NET 3.5, C#, and SQL Server 2005. Each chapter goes into great detail, with plenty of code samples, and uses some of the new features in Visual Studio 2008 and the language enhancements in the .NET Framework 3.5. The solution includes examples for technologies such as LINQ to SQL, master pages, custom controls, GridViews, business objects, data objects, and Crystal Reports. Some of the language enhancements discussed include LINQ, extension methods, partial methods, automatic properties, anonymous types, lambda expressions, and object initializers.

Of course, I realize that the code is what most developers are interested in, and each chapter provides numerous examples.

The Problem Design Solution series is just that. Each chapter has three sections with a description of the problem to be addressed, the design considerations for choosing a solution for the problem, and the solution that ultimately addresses the problem. The solution includes the bulk of the code. Each chapter builds upon the previous chapter, and it is recommended that you read them in order. The base classes that are described in the first few chapters are critical to an understanding of the rest of the book. Later chapters build upon the base classes and extend their functionality in all three layers of the application.



Download More: http://download.nguyenlong-computer.com/

0 comments