Product Microdata LD-JSON structure using c#
https://m.youtube.com/watch?v=bt2GMZi-s_MIf you need to define LD-JSON Product structure as it is defined at Schema.org you can use Product class defined in MXTires.Microdata library. Example of C# code for defining Product Microdata structure using MXTires.Microdata library: [TestMethod] public void SimpleProductTest() { var product = new Product() { Name = “T3 REPLICA NISSAN ALTIMA, MAXIMA (PAINTED/SILVER)”, }; System.Diagnostics.Debug.Write(product.ToJson()); }
Read MoreLocalBusiness Microdata JSON structure using c#
Example of C# code for defining LocalBusiness Microdata structure using MXTires.Microdata library: [TestMethod] public void LocalBusinessTest() { LocalBusiness shop = new LocalBusiness() { Name = “1010Tires.com”, Description = “Sell Wheels and Tires.”, CurrenciesAccepted = “USD, CAD”, }; Language language = new Language() { Name = “English, French” }; //may need more differentiation shop.Address = new […]
Read More