Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Grand.SharedKernel.Extensions;
using Microsoft.AspNetCore.Http;
namespace Grand.Web.Common.Extensions;
public static class HttpContextExtensions
{
public static string GetStoreCookie(this HttpContext httpContext)
{
return httpContext?.Request.Cookies[CommonHelper.StoreCookieName];
}
}