how to add google 1 button using asp MVC 4 and add in internet application

how to add google +1 button using asp MVC 4 and add in internet application


First of all:

Adding a Google +1 button doesn't have much to do with MVC 4 per se, but a potential implementation looks something like this:

In View/Partial View
            <div class="g-plusone" data-annotation="none"></div>

        @* other buttons/links/whatever *@

In _Layout.cshtml corresponding to the View
    (function() {
        var po = document.createElement( 'script' ); po.type = 'text/javascript'; po.async = true;
        po.src = '';
        var s = document.getElementsByTagName( 'script' )[0]; s.parentNode.insertBefore( po, s );
    } )();

Note that you might load this script conditionally, place it within a @section, etc.

For that firstly you have to create opnID auth key for more informations you can check out this link:

Need Your Help

Using local database with Android virtual device

android database connection localhost avd

Following this topic Can an Android App connect directly to an online mysql database I'm trying to approach Android and Database on my studies; The things is, I would like to know if I can or may u...

File viewer with sliding buffer

c# winforms file text buffer

I'd like to make a simple text file viewer and I'd like it to be able to handle large files (possibly larger than the computer's memory).