NGravatar.Core
1.0.1
Install-Package NGravatar.Core -Version 1.0.1
dotnet add package NGravatar.Core --version 1.0.1
<PackageReference Include="NGravatar.Core" Version="1.0.1" />
paket add NGravatar.Core --version 1.0.1
#r "nuget: NGravatar.Core, 1.0.1"
// Install NGravatar.Core as a Cake Addin
#addin nuget:?package=NGravatar.Core&version=1.0.1
// Install NGravatar.Core as a Cake Tool
#tool nuget:?package=NGravatar.Core&version=1.0.1
NGravatar.Core provides methods for interacting with the Gravatar API on the .NET platform. This is the core library used by NGravatar for MVC extension methods. To get those methods, install the NGravatar package.
Product | Versions |
---|---|
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NGravatar.Core:
Package | Downloads |
---|---|
NGravatar
NGravatar provides MVC HtmlHelper and UrlHelper extension methods for rendering Gravatar avatars from gravatar.com. The project is licensed under the MIT open-source license and is hosted at Google Code. See http://code.google.com/p/ngravatar/ for more information. Gravatar avatars are retrieved based on an email address and optional parameters. A rendered Gravatar avatar on an MVC view page might look something like: @Html.Gravatar("ngravatar@kendoll.net", 80, htmlAttributes: new { style = "border:10px solid blue;" }) The above line would render an <img> tag with the source of the Gravatar for "ngravatar@kendoll.net". The size, default image, rating, and any additional HTML attributes can also be specified. Using NGravatar requires that the "NGravatar.Html" namespace be added to the Web.config (or the top of a view with a @using directive). See the source at Google Code for an example project. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.1 | 4,438 | 7/29/2013 |
Version 1.x.x is a complete rewrite of NGravatar with many breaking changes. To prevent these changes from affecting your code, don't update past version 0.x.x. Instructions on how to do so can be found here:
http://stackoverflow.com/questions/10206090/how-to-install-an-older-version-of-a-nuget-package/