WAGONN.AspNetCore.SEOHelper
1.0.0
dotnet add package WAGONN.AspNetCore.SEOHelper --version 1.0.0
NuGet\Install-Package WAGONN.AspNetCore.SEOHelper -Version 1.0.0
<PackageReference Include="WAGONN.AspNetCore.SEOHelper" Version="1.0.0" />
paket add WAGONN.AspNetCore.SEOHelper --version 1.0.0
#r "nuget: WAGONN.AspNetCore.SEOHelper, 1.0.0"
// Install WAGONN.AspNetCore.SEOHelper as a Cake Addin #addin nuget:?package=WAGONN.AspNetCore.SEOHelper&version=1.0.0 // Install WAGONN.AspNetCore.SEOHelper as a Cake Tool #tool nuget:?package=WAGONN.AspNetCore.SEOHelper&version=1.0.0
AspNetCore.SEOHelper
Forked package: <a href="https://github.com/esty-c/AspNetCore.SEOHelper" target="_blank">esty-c/AspNetCore.SEOHelper</a>
Forked Nuget package: <a href="https://www.nuget.org/packages/AspNetCore.SEOHelper/">AspNetCore.SEOHelper<a/>
Helps to create routing robots.txt and sitemap.xml for asp.net core project.
Routing for <a href="https://codingwithesty.com/search-engine-optimization-library-for-dot-net-code-developers#routingrobotstxt"> robots.txt</a>
app.UseRobotsTxt(env.ContentRootPath);
Routing for <a href="https://codingwithesty.com/search-engine-optimization-library-for-dot-net-code-developers#routesitemapxml">sitemap.xml</a>
app.UseXMLSitemap(env.ContentRootPath);
Creating SEO friendly URL
string queryString = "Asp.Net MVC Tutorial Part-1";
var seoQueryString = queryString.ToSEOQueryString();
var url = $"http://www.example.com/{seoQueryString}";
How to create sitemap.xml <a href="https://codingwithesty.com/search-engine-optimization-library-for-dot-net-code-developers#createsitemap">click for details</a>
var list = new List<SitemapNode>();
list.Add(new SitemapNode { LastModified = DateTime.UtcNow, Priority = 0.8, Url = "https://codingwithesty.com/serilog-mongodb-in-asp-net-core", Frequency = SitemapFrequency.Daily });
list.Add(new SitemapNode { LastModified = DateTime.UtcNow, Priority = 0.8, Url = "https://codingwithesty.com/logging-in-asp-net-core", Frequency = SitemapFrequency.Yearly });
new SitemapDocument().CreateSitemapXML(list, _env.ContentRootPath);
How to create custom-sitemap-name.xml for multi-language web sites
var list = new List<SitemapNode>();
list.Add(new SitemapNode { LastModified = DateTime.UtcNow, Priority = 0.8, Url = "https://codingwithesty.com/serilog-mongodb-in-asp-net-core", Frequency = SitemapFrequency.Daily });
list.Add(new SitemapNode { LastModified = DateTime.UtcNow, Priority = 0.8, Url = "https://codingwithesty.com/logging-in-asp-net-core", Frequency = SitemapFrequency.Yearly });
new SitemapDocument().CreateSitemapXML(list, _env.ContentRootPath, "sitemap-tr.xml");
Loading Existing sitemap.xml
List items = new SitemapDocument().LoadFromFile(_env.ContentRootPath);
Loading Existing custom-sitemap-name.xml
List items = new SitemapDocument().LoadFromFile(_env.ContentRootPath, "sitemap-tr.xml");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 317 | 2/13/2024 |