Book Image

ASP.NET 4 Social Networking

By : Atul Gupta, Sudhanshu Hate, Andrew Siemer
Book Image

ASP.NET 4 Social Networking

By: Atul Gupta, Sudhanshu Hate, Andrew Siemer

Overview of this book

<p>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.<br /><br />This book shows how to build a scalable, enterprise-ready social network using ASP.NET. The book uses the latest features of ASP.NET 4.0 and .NET Framework 4.0 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, this book is ideal for you.<br /><br />The book starts by planning the essential features of your social network, and then building a 'community framework' that will give your site a solid foundation and enable you to add all your social networking features. You can then go on to create user accounts, profile pages, messaging systems, 'friend' relationships between members, photo galleries, blogs, forums, groups, and more. Along the way you will see MEF, Entity Framework, LINQ, AJAX, C# 4.0, ASP.NET Routing,and other features of ASP.NET 4.0 put to practical and interesting uses. There is also integration with other technologies like Silverlight, Flash, XINHA WYSIWYG editor, reCaptcha, Lucene.NET and Cropper and you also look at custom implementation of authentication and profile features for the website.</p> <p>This book will show you how to create a scalable, maintainable social network that can support hundreds of thousands of users, complete with multimedia features.</p>
Table of Contents (23 chapters)
ASP.NET 4 Social Networking
Credits
About the Authors
Acknowledgement
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Problem


We are not going to discuss the profiles capability of .NET for the same reason that we chose not to write about the membership capabilities of .NET. This topic is widely covered in many books and on many of the top blog sites. We thought it might be more interesting to discuss a custom implementation of creating a profile and dynamic attributes so that a member's profile could be expanded with time. Also, this will get us a bit deeper into LINQ and how our framework works.

Another interesting topic that must be discussed absolutely while building profiles is avatars. An avatar is a small icon or image that is associated with each user's profile. This allows you to visually pick a profile out of the group with ease. Generally, an avatar is displayed next to just about everything a user does or interacts with. This could be their blog posts, forum posts, comments, and so on. It provides a sort of virtual face-to-face feeling.

Of course, we could take an easier approach and not allow...