Files
FrontOffice/src/FrontOffice.Main/Utilities/Seo/SeoSettings.cs
T
masoodafar-web 2573729db5
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
feat: implement SEO enhancements and sitemap generation
- Added SEO configuration settings in appsettings for both development and staging environments, including site URL, name, and default description.
- Registered SEO-related services in the dependency injection container, including `SeoMetadataProvider` and `SitemapGenerator`.
- Updated the main program to configure SEO settings and map a new endpoint for generating the sitemap.
- Enhanced the `_Host.cshtml` page to utilize SEO metadata, including title, description, and Open Graph tags, improving search engine visibility and user engagement.

These changes significantly enhance the SEO capabilities of the application, ensuring better indexing and presentation in search results.
2026-07-01 21:45:24 +03:30

12 lines
488 B
C#

namespace FrontOffice.Main.Utilities.Seo;
public class SeoSettings
{
public const string SectionName = "Seo";
public string SiteUrl { get; set; } = "https://kbs2.ir";
public string SiteName { get; set; } = "کارابازار سلامت";
public string DefaultDescription { get; set; } =
"باشگاه مشتریان کارابازار سلامت (KBS) — فروشگاه محصولات سلامت، پاداش شفاف، کیف پول و شبکه فروش.";
}