Bill Evjen

Bill Evjen

סופר


1.

ASP.NET revolutionized Web application development. The platform handles many of the complexities of creating Web applications. Now ASP.NET AJAX takes the development platform even further. The lines between rich client applications and traditionally less interactive browser-based applications are being further blurred with the use of this technology.

The ASP.NET AJAX Library brings object-oriented programming to JavaScript development for modern browsers, and the ASP.NET AJAX Extensions makes it easy to write rich Web applications that communicate with the Web server asynchronously. Again, the complexities are made easy by using ASP.NET.

The new server controls that are part of ASP.NET AJAX make it simple to designate parts of the page to be updated automatically without making the user pause and wait while the data is refreshed. You can have partial page updates without writing a single line of code. Other new controls let you alert the user that background work is happening and designate regular intervals at which updates occur. In addition, the ASP.NET AJAX Control Toolkit makes it easy to make your user interface really come to life with animations, modal dialogs, transition effects, and more.

Ajax is definitely the hot buzzword in the Web application world at the moment. Ajax is an acronym for Asynchronous JavaScript and XML and, in Web application development, it signifies the capability to build applications that make use of the XMLHttpRequest object.

The creation and the inclusion of the XMLHttpRequest object in JavaScript and the fact that most upper-level browsers support the use of this object led to creation of the Ajax model. Ajax applications, although they have been around for a few years, gained greater popularity after Google released a number of notable, Ajax-enabled applications such as Google Maps and Google Suggest. These applications demonstrated the value of Ajax.

Shortly thereafter, Microsoft released a beta for a new toolkit that enabled developers to incorporate Ajax features in their Web applications. This toolkit, code-named Atlas and later renamed ASP.NET AJAX, makes it extremely simple to start using Ajax features in applications today.

Prior to Visual Studio 2008, the ASP.NET AJAX product used to be a separate application that developers were required to install on their machine and the Web server that they were working with. This release gained in popularity quite rapidly and has now been made a part of the Visual Studio 2008 offering. Not only is it a part of the Visual Studio 2008 IDE, the ASP.NET AJAX product is also baked into the .NET Framework 3.5. This means that in order to use ASP.NET AJAX, developers are not going to need to install anything if they are working with ASP.NET 3.5.

Overall, Microsoft has fully integrated the entire ASP.NET AJAX experience in that developers can easily use Visual Studio and its visual designers to work with your Ajax-enabled pages and even have the full debugging story that they would want to have with their applications. Using Visual Studio 2008, developers are now able to debug straight into the JavaScript that they are using in the pages.

In addition, it is important to note that Microsoft focused a lot of attention on cross-platform compatibility with ASP.NET AJAX. Developers will find that the Ajax-enabled applications that they build upon the .NET Framework 3.5 are able to work within all the major up-level browsers out there (e.g., FireFox and Opera).

This book is aimed at experienced ASP.NET developers looking to add AJAX to their applications, and experienced Web developers who want to move to using ASP.NET and AJAX together.

In this book, I assume that you already have an understanding of how ASP.NET works. For an in-depth discussion of ASP.NET, I recommend Professional ASP.NET 3.5 by Bill Evjen, et al. (Wrox, 2008). The focus here is on how you can extend ASP.NET applications to update portions of the page asynchronously and to add richer UI elements to a page. ASP.NET AJAX makes it easy to enrich your existing application or to design a new application to provide a better experience for users. The differences among modern browsers have been abstracted, allowing you to write to a common set of APIs and trust that the user will get the correct behavior whether they are using Internet Explorer, Firefox, or Safari.

If you know how to author ASP.NET pages, you can easily start using the Microsoft AJAX library to manipulate the browser’s Document Object Model and communicate with the server to update the user’s view of data without forcing them to wait for the entire page to be refreshed.

This book covers ASP.NET 3.5 AJAX. It does not cover ASP.NET 3.5, on which ASP.NET AJAX is built. The examples lead you from the core of what is included in the ASP.NET AJAX Library through the core controls you would first start using. You build on that using the core JavaScript library and the ASP.NET AJAX Toolkit before covering debugging, deployment, and custom control development.

The ASP.NET 3.5 release includes the Microsoft AJAX Library as well as the server controls that can be used in ASP.NET pages to extend applications, making them more rich and interactive. It does so by leveraging the ASP.NET AJAX Library, which is JavaScript that runs in the browser. The server controls and JavaScript Library work together to let you update HTML with data obtained asynchronously from the server. The ASP.NET application services are exposed to JavaScript classes in the ASP.NET AJAX Library, making authentication and personalization accessible from the browser.

Chapter 1 introduces you to ASP.NET AJAX. This book discusses the need for AJAX Libraries and explain how ASP.NET AJAX compares to other AJAX Libraries. You will see how ASP.NET AJAX is composed of client and server pieces and that you can use the client library with any server platform you choose. In Chapter 2, the focus is on the most popular and easily applied feature of ASP.NET, the UpdatePanel control. This control allows you to automatically update portions of a page asynchronously, without subjecting the user to a visible pause while the page refreshes. Chapters 3 and 4 give you some key information about working with JavaScript and how the ASP.NET AJAX Library makes development with JavaScript easier. The book then works through several key features, including control of script resources and working with the ScriptManager control in Chapter 5, the new ASP.NET 3.5 ability to work with the back button in Chapter 6, and the ASP.NET AJAX Toolkit in Chapter 7 and all it has to offer for creating rich user interfaces. The next chapter, Chapter 8, looks at how to use ASP.NET’s application services (such as the Membership and Role management systems) with ASP.NET AJAX. Chapter 9 looks at networking objects. Chapter 10 looks at working with animations in ASP.NET AJAX. Chapter 11 shows you how to develop custom AJAX controls. Chapters 12, 13, and 14 shows the reader how to incorporate Ajax in some other ASP.NET core features such as Web Parts, localization, and state management. Chapter 15 looks at what is required to test and debug Ajax applications, and finally, Chapter 16 explores how to deploy ASP.NET AJAX applications.

...


2.

This book was written to introduce you to the features and capabilities that ASP.NET 3.5 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 3.5: In C# and VB by Imar Spaanjaars (Wiley Publishing, Inc., 2008) 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 spends its time reviewing the 3.5 release of ASP.NET. Each major new feature included in ASP.NET 3.5 is covered in detail. The following list tells you something about the content of each chapter.

  • Chapter 1, "Application and Page Frameworks." This chapter shows you how to build ASP.NET applications using IIS or the built-in Web server that comes with Visual Studio 2008. 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 2008.

  • Chapters 2, 3, and 4.These three chapters are grouped here 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 5, "Working with Master Pages."Master pages are a great capability found in ASP.NET. They provide a means of creating templated pages that enable you to work with the entire application, as opposed to single pages.

  • Chapter 6, "Themes and Skins.” 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 in ASP.NET 3.5.” One of the more important tasks of ASP.NET is presenting data, and this chapter shows you how to do that with ASP.NET controls.

  • 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." 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 use this new feature in web applications today.

  • Chapter 10, "Working with XML and LINQ to XML." This chapter looks at the XML technologies built into ASP.NET and the underlying .NET Framework to help you easily extract, create, manipulate, and store XML..

  • Chapter 11, "IIS7." Probably the most substantial release of IIS in its history, IIS 7.0 will change the way you host and work with your ASP.NET applications.

  • Chapter 12, "Introduction to the Provider Model." A number of systems are built into ASP.NET that make the lives of developers so much easier and more productive than ever before. These systems are built upon an architecture called a provider model, which is rather extensible. This chapter gives an overview of this provider model and how it is used throughout ASP.NET 3.5.

  • Chapter 13, "Extending the Provider Model." This chapter looks at some of the ways to extend the provider model found in ASP.NET 3.5. This chapter also reviews a couple of sample extensions to the provider model.

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

  • Chapter 15, "Personalization.". The ASP.NET team developed a way to store end user information—the ASP.NET personalization system.

  • Chapter 16, "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 17, "Portal Frameworks and Web Parts." This chapter explains Web Parts—a way of encapsulating pages into smaller and more manageable objects.

  • Chapter 18, "HTML and CSS Design with ASP.NET." A lot of focus on building a CSS-based Web application was placed on Visual Studio 2008. This chapter takes a close look at how you can effectively work with HTML and CSS design for your ASP.NET applications.

  • Chapter 19, "ASP.NET AJAX."AJAX signifies the capability to build applications that make use of the XMLHttpRequest object. New to Visual Studio 2008 is the ability to build AJAX-enabled ASP.NET applications from the default install of the IDE.

  • Chapter 20, "ASP.NET AJAX Control Toolkit." This chapter takes a good look at the ASP.NET AJAX Control Toolkit, a series of new controls that are now available to make AJAX web development rather simple.

  • Chapter 21, "Security." This security chapter discusses security beyond the membership and role management features provided by ASP.NET 3.5. 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 22, "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 23 , "Caching." Because of the request-response nature of ASP.NET, caching on the server becomes 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 3.5.

  • Chapter 24, "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 25, "File I/O and Streams." More often than not, you want your ASP.NET applications to work with items that are outside the base application. This chapter takes a close look at working with various file types and streams that might come into your ASP.NET applications.

  • Chapter 26, "User and Server Controls." This chapter describes building your own server controls and how to use them within your applications.

  • Chapter 27, "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 can be powerful tools for creating web applications.

  • Chapter 28, "Using Business Objects." You are going to have components created with previous technologies that you do not want to rebuild but that you do want to integrate into new ASP.NET applications. Beyond showing you how to integrate your COM components into your applications, this chapter shows you how to build newer style .NET components instead of turning to the previous COM component architecture.

  • Chapter 29, "Building and Consuming Services." This chapter reveals the ease not only of building XML Web services, but consuming them in an ASP.NET application. This chapter then ventures further by describing how to build XML Web services that utilize SOAP headers and how to consume this particular type of service.

  • Chapter 30, "Localization." ASP.NET provides an outstanding way to address the internationalization of Web applications. This chapter looks at some of the important items to consider when building your Web applications for the world.

  • Chapter 31, "Configuration." This chapter teaches you to modify the capabilities and behaviors of ASP.NET using the various configuration files at your disposal.

  • Chapter 32, "Instrumentation." The ASP.NET framework includes performance counters, the capability to work with the Windows Event Tracing system, possibilities for application tracing , and the most exciting part of this discussion—a health monitoring system that allows you to log a number of different events over an application's lifetime.

  • Chapter 33, "Administration and Management.&quo......


3.

Professional ASP.NET 3.5 SP1 In C# and VB

ASP.NET 3.5 brings the power of Visual Studio® 2008 along with the multitude of language improvements in C# 2008 and Visual Basic® 2008 as well as powerful new technology called LINQ, together with the ASP.NET 2.0 Framework you already know and love. Packed with valuable coverage of ASP.NET 3.5 SP1, this essential resource offers both C# and VB examples throughout the book, and shares new and updated content on the ADO.NET Entity Framework, ADO.NET Dynamic Data, and ADO.NET Data Services.

While ASP.NET 3.5 boasts server controls like the ListView and the incredibly flexible GridView, it also includes advancements in AJAX technology combined with JavaScript® debugging features in Visual Studio 2008. With this book, a stellar author team covers the new controls in the AJAX toolbox, the back button history, and script combining, and they also examine the new capabilities of WCF including changes to DataContractSerializer. In addition, the accompanying CD-ROM features the entire book in PDF format.

What you will learn from this book

  • The concepts underlying the server control and its pivotal role in ASP.NET development

  • How to create templated ASP.NET pages using the master page feature

  • How to work with data from enterprise databases including SQL Server®

  • Ways to debug, package, and deploy ASP.NET applications, monitor their health and performance, and handle errors

  • How to retrieve, update, and delete data quickly and logically using LINQ with side-by-side examples comparing LINQ to existing techniques

  • Ways to localize your web site in multiple languages for a world-wide audience

  • Methods for adding AJAX capabilities to your ASP.NET applications

  • The many benefits of the new data access additions

  • Ways to use and extend the Provider Model for accessing data stores, processes, and more

  • What freeware tools you need in Scott Hanselman's ASP.NET Ultimate Developer Tools appendix

Who this book is for

This book is for programmers and developers who are looking to make the transition to ASP.NET 3.5 SP1 with Visual Studio 2008 and either C# 3.0 (2008) or Visual Basic 9 (2008).

CD-ROM includes the full book in PDF format and a selection of 7 Wrox Blox mini e-books including:

  1. Internet Explorer 8 and Its Impact on Your ASP.NET Web Sites

  2. Jumping from ASP.NET to Silverlight 2

  3. Leverage LINQ in ASP.NET 3.5 Projects

...

4.
The professional developer's best buy on .NET 2.0!

Includes

  • Professional ASP.NET 2.0
  • Professional C# 2005
  • Professional .NET Framework 2.0
  • Professional .NET 2.0 Generics
  • CD-ROM with more than 700 pages of bonus chapters from 10 other .NET 2.0 and SQL Server(TM) 2005 Wrox books
  • DVD with 180-day trial version of Microsoft(r) Visual Studio(r) 2005 Professional Edition

Master ASP.NET 2.0's power and time-saving features
With more than 50 new server controls, the number of classes inside ASP.NET 2.0 has more than doubled and the changes are sometimes dramatic. This book teaches you

  • The pivotal role of the server control in ASP.NET development
  • How to create templated ASP.NET pages with the master pages feature
  • Debugging and error-handling techniques
  • Frameworks that help you extract, create, manipulate, and store XML

Revolutionize the way you program
Get the fundamentals of C# plus essential background on the .NET architecture. Here's what you must know to write dynamic Web pages, an XML Web service, a classic Windows desktop app, and more, including

  • Principles of programming in the .NET environment
  • How to use existing COM components with .NET applications
  • Techniques for manipulating XML using C# 2005
  • How to access databases with ADO.NET

Explore underlying platform commonalities you can use
Here's an in-depth look at Common Language Runtime (CLR) fundamentals, Base Class Libraries (BCL), and the more advanced Framework libraries used in most managed applications. You'll discover

  • Details of the CLR's architecture
  • How assemblies work and options for deployment
  • Specific portions of the BCL and advanced Framework libraries, including transaction libraries
  • The secure programming model and forms of isolation and concurrency

Examine what you can achieve with generics
Generics bring a new dimension of type-safety, expressiveness, and performance to data types. Here's comprehensive information on generics and the rules governing them, BCL generic types, the Power Collections library, and more, such as

  • How to use generics to improve the type-safety of your code
  • Steps for extending classes and introducing derivative generic types
  • Guidelines for applying generics
  • Ways to achieve runtime efficiencies
...






©2006-2023 לה"ו בחזקת חברת סימניה - המלצות ספרים אישיות בע"מ