Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DISQUS comments in asp.net webforms

Hi i want to use DISQUS comments system. But i couldnt find any resource for C# asp.net webforms, examples , source code or implement. I have found a project in codeplex and CodeProject but it seems that the code is in MVC i haven't used MVC .
Where can i find DISQUS implementation code in Asp.net C# webforms? not MVC.

like image 740
skhurams Avatar asked Dec 29 '25 09:12

skhurams


1 Answers

In most cases implementing Disqus into a website is really easy, since you're not actually building all the markup. At the minimum, you just need to add the Universal Code on the proper page templates, which links to the embed javascript file and the "disqus_thread" DIV.

At that point to make a "complete" integration, you just need to output some javascript configuration variables (using a unique identifier, URL, and title for each thread) and maybe the comment counting script and that should be it.

The only webforms-specific examples you might possibly need are how to output the article's unique ID, title and URL variables onto the page. So if you have a good idea of how to do that, you shouldn't need an existing integration.

like image 128
Ryan V Avatar answered Dec 30 '25 22:12

Ryan V