ASP.NET Video Starter Kit 7.0 or newer include script to generate user activities automatically just like facebook does and display these activities on user public profiles while allowing others to comment, like, dislike it.
User activity posts generated automatically and listed on user public profiles while allowing others to post comment and rating on it. Each activity preview is generated based on content type. e.g video activity post generated differently then video album activity post.
Activity is generated in the following cases. Developers can extend generating activity easily for other actions too.
It can be easily extended to
You can use the following code to generate user activity.
UserActivity_Struct ustr = new UserActivity_Struct(); ustr.UserName = "[username]"; ustr.Title = "[title]"; // e.g "Added 2 new photos"; ustr.Activity = "[Activity]" // complete activity, preview in html format. ActivityBLL.Add(ustr);