ASP.Net Core Google Site Map Generator

How to Generate a Google Sitemap File Using ASP.NET Core and C#