- Full Description
ASP.NET 4 is the principal standard for creating dynamic web pages on the Windows platform. Pro ASP.NET 4 in C# 2010 raises the bar for high-quality, practical advice on learning and deploying Microsoft's dynamic web solution.
This edition is updated with everything you need to master up to version 4 of ASP.NET, including coverage of ASP.NET MVC, ASP.NET AJAX 4, ASP.NET Dynamic Data, and Silverlight 3.
Seasoned .NET professionals Matthew MacDonald and Mario Szpuszta explain how you can get the most from these groundbreaking technologies. They cover ASP.NET 4 as a whole, illustrating both the newer features and the functionality carried over from previous versions of ASP. This book will give you the knowledge you need to code real ASP.NET 4 applications in the best possible style.
What youll learn
- Understand why ASP.NET 4 is so special, what its fundamental principles are, the basics of Visual Studio, and how ASP.NET controls are created and how they fit into ASP.NET pages, ultimately creating full applications.
- Become familiar with ASP.NET MVC, one of the biggest additions to ASP.NET 4, and understand how to use it and integrate it within your existing ASP.NET applications.
- Discover the intricacies of ADO.NET and how to perform data binding to many sources, from databases to file streams to XML.
- Learn the various forms of security available and how to best apply them. Once considered the Achilles' heel of all Windows web applications, security has vastly improved and is now a cornerstone of ASP.NET 4.
- Understand how to work with web services, an important skill in an increasingly connected world.
- Use ASP.NET AJAX 4, with an emphasis on contemporary web development techniques.
- Perform development using Internet Information Services 7, Microsoft's premier web hosting platform.
- Table of Contents
Table of Contents
- Introducing ASP.NET
- Visual Studio
- Web Forms
- Server Controls
- ASP.NET Applications
- State Management
- ADO.NET Fundamentals
- Data Components and the DataSet
- Data Binding
- Rich Data Controls
- Caching and Asynchronous Pages
- Files and Streams
- User Controls
- Themes and Master Pages
- Website Navigation
- Website Deployment
- The ASP.NET Security Model
- Forms Authentication
- Windows Authentication
- Authorization and Roles
- Custom Membership Providers
- Custom Server Controls
- Graphics, GDI+, and Charting
- ASP.NET AJAX
- Portals with Web Part Pages
- Dynamic Data
- Source Code/Downloads
If you think that you've found an error in this book, please let us know by emailing to firstname.lastname@example.org . You will find any confirmed erratum below, so you can check if your concern has already been addressed.On page XXXV:"Part 6: Building Desktop User Interfaces using WPF
.NET 3.0 introduced programmers to an amazing API called Windows Presentation Foundation (WFP)."
Abbreviation in brackets should be WPF not WFP.
On page 35:In Figure 2-7 I think that the text "Click here to start deploying the web application (see Chapter 18)" is not pointing at the correct icon.
On page 51:
Figure 2-19 on page 51 is incorrect. It is the same as figure 2-20 on the next page.
On page 116:Cut and paste error in Table 3-5: ContentType description is actually that for BufferOutput from previous table.
On page 117:
In the second paragraph, there is a sentence exactly like this:
By Default, even though the Redirect() method redirects the user and closes the connection, any remaining code in the method will still run, along with other page events....
But there is a problem with this information. By default, when the Redirect() method is called, the page execution will be aborted, any remaining code in the method won't run.
On page 201:
in the second last paragraph "To use the WebConfigurationSettings class" should be ""To use the WebConfigurationManager class".
On page 205:The brackets in the note at the bottom of the page reads "(such as read read access ..." i.e the word read is repeated. Presumably this shoud be "read write"?
On page 223:
The USL in the screen shot is for the wrong chapter. It should be chapter 5. This is probably from a previous edition of the book.
On page 295:
Page 295 and every other page that refers to HtmlContent.text = .....
Error message "HtmlContent does not exist in current context".
Regardless of namespace used this does not seem to work, suggested namespaces do not include this reference.
On page 306:
comma bw the parameter name and its value is missing
On page 332:int empID = db.InsertEmployee(
new EmployeeDetails(0, "Mr.", "Bellinaso", "Marco"));;
Not a critical error, but the values are passed to the constructor in the wrong order. The title of courtesy should come after the first name. This will make Figure 8-2 look correct.
On page 391:
<asp:DetailsView ID="DetailsView1" runat="server"
There is no data source sourceEmployees declared in the previous text. Should be probably sourceEmployee
On page 495:
To set a sliding expiration policy, set the absoluteExpiration parameter to
On page 500:
To fill the grid, you use the following SqlDataSource: [...]
* looks like EnableCaching="True" is missing in the example code
On page 847:
After following the required steps and attempting to save the Table Relationships I get an error saying
"Inventory' table saved successfully
'Customers' table saved successfully
- Unable to create relationship 'FK_Orders_Inventory'.
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_Orders_Inventory". The conflict occurred in database "AutoLot", table "dbo.Inventory", column 'CarID'.