Building a Web 2.0 Portal with ASP.NET 3.5
Learn How to Build a State-of-the-Art Ajax Start Page Using ASP.NET, .NET 3.5, LINQ, Windows WF, and More
Publisher: O'Reilly Media
Release Date: February 2009
Pages: 352
Read on Safari with a 10-day trial
Start your free trial now Buy on AmazonWhere’s the cart? Now you can get everything on Safari. To purchase books, visit Amazon or your favorite retailer. Questions? See our FAQ or contact customer service:
1-800-889-8969 / 707-827-7019
support@oreilly.com
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
Table of Contents
-
Chapter 1 Introducing Web Portals and Dropthings.OmarALZabir.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
-
-
Chapter 2 Architecting the Web Portal and Widgets
-
Object Model
-
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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Colophon