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

Choosing between MVP and MVC


Both MVP and MVC patterns are capable of generating enterprise class applications. While MVC is definitely a much better pattern, it is also true that as of today the productivity benefits that you get with the MVP approach is far superior. MVC pattern adds a significantly steep learning curve for the current web developers or even the new ones who are just starting.

Given the expectation of rich user interface for a social networking site, using MVC also additionally means lot more work towards creating custom controls for almost every display requirement. MVP allows us to work with the large number of ASP.NET server controls.

When starting on a new application you can argue more convincingly in favor of MVC. However in our case, since this is an update of the book and the associated source code is building on top of the previous edition, using MVC would have meant a significantly long cycle.

There are no migration wizards available today that help in easily taking some MVP based code and converting it to MVC. Had we selected MVC, it would have meant a rewrite of the presentation layer and would have impacted the release timelines of this book.