Programming Books C Java PHP Python Learn more Browse Programming Books
Professional ASP.NET 4 in C# and VB and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $3.44 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Professional ASP.NET 4 in C# and VB on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Professional ASP.NET 4 in C# and VB [Paperback]

Bill Evjen , Scott Hanselman , Devin Rader
3.7 out of 5 stars  See all reviews (15 customer reviews)

Buy New
$39.82 & FREE Shipping. Details
Only 15 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
In Stock.
Want it tomorrow, July 11? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $34.49  
Paperback $39.82  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

March 9, 2010 0470502207 978-0470502204 1
This book was written to introduce you to the features and capabilities that ASP.NET 4 offers, as well as to give you an explanation of the foundation that ASP.NET provides. We assume you have a general understanding of Web technologies, such as previous versions of ASP.NET, Active Server Pages 2.0/3.0, or JavaServer Pages. If you understand the basics of Web programming, you should not have much trouble following along with this book's content.

If you are brand new to ASP.NET, be sure to check out Beginning ASP.NET 4: In C# and VB by Imar Spaanjaars (Wiley Publishing, Inc., 2010) to help you understand the basics.

In addition to working with Web technologies, we also assume that you understand basic programming constructs, such as variables, For Each loops, and object-oriented programming.

You may also be wondering whether this book is for the Visual Basic developer or the C# developer. We are happy to say that it is for both! When the code differs substantially, this book provides examples in both VB and C#.

This book explores the 4 release of ASP.NET. It covers each major new feature included in ASP.NET 4 in detail. The following list tells you something about the content of each chapter.

  • Chapter 1, ″Application and Page Frameworks.″ The first chapter covers the frameworks of ASP.NET applications as well as the structure and frameworks provided for single ASP.NET pages. This chapter shows you how to build ASP.NET applications using IIS or the built-in Web server that comes with Visual Studio 2010. This chapter also shows you the folders and files that are part of ASP.NET. It discusses ways to compile code and shows you how to perform cross-page posting. This chapter ends by showing you easy ways to deal with your classes from within Visual Studio 2010.

  • Chapters 2, 3, and 4. These three chapters are grouped together because they all deal with server controls. This batch of chapters starts by examining the idea of the server control and its pivotal role in ASP.NET development. In addition to looking at the server control framework, these chapters delve into the plethora of server controls that are at your disposal for ASP.NET development projects. Chapter 2, ″ASP.NET Server Controls and Client-Side Scripts,″ looks at the basics of working with server controls. Chapter 3, ″ASP.NET Web Server Controls,″ covers the controls that have been part of the ASP.NET technology since its initial release and the controls that have been added in each of the ASP.NET releases. Chapter 4, ″Validation Server Controls,″ describes a special group of server controls: those for validation.

  • Chapter 5, ″Working with Master Pages.″ Master pages provide a means of creating templated pages that enable you to work with the entire application, as opposed to single pages. This chapter examines the creation of these templates and how to apply them to your content pages throughout an ASP.NET application.

  • Chapter 6, ″Themes and Skins.″ The Cascading Style Sheet files you are allowed to use in ASP.NET 1.0/1.1 are simply not adequate in many regards, especially in the area of server controls. This chapter looks at how to deal with the styles that your applications require and shows you how to create a centrally managed look-and-feel for all the pages of your application by using themes and the skin files that are part of a theme.

  • Chapter 7, ″Data Binding.″ One of the more important tasks of ASP.NET is presenting data, and this chapter looks at the underlying capabilities that enable you to work with the data programmatically before issuing the data to a control.

  • Chapter 8, ″Data Management with ADO.NET.″ This chapter presents the ADO.NET data model provided by ASP.NET, which allows you to handle the retrieval, updating, and deleting of data quickly and logically.

  • Chapter 9, ″Querying with LINQ.″ The.NET Framework 4 includes a nice access model language called LINQ. LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. This chapter introduces you to LINQ and how to effectively use this feature in your Web applications today.

  • Chapter 10, ″Working with XML and LINQ to XML.″ The .NET Framework and ASP.NET 4 have many capabilities built into their frameworks that enable you to easily extract, create, manipulate, and store XML. This chapter takes a close look at the XML technologies built into ASP.NET and the underlying .NET Framework.

  • Chapter 11, ″Introduction to the Provider Model.″ The provider model is built into ASP.NET to make the lives of developers so much easier and more productive than ever before. This chapter gives an overview of this provider model and how it is used throughout ASP.NET 4.

  • Chapter 12, ″Extending the Provider Model.″ After an introduction of the provider model, this chapter looks at some of the ways to extend the provider model found in ASP.NET 4. This chapter also reviews a couple of sample extensions to the provider model.

  • Chapter 13, ″Site Navigation.″ Most developers do not simply develop single pages—they build applications. One of the application capabilities provided by ASP.NET 4 is the site navigation system covered in this chapter.

  • Chapter 14, ″Personalization.″ Developers are always looking for ways to store information pertinent to the end user. After it is stored, this personalization data has to be persisted for future visits or for grabbing other pages within the same application. The ASP.NET team developed a way to store this information—the ASP.NET personalization system. The great thing about this system is that you configure the entire behavior of the system from the web.config file.

  • Chapter 15, ″Membership and Role Management.″ This chapter covers the membership and role management system developed to simplify adding authentication and authorization to your ASP.NET applications. This chapter focuses on using the web.config file for controlling how these systems are applied, as well as on the server controls that work with the underlying systems.

  • Chapter 16, ″Portal Frameworks and Web Parts.″ This chapter explains Web Parts—a way of encapsulating pages into smaller and more manageable objects.

  • Chapter 17, ″HTML and CSS Design with ASP.NET.″ Visual Studio 2010 places a lot of focus on building a CSS-based Web. This chapter takes a close look at how you can effectively work with HTML and CSS design for your ASP.NET applications.

  • Chapter 18, ″ASP.NET AJAX.″ AJAX is an acronym for Asynchronous JavaScript and XML. In Web application development, it signifies the capability to build applications that make use of the XMLHttpRequest object. Visual Studio 2010 contains the ability to build AJAX-enabled ASP.NET applications from the default install of the IDE. This chapter takes a look at this way to build your applications.

  • Chapter 19, ″ASP.NET AJAX Control Toolkit.″ Along with the capabilities to build ASP.NET applications that make use of the AJAX technology, a series of controls is available to make the task rather simple. This chapter takes a good look at the ASP.NET AJAX Control Toolkit and how to use this toolkit with your applications today.

  • Chapter 20, ″Security.″ This chapter discusses security beyond the membership and role management features provided by ASP.NET 4. This chapter provides an in-depth look at the authentication and authorization mechanics inherent in the ASP.NET technology, as well as HTTP access types and impersonations.

  • Chapter 21, ″State Management.″ Because ASP.NET is a request-response–based technology, state management and the performance of requests and responses take on significant importance. This chapter introduces these two separate but important areas of ASP.NET development.

  • Chapter 22, ″Caching.″ Because of the request-response nature of ASP.NET, caching (storing previous generated results, images, and pages) on the server becomes rather important to the performance of your ASP.NET applications. This chapter looks at some of the advanced caching capabilities provided by ASP.NET, including the SQL cache invalidation feature which is part of ASP.NET 4. This chapter also takes a look at object caching and object caching extensibility.

  • Chapter 23, ″Debugging and Error Handling.″ This chapter tells you how to properly structure error handling within your applications. It also shows you how to use various debugging techniques to find errors that your applications might contain.

  • Chapter 24, ″File I/O and Streams.″ This chapter takes a close look at working with various file types and streams that might come into your ASP.NET applications.

  • Chapter 25, ″User and Server Controls.″ Not only can you use the plethora of server controls that come with ASP.NET, but you can also use the same framework these controls use and build your own. This chapter describes building your own server controls and how to use them within your applications.

  • Chapter 26, ″Modules and Handlers.″ This chapter looks at two methods of manipulating the way ASP.NET processes HTTP requests: HttpModule and HttpHandler. Each method provides a unique level of access to the underlying processing of ASP.NET, and each can be a powerful tool for creating Web applications.

  • Chapter 27, "ASP.NET MVC." ASP.NET MVC is the latest major addition to ASP.NET and has generated a lot of excitement from the development community. ASP.NET MVC supplies you with the means to create ASP.NET using the Model-View-Controller models that many developers expect. ASP.NET MVC provides developers with the testability, flexibility, an...

Frequently Bought Together

Professional ASP.NET 4 in C# and VB + Beginning ASP.NET 4: in C# and VB + Professional Visual Studio 2010
Price for all three: $99.29

Buy the selected items together

Editorial Reviews

From the Back Cover

Take your web development to the next level using ASP.NET 4

ASP.NET is about making you as productive as possible when building fast and secure web applications. Each release of ASP.NET gets better and removes a lot of the tedious code that you previously needed to put in place, making common ASP.NET tasks easier. With this book, an unparalleled team of authors walks you through the full breadth of ASP.NET and the new and exciting capabilities of ASP.NET 4. The authors also show you how to maximize the abundance of features that ASP.NET offers to make your development process smoother and more efficient.

Professional ASP.NET 4:

  • Demonstrates ASP.NET built-in systems such as the membership and role management systems

  • Covers everything you need to know about working with and manipulating data

  • Discusses the plethora of server controls that are at your disposal

  • Explores new ways to build ASP.NET, such as working with ASP.NET MVC and ASP.NET AJAX

  • Examines the full life cycle of ASP.NET, including debugging and error handling, HTTP modules, the provider model, and more

  • Features both printed and downloadable C# and VB code examples

Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

About the Author

Bill Evjen is one of the most active proponents of .NET technologies. He is the founder of the International .NET Association (INETA), author or coauthor of more than two dozen books, and Global Head of Platform Architecture at Thomson Reuters, Lipper.

Scott Hanselman is a principal program manager lead working in the Server and Tools Online Division at Microsoft. He has a popular blog and weekly podcast at and speaks worldwide on ASP.NET.

Devin Rader works at Infragistics where he focuses on delivering great experiences to developers using their controls. He's also a former INETA board member.

Product Details

  • Paperback: 1536 pages
  • Publisher: Wrox; 1 edition (March 9, 2010)
  • Language: English
  • ISBN-10: 0470502207
  • ISBN-13: 978-0470502204
  • Product Dimensions: 9.2 x 7.4 x 2 inches
  • Shipping Weight: 4.3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon Best Sellers Rank: #496,267 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

3.7 out of 5 stars
3.7 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
18 of 20 people found the following review helpful
4.0 out of 5 stars Lots of Information, potential Information Overload March 22, 2010
When this book was delivered I was in shock at the 1400+ pages, I've been reading on the book since and am several chapters in but I feel I know the book enough to give a fairly decent overview of how it was written and how it will hold up.

This book takes a great in-depth look at every aspect of ASP.NET 4 and gives clear and clean examples in both VB and C# (the authors seem to favor VB however.) Therein comes a warning, if you're new to ASP.NET, C#, or programing in general I strongly suggest you take a different book, this one is more to expand your existing knowledge not to build you from scratch. This book primarily covers the api of ASP.NET and how to effectively use it, it also covers topics such as LINQ, it does not cover language semantics or System Architecture. However, it does make up for neglecting those two subjects in covering Visual Studio 2010 in-depth, including diagramming.

Overall some of the content is a bit dry, this is a professional level book after all, but should be easy enough to read through once you get into your own pace. Don't let the 1400+ pages fool you or dissuade you from picking up this book, the length is partially due to screen shots and also because all code in the book is duplicated between VB to C# also the appendices take up quite a large section, however also keep in mind this book has 36 chapters covering Server and Client Controls to Deployment.

Pros- Complete, direct, covers multiple languages (VB and C#,) easy enough to read.
Cons- Paperback only, can be overwhelming if you just open the book, alot of duplication between C# and VB that not everyone may be interested in.

Sideline - If you are new to C#/VB and .
Read more ›
Was this review helpful to you?
10 of 11 people found the following review helpful
4.0 out of 5 stars Good desktop reference May 12, 2010
This book, I feel, is aimed at a high level overview of Asp.Net 4.0 and will mainly be used as reference manual that you refer to whenever you are looking for quick information on a certain aspect of Asp.Net's programming.

The book is hefty weighing in at over 1450 pages and covers virtually every aspect of Asp.Net programming that you would care to mention, although not every single aspect as I'll explain later. It is generally very easy to read with a good flowing style of writing although you can certainly ascertain where the writers have added new sections and re-written parts of chapters and where they have simply updated the previous release of the book for an older Framework. This is one of my major criticisms of this book and it is very prevalent in the early chapters. Whilst having a brief overview of the history of Asp.Net is good and should indeed be included in books such as this, after that, mentions of classic Asp should not be relevant. How many people are honestly going to be converting a website or application from Classic Asp straight to Asp.Net 4? The authors stating what the difference is and even providing examples in the early chapters of the differences seem totally of place with a technology that is now in it's fourth major iteration (sixth iteration if you count all the releases of the .Net framework) and is 10 years old. All that you gather from this is that the authors simply done a global replace of " x.x" to " 4" in these chapters and that the chapters were actually written back in the Asp.Net 1 or Asp.Net 1.1 days when the technology was still relatively new. These early chapters really need to be re-written from scratch.

Now that my main criticism is out of the way, lets proceed to the rest of the book.
Read more ›
Was this review helpful to you?
9 of 10 people found the following review helpful
5.0 out of 5 stars Worthy addition to your tech library October 12, 2010
Book review - "Pro ASP.NET 4 in C# and VB", by Bill Evjen, Scott Hanselman, and Devin Rader. ISBN: 978-0-470-50220-4 - Published by WROX

Hello, this is my book review for "Pro ASP.NET 4 in C# and VB". Even though there are many new technologies available for programming (Silverlight 4 for example), many times I find myself resorting to the trusty old web programming environment. Why? For me, most of my clients still consider websites the mainstream way of reaching customers, building database aware websites with logon profiles, SSL protection, SQL database calls etc. are still main staples of today's computer programmer.
An example of this is a membership "portal" application I am building; I was briefly sidetracked into using a popular CMS application framework, until my hosting provider objected to the CPU usage of the database and shutdown my database. This is because the CMS system stores all of its content into SQL server databases. So, while I was able to quickly build a prototype of my application using the CMS, changing hosting providers at this stage of the game was a little more than I wanted to deal with at this time. The CMS framework was enticing because it had many features available for use, security infrastructure (users/roles/profiles), ability to edit the content on the website directly, ability to write custom modules and apply them to the website etc... However, you do pay for that infrastructure, mostly in performance and having to write code that conforms to the way the CMS is built. Don't get me wrong, I still like the concept and will probably re-explore the CMS approach (it's based upon by the way, but it has an additional framework built up on top of it) only in my project's case, I had to move on and get everything going.
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars I'm very happy to have bought this book!
The book contains many important tips, examples, and details of resources with examples in C # and A complete book, one of my best purchases ever.
Published 15 days ago by Alan Jorge Olivera Silva
3.0 out of 5 stars way too bulky ! I want something more simplified and more examples.
It's kind of bulky for a book like this. i prefer something more simplify. Need more examples than just plain theory.
It is like reading a bible with chapters in there. Read more
Published 4 months ago by Proctector Freek
1.0 out of 5 stars MVC
Bought because stated had MVC code , Has almost nothing on MVC
wish I could get my money back from order
Published 13 months ago by David Smerchek
5.0 out of 5 stars Great Book - Lots of Code & Examples
What I really like about this tome (1500 pages) is the time the authors take in explaining the stuff. Read more
Published 17 months ago by Narahari Mahadevan
2.0 out of 5 stars Warning - title is deceptive
This book should be titled ASP.NET 4 in VB (and loosely translated to C#). It looks like this book was written originally for VB programmers, then edited to include C#. Read more
Published 17 months ago by kamasutah
3.0 out of 5 stars Same ole Same ole book
This book is a good reference book. It seems like a duplication from ASP.NET 2.0 book. I would recommend getting it for the new information in this book for .NET 4.0.
Published 18 months ago by James D. Perkins
5.0 out of 5 stars Great Book
This is a great book. I have learned many new techniques from it and I have only owned it for a month. I was able to put it to use immediately. Read more
Published on June 5, 2012 by Kim
4.0 out of 5 stars Complete guide for beginners and exprerienced
I think this book makes a good explanation what does the .Net framework do and how it works.
Subjects fill the large area of . Read more
Published on April 16, 2012 by Mr. Tek
2.0 out of 5 stars bad book.
If i wanted to read MSDN, i would have read MSDN.

I don't need a book which copies MSDN into a text book.

its bad, its unproductive and its not teaching. Read more
Published on March 27, 2011 by yfital
5.0 out of 5 stars Essential, even if I collects dusk
Just having the thick book on my work bookshelf I think is good for people walking by to see. It is good overall. Read more
Published on January 17, 2011 by T. Stickel
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category