Building a Web 2.0 Portal with ASP.NET 3.5 (Paperback)

Omar AL Zabir

  • 出版商: O'Reilly
  • 出版日期: 2008-01-29
  • 定價: $1,480
  • 售價: 6.0$888
  • 語言: 英文
  • 頁數: 310
  • 裝訂: Paperback
  • ISBN: 0596510500
  • ISBN-13: 9780596510503
  • 相關分類: .NETASP.NET
  • 立即出貨(限量) (庫存=9)

買這商品的人也買了...

相關主題

商品描述

Description 

If you think you're well versed in ASP.NET, think again. This exceptional guide gives you a master class in site building with ASP.NET 3.5 and other cutting-edge Microsoft technologies. You learn how to develop rock-solid web portal applications that can withstand millions of hits every day while surviving scalability and security pressures -- not just for mass-consumer homepages, but also for dashboards that deliver powerful content aggregation for enterprises.

Written by Omar AL Zabir, co-founder and CTO of Pageflakes, Building a Web 2.0 Portal with ASP.NET 3.5 demonstrates how to develop portals similar to My Yahoo!, iGoogle, and Pageflakes using ASP.NET 3.5, ASP.NET AJAX, Windows Workflow Foundation, LINQ and .NET 3.5. Through the course of the book, AL Zabir builds an open source Ajax-enabled portal prototype (available online at www.dropthings.com), and walks you though the design and architectural challenges, advanced Ajax concepts, performance optimization techniques, and server-side scalability problems involved.

You learn how to:
  • Implement a highly decoupled architecture following the popular n-tier, widget-based application model
  • Provide drag-and-drop functionality, and use ASP.NET 3.5 to build the server-side part of the web layer
  • Use LINQ to build the data access layer, and Windows Workflow Foundation to build the business layer as a collection of workflows
  • Build client-side widgets using JavaScript for faster performance and better caching
  • Get maximum performance out of the ASP.NET AJAX Framework for faster, more dynamic, and scalable sites
  • Build a custom web service call handler to overcome shortcomings in ASP.NET AJAX 1.0 for asynchronous, transactional, cache-friendly web services
  • Overcome JavaScript performance problems, and help the user interface load faster and be more responsive
  • Solve scalability and security problems as your site grows from hundreds to millions of users
  • Deploy and run a high-volume production site while solving software, hardware, hosting, and Internet infrastructure problems
Building a Web 2.0 Portal with ASP.NET 3.5 also presents real-world ASP.NET challenges that the author has solved in building educational and enterprise portals, plus thirteen production disasters common to web applications serving millions of users. If you're ready to build state-of-the art, high-volume web applications, this book has exactly what you need.

 

Table of Contents

Preface

1. Introducing Web Portals and Dropthings.com

     Defining a Web Portal

     Defining a Web 2.0 Portal

     Using a Web Portal

     Navigating Dropthings

     Using ASP.NET AJAX

     Using C# 3.0 and .NET 3.5

     Summary

2. Architecting the Web Portal and Widgets

     Using a Widget Framework

     Adding Widgets

     Maximizing the First-Visit Experience

     Rendering a Second-Visit Experience

     Improving ASP.NET AJAX Performance

     Adding Authentication and Authorization

     Preventing Denial-of-Service Attacks

     Summary

3. Building the Web Layer Using ASP.NET AJAX

     Implementing the Start Page of a Web Portal

     Building a Custom Drag-and-Drop Extender for a Multicolumn Drop Zone

     Implementing WidgetContainer

     Building Widgets

     Page Switching: Simulating a Nonpostback Experience

     Using the Profile Object Inside a Web Service

     Implementing Authentication and Authorization

     Implementing Logout

     Summary

4. Building the Data and Business Layers Using .NET 3.5

     Introducing LINQ to SQL

     Building the Data Access Layer Using LINQ to SQL

     Introducing Windows Workflow Foundation

     Building the Business Layer Using WF

     Implementing the DashboardFacade

     Summary

5. Building Client-Side Widgets

     Delaying Server-Side Widget Loading

     Content Proxy

     Building a Client-Side RSS Widget

     Building a Client-Side Flickr Widget

     Summary

6. Optimizing ASP.NET AJAX

     Combining Multiple Ajax Calls into One Call

     Timing and Ordering Ajax Calls to the Server

     Using HTTP GET Calls Instead of HTTP POST

     Working with the this Function

     Summary

7. Creating Asynchronous, Transactional, Cache-Friendly Web Services

     Scalability Challenges with Web Services

     Asynchronous Web Methods

     Modifying the ASP.NET AJAX Framework to Handle Web Service Calls

     Developing Your Own Web Service Handler

     Making an Asynchronous and Cache-Friendly Proxy

     Scaling and Securing the Content Proxy

     Summary

8. Improving Server-Side Performance and Scalability

     Instrumenting Your Code to Identify Performance Problems

     Optimizing the HTTP Pipeline

     Optimizing ASP.NET 2.0/3.5 Before Going Live

     Optimizing Queries in the ASP.NET Membership Tables

     Optimizing the ASP.NET 2.0/3.5 Profile Provider Before You Go Live

     ASP.NET Production Challenges

     Redirecting Traffic from an Old Web Site to a New One

     Summary

9. Improving Client-Side Performance

     Understanding Web Caching

     Content Delivery Networks

     Optimizing Internet Explorer JavaScript Performance

     Reducing the Web Service Call Payload

     Loading the UI on Demand

     Using Read-Ahead Caching for Ajax Calls

     Hiding HTML Inside <textarea>

     Summary

10. Solving Common Deployment, Hosting, and Production Challenges

     Deploying Your Web Site in a Web Farm

     Thirteen Production Disasters That Could Happen at Anytime

     Choosing the Right Hosting Provider

     Choosing a Web Site Monitoring Tool

     Configuring Proper Performance Counters

     Summary

Index

商品描述(中文翻譯)

描述

如果你認為你對ASP.NET很熟悉,那麼再想一想。這本卓越的指南將帶給你一個關於使用ASP.NET 3.5和其他尖端的微軟技術建立網站的大師班。你將學習如何開發堅固的網絡門戶應用程序,能夠承受每天數百萬次的訪問,同時應對可擴展性和安全性的壓力 - 不僅僅是為了大量消費者的主頁,還包括為企業提供強大內容聚合的儀表板。

本書由Pageflakes的聯合創始人兼首席技術官Omar AL Zabir撰寫,《使用ASP.NET 3.5建立Web 2.0門戶》演示了如何使用ASP.NET 3.5、ASP.NET AJAX、Windows Workflow Foundation、LINQ和.NET 3.5開發類似於My Yahoo!、iGoogle和Pageflakes的門戶。在本書的過程中,AL Zabir建立了一個開源的Ajax-enabled門戶原型(在www.dropthings.com上可用),並引導您完成設計和架構挑戰、高級Ajax概念、性能優化技術和涉及的服務器端可擴展性問題。

你將學習如何:
- 實現高度解耦的架構,遵循流行的n-tier、基於小工具的應用程序模型
- 提供拖放功能,並使用ASP.NET 3.5構建網絡層的服務器端部分
- 使用LINQ構建...