This page has been translated from Italian

Review of the book "Programming Microsoft Asp.Net"

| Nessun commento | TrackBack | | | No Comments | TrackBack |
una stelladue stelletre stellequattro stellecinque stelle (Rate this article!)
Loading ... Loading ...


E 'with great pleasure that I submit this review of the book "Programming ASP.NET Microsft" the great Dino Esposito. The RECENZIONI really very detailed delgli topics covered in the book and what results you can achieve it, is reproduced here with permission Emanuele Mattei.

Card of the book:


Author Dino Esposito
Publisher: Microsoft Press
Features 1152 p.
ISBN 0735625271
year of publication 13/02/2008
Edition number 1
Level: Int / Adv
Language: English

For those who are interesting in the planning of the new version of Microsoft Asp.Net 3.5, find interesting new book by Dino Esposito, Programming Microsoft Asp.Net 3.5, published by Microsoft Press. The book is currently in English (the Italian version is planned for September 2008) is aimed at those who have a good knowledge of Asp.Net technology are focused on giving information to advanced programming with this new version of the technology Asp.Net.

The manual consists of 21 chapters divided into 4 parts on the creation of websites, data management (, Linq, etc.) the infrastructure of ASP, net, and the innovations introduced with the new version, as Ajax and Silverlight.

The author Dino Esposito has written numerous books and articles, his blog is accessible here in Italian and in English here where you can find interesting news and web programming techniques for several years writing articles for MSDN magazine and books for Microsoft press as well as participate as a presenter at international conferences. Is not included in the book no CD-ROM or DVD, the sample files are freely downloadable from the net.

But we see in detail the various chapters that make up this book.

In the first chapter discusses the architecture of technology Asp.Net, information on the HTTP protocol, a simple code example to illustrate the practical functionality Asp.Net.
This chapter is very important because it helps a lot the reader to understand the development of web based technology Asp.Net.

Chapter 2 addressed the new development environment Visual Studio 2008. In this chapter we will see how to use the functionality provided by this environment, functionality, such as copying a project, the creation of a new project, options that can be set, and many other features.
In addition, also illustrates the innovations introduced to the code, in particular the C # language, such as the extension methods. Even the briefest mention of LINQ, which will be discussed in more detail in Chapter Ten. Read on, you pass the creation of the first project, the master page, information on the code-behind and more. In chapter are several images and several examples of code, so the reader can understand the argument that you are dealing with. A chapter-oriented new development environment and the creation of the first project in Asp.Net.

After illustrating the development environment, and some examples of code, in Chapter Three, we see the operation of a Web page, or rather the various files that can be found at various web applications (global.asax, controls, web serverices etc.). At first, an overview is made on the web server IIS 5 and IIS 6, the architecture and operation, how the various web applications are processed. Continuing in chapter describes, including the various properties, methods, directives (Imports, implements, page, etc.) events web pages. A chapter that illustrates the operation of a web page, very important information that allows the programmer with little or no experience to understand the architecture of this technology.

In Chapter 4 the author of the book illustrates some of the most common server controls. The properties of the Control class methods and events, and other useful information. The chapter covers how to use server-side controls. The chapter is addressed in a very comprehensive, explaining the various controls as HtmlSelect HtmlTextArea, using javascript, the control command button, upload files, HtmlImage. Once this introduction, we pass to the WebControl, illustrating the use of some WebControl as hyperlinks, image, and image buttons, checbox, AdRotator and many others. In this chapter are also summary tables of the properties and methods of the WebControl class. Also in this chapter are discussed also the validation checks, such as the RequiredFieldValidator, RangeValidator, ValidationSummary, validation groups. A chapter-oriented use of common control.

In the fifth chapter explains how to use web pages, you will be guided on the use of class HtmlForm in aspx pages. The use of the values on the transition between one page and another, using multiple forms, and other techniques. Continuing in this chapter are reported as other techniques to move from one page to another, such as through the use of method transfer server class or property postbackurl control button. In these early pages, the reader discovers how to validate and pass values between web pages.

Always use the web pages you go to an interesting argument, error handling, or better to use an error page in case they occur in our code of discrepancy. This part discusses various techniques of how to use an error page, the website, very important topic.

But the use of Web pages, does not stop here, in fact demonstrates how to make custom pages based on the profile.

The sixth chapter concludes the first part of the book, in this chapter, the main topic, and layout of the website, through the use of master pages, themes and wizards, technology made available with the framework version 2.0.

After an introduction to the master page, switch to create real illustrating an example of code, to be taken as a basis for study and the @ master. The chapter is wide, and in addition to illustrating the creation of a master page and other components, also illustrates the architecture of this technique.

When the part of the master page, switch to the themes, namely how to apply a certain style to various web pages. For those who have used style sheets (CSS) will find familiar with this technique, while for the less experienced through the various examples and pictures, you can understand the use of this technique. At first shows a comparison between the sheets of styles and themes, then moves to step by step creation of a theme. The concluding part of this chapter, deals with the wizard, how to create pages that guide the navigator step by step, this technique already with the version of framework 2.0.

The second part of the book begins with the seventh chapter, this section describes the technique for accessing data, how to upload the information from a data source to use the website.

In the seventh chapter, after an overview on the architecture of ADO.Net, for access to data, shows the SqlConnection class to connect to Microsoft SQL Server. Through the summary table, discusses the methods and properties of this class. The first code example in this class concerns the discovery of information concerning the database to which you are connecting, that is what tables, views, etc. is made via the method GetSchema. Continuing in this chapter the author provides techniques for how to secure the connection, how to use the web.config file for the settings to connect to the database. Having set out the class for the database connection, you pass the SqlCommand class to perform the query for this class we find examples of code and information panels, and so for all other classes. Another class for data access, which is illustrated in this chapter is the data reader for reading the data. The part of the chapter concludes with other techniques regarding the transactions, the TransactionScope object, and support for the XML file.

By the eighth chapter, you pass the introduction of those classes that have the task to contain and manage data. Explains the SqlDataAdapter class, the DataSet and DataTable, the class SqlCommandBuilder the DataTableReader, datarelations, DataView, and some useful information for serialization. In these two chapters, the reader will acquire the information for the use of classes in data management. Two important chapters that every programmer should know.

The ninth chapter, we always talk about Ado.Net but this time linked to web pages, which you will be guided how to manage data through web pages. The chapter explains the use of the GridView control to present a video data. The control type list, such as the DropDownList, CheckBoxList, RadioButtonList, ListBox, the control Repeater, DataList, and DataGrid. The chapter also addresses an interesting topic, which bind the data, connect a data source to a particular control. Co
ntinuando for the chapter, there is a good example of using the GridView control. In this chapter, discusses a new framework of 3.5, in particular the class LinqDataSource, which its use is discussed in a comprehensive manner. The class SiteMapDataSource, for improvement of navigation on the site is illustrated with examples of very practical, the concluding part of the chapter concerns the XmlDataSource class.

The tenth chapter, is entirely directed towards the novelty of the LINQ framework 3.5, a new programming model. After a brief overview of this novelty, it passes with practical examples of how to use it with SQL, and how to use it with the protocol for the exchange of XML data. Code samples, continue with the combination of the DataSet class and then with objects, such as arrays. Continuing with the various examples, we also find some examples of such joins, grouping, aggregation and more.

The chapter contains many examples of various types, addressing this new subject, very comprehensive, providing excellent guidance to those who have never used this technique or those who already know it.

With Chapter 11, we pass to the representation of data through the grid, in this chapter we find some great information on the use of grids through the DataGrid and gridiview.

After an introduction to the DataGrid control, with useful information and tables of information concerning this control, provides examples of its use. The use of special columns, type hyperlink, button and templates. The data page in the control, sorting and editing. After the explanation of this control, you move to another control, the GridView control that is part of the framework 2.0. Also in this control, is made an introduction to control and information panels provide a good way to understand its use.

In this chapter, we will see how to create columns of type button, hyperlink, type checkbox, or image type. Continuing this chapter, we will also see columns model, paging, and sorting data. Moreover, even the management of data, such as editing, deletion or insertion. More advanced operations such as selecting a row, the customization of a row and more on this control.

The twelfth chapter begins by illustrating the control listivew, after a brief introduction is passed to its use, with practical examples. We see how to set a specific layout, management of lines and other formatting tasks and functions that can be applied to this control. The chapter devotes many pages to this control, because due to the many features that can offer.

Continuing in this chapter, you move to another control, you will learn to use the DataPager control, paging, and sorting data.

By the thirteenth chapter, concludes the second part of the book, a very important part devoted to the management of data and their representation. In this chapter will discuss two other controls, very useful for visualization, control DetailsView and FormView control. We'll see how to use the DetailsView control, formatting and using it, the page can view the details of a row, operations on the records, such as changing, deleting and inserting, and many other operations. After the explanation of the DetailsView control is passed to the FormView control.

The third part of the book concerning the infrastructure of technology Asp.Net, beginning with the fourteenth chapter.

The topics are very good, in fact it is important to understand how to develop websites with Asp.Net technology and this chapter, described its operation, some aspects are often not included when writing web applications. The chapter begins by illustrating the HttpApplication class , is passed to the global.asax file, the HttpContext class, class httpserverutility, the use of COM objects, to the HttpResponse class, chapter, unlike the previous ones is much more theoretical than practical, in that the fragments and code examples are very few, but it is a chapter that will guide the reader to understand some important aspects of this technology.

Continuing with some important classes of this technology in Chapter 15, shows the class HttpApplicationState, session management, and other important issues on the session and on navigation.

By the sixteenth chapter, he tackles another interesting topic, this time dedicated to the cache of Asp.Net. At first, an introduction is made to the class cache, illustrating not only the methods and properties but also the architecture, how to properly manage the information. Continuing in this chapter, there are numerous examples of code on this part. In the chapter we will see the class XmlDataCacheDependency, the use of XML files and SQL database server. The chapter deals comprehensively this part, as other classes and settings aspx pages, for the management of the cache.

The development of web applications, it also requires a strong attention to safety, in fact, no bugs, you can create a web application, security is always at risk, given the continuing attacks on websites. In the seventeenth chapter tackles this issue the safety of Asp.Net. At first signs are provided at the IIS web server and the various licenses and permits. Once this part is passed to the code, explaining the class FormsAuthentication, managing cookies, class membership, role management and utilities, class roles, the Login control, control PasswordRecovery and many other controls to authenticate with the site.

With Chapter 18 concludes the third part of the book. Is treated initially configuring the IIS web server, the extension and ISAPI filters, and more, and then move on the part of the code.

We'll see how to handle HTTP requests, use ihttphanlder interface, asynchronous HTTP handlers, creating a custom HTTP module. A whole chapter but at the same time important.

In chapter 19, begins the fourth and final part of the book, this chapter discusses a very topical, the Ajax frameworks, in fact with the introduction of the new development environment Visual Studio 2008, between patterns of web projects, there are also those based with Ajax. In the early pages of this chapter discusses the architecture and operation of Ajax, the XMLHttpRequest object and JavaScript language, which are the basis for this new way of web programming. This part is very interesting both for those who are already using Ajax is for those who are approaching this framework. Continuing in chapter describes the controls ScriptManager, UpdatePanel, UpdateProgress, and the Ajax Control Toolkit, with the various controls available. An excellent chapter to acquire skills in this area.

The penultimate chapter, which is the twentieth, the argument continues Ajax, but this time turned to Web Services. Also in this chapter, before moving on to examples of code, the reader is given an introduction to the operation of this type of architecture that is Ajax and web services. Continuing in chapter switches to pro
programming web services with Ajax, code examples that illustrate a very important but at the same time too complex.

The final chapter of the book (21), illustrates a new technology for the web, although it has little to do with the Fremwork 3.5. The chapter provides the basics on the new Microsoft technology for the web, or Silverlight. In the early chapters are an introduction to this plug-in, and its operation. In the various examples of code, the author discusses some applications you can do with this new technology, we will see how to make our web applications more attractive, through animations and visualizations. The chapter addresses both the version 1.0 the version 2.0, albeit in beta it.

Here are the titles of the chapters
Part 1) Build an Asp.Net Page
1) The Asp.Net Programming Model
2) Web Development in Microsoft Visual Studio 2008
3) Anatomy of an Asp.Net Page
4) Core Asp.Net Server Controls
5) Working with the page
6) Rich Page Composition
Part 2) Adding Data in an Asp.Net site
7) Ado.Net Data Providers
8) Data Ado.Net Containers
9) The Data-Binding Model
10) The LINQ-to-SQL Programming Model
11) Creating Bindable Grids of Data
12) Managing a List of Records
13) Managing Views of a Record
Part 3) Infrastructure Asp.Net
14) The HTTP Request Context
15) Asp.Net State Management
16) Asp.Net Caching
17) Asp.Net Security
18) HTTP handlers and Modules
Part 4) Asp.Net Ajax Extensions
19) Partial Rendering: The Easy Way to Ajax
20) Ajax-Enabled Web Services
21) Silverlight and Rich Internet Application

A very good book for those who already use the technology Asp.Net, in the book are very interesting topics, with which the experienced reader will find interesting and will increase your knowledge with the technology. It is not a manual step by step guide to creating a website, but an excellent manual for those who have the basics of programming Asp.Net but that are interesting to extend some aspects of this technology, which in a few books have dealt with . Moreover, the innovations introduced with the new version 3.5, are explained quite well, it is also interesting to look at some arguments, presented in a very exhaustive. The book is written in English, but in September 2008 there will be a version in Italian.
Note that the code examples are all written with the new programming language C # 3.0.

This article has been viewed 326 times

Leave a comment

/ me runs