Reputation: 655
In Wordpress, I can enable wp_comments to show the commenting system.
I want to write code so that whenever I write comments in HTML markup, it calls my comments written codes.
How can I achieve this in ASP.NET MVC or ASP.NET web forms?
Upvotes: 1
Views: 417
Reputation: 5882
There are several ways to add comments to your ASP.NET MVC 3 web project.
1. Develop a comments section within your application
If you wish to create bespoke commenting functionality for your site, this article gives you a clear walk-through on how you can achieve this.
2. Integrate third party comment service into your website
Alternatively, you could use a third party service like DISQUS and integrate it into your app. Here's a link outlining how to do this.
There's no 'out of the box' commenting system for ASP.NET. Also, you can't really compare the ASP.NET MVC Framework with Wordpress as they are completely different.
Since you have specific functionality (outputting HTML markup), I'd recommend option #1.
Upvotes: 2