ASP.NET 3.5 Social Networking

An expert guide to building enterprise-ready social networking and community applications with ASP.NET 3.5

ASP.NET 3.5 Social Networking

Starting
Andrew Siemer

An expert guide to building enterprise-ready social networking and community applications with ASP.NET 3.5
$21.00
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free Sample

Book Details

ISBN 139781847194787
Paperback580 pages

About This Book

  • Create a full-featured, enterprise-grade social network using ASP.NET 3.5
  • Learn key new ASP.NET topics in a practical, hands-on way: LINQ, AJAX, C# 3.0, n-tier architectures, and MVC
  • Build friends lists, messaging systems, user profiles, blogs, message boards, groups, and more
  • Rich with example code, clear explanations, interesting examples, and practical advice – a truly hands-on book for ASP.NET developers

Additional material with this book:

Appendix A Setting Up Your Development Environment

Appendix B Test-Driven Development and Continuous Integration

Appendix C SQL

Who This Book Is For

This book is written for ASP.NET and C# developers who want to build an enterprise-grade Social Network, either for their own business purposes or as a contract job for another company.

The book assumes you have prior experience of developing web applications using ASP.NET 3.5, C# 3.0, SQL Server 2005/2008, and Visual Studio .NET 2008; it focuses on topics that will be of interest to existing developers – not on providing step-by-step examples for each detail.

Table of Contents

Chapter 1: Social Networking
What makes this topic so important
Once I have my own social network, then what?
Our social network—Fisharoo
This book's approach
Features of our social network
Summary
Chapter 2: An Enterprise Approach to our Community Framework
A layered architecture versus a non-layered architecture
Domain-driven Design
Model View Presenter pattern
Factory pattern using StructureMap
Repository pattern and LINQ
Wrappers for everything!
Error handling and logging
Summary
Chapter 3: User Accounts
Problem
Design
Solution
Summary
Chapter 4: User Profiles
Problem
Design
Solution
Summary
Chapter 5: Friends
Problem
Design
Solution
Summary
Chapter 6: Messaging
Problem
Design
Solution
Summary
Chapter 7: Media Galleries
Problem
Design
Solution
Summary
Chapter 8: Blogs
Problem
Design
Solution
Summary
Chapter 9: Message Boards
Problem
Design
Categories
Solution
Summary
Chapter 10: Groups
Problem
Design
Solution
Summary
Chapter 11: Comments, Tags, and Ratings
Problem
Design
Solution
Summary
Chapter 12: Moderation
Problem
Design
Solution
Summary
Chapter 13: Scaling Up
Problem
Design
Solution
Summary

What You Will Learn

  • Make key decisions about architecture and the tools to use
  • Build a solid 'community framework' to give your site a strong foundation; the principles explored this framework will apply to any large-scale web application
  • Create user accounts, set up a permissions system, and handle password encryption
  • Work with user profiles, and establish 'friend' relationships between different users
  • Let users customize their profile and communicate with one another
  • Understand core concepts of LINQ to SQL and work with it in a layered environment
  • Moderate the site, ensuring safety, dealing with cross-site scripting (XSS), privacy, and decency
  • Utilize the Model View Presenter pattern with ASP.NET 3.5 to enable Test Driven Development
  • Add an internal search engine using SQL Server and Lucene.NET
  • Work with appropriate design patters to create a scalable long-lasting enterprise framework 

In Detail

Social Networking is all about developing connections or ties between friends and associates. While people have always networked with one another the Internet has allowed us to network with people all over the world easily. Any interest or cause can support its own social network, where fans and followers can meet, chat, and share their views. But building a social networking site from scratch involves some complex logic, and some serious coding.

This book shows how to build a scalable, enterprise-ready social network using ASP.NET. The book uses the latest features of ASP.NET to provide a platform that is efficient, easy to maintain, and extensible. Whether you want to build your own social network, are developing a social site for a customer or employer, or just want a practical guide to developing complex ASP.NET applications then this book is ideal for you.

The book starts by planning the essential features of our social network, and then building a 'community framework' that will give our site a solid foundation and enable us to add all our social networking features. We then go on to create user accounts, profile pages, messaging systems, 'friend' relationships between members, media galleries, blogs, message boards, groups, and more. Along the way you will see LINQ, MVC, AJAX, and other features of ASP.NET 3.5 put to practical and interesting uses.

Authors

Table of Contents

Chapter 1: Social Networking
What makes this topic so important
Once I have my own social network, then what?
Our social network—Fisharoo
This book's approach
Features of our social network
Summary
Chapter 2: An Enterprise Approach to our Community Framework
A layered architecture versus a non-layered architecture
Domain-driven Design
Model View Presenter pattern
Factory pattern using StructureMap
Repository pattern and LINQ
Wrappers for everything!
Error handling and logging
Summary
Chapter 3: User Accounts
Problem
Design
Solution
Summary
Chapter 4: User Profiles
Problem
Design
Solution
Summary
Chapter 5: Friends
Problem
Design
Solution
Summary
Chapter 6: Messaging
Problem
Design
Solution
Summary
Chapter 7: Media Galleries
Problem
Design
Solution
Summary
Chapter 8: Blogs
Problem
Design
Solution
Summary
Chapter 9: Message Boards
Problem
Design
Categories
Solution
Summary
Chapter 10: Groups
Problem
Design
Solution
Summary
Chapter 11: Comments, Tags, and Ratings
Problem
Design
Solution
Summary
Chapter 12: Moderation
Problem
Design
Solution
Summary
Chapter 13: Scaling Up
Problem
Design
Solution
Summary

Book Details

ISBN 139781847194787
Paperback580 pages
Read More