BMECat.net 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BMECat.net --version 2.0.0
NuGet\Install-Package BMECat.net -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BMECat.net" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BMECat.net --version 2.0.0
#r "nuget: BMECat.net, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BMECat.net as a Cake Addin
#addin nuget:?package=BMECat.net&version=2.0.0

// Install BMECat.net as a Cake Tool
#tool nuget:?package=BMECat.net&version=2.0.0

BMECat.net

.net library for reading and writing BMECat product catalogues.

The library has a sister library (https://github.com/stephanstapel/OpenTrans.net) which allows to process order files.

Installation

Installation so far is manually, since no nuget packages was created yet.

Usage

Creation of catalogue files is simple:

ProductCatalog catalog = new ProductCatalog()
{
  Languages = { LanguageCodes.DEU },
  CatalogId = "QA_CAT_002",
  CatalogVersion = "001.002",
  CatalogName = "Office Material",
  GenerationDate = new System.DateTime(2004, 8, 20, 10, 59, 54),
  Currency = CurrencyCodes.EUR
};

catalog.Products.Add(new Product()
{
  No = "Q20-P09",
  EANCode = "0000000011",
  Currency = CurrencyCodes.EUR,
  NetPrice = 16.49m,
  DescriptionShort = "Post-Safe Polythene Envelopes Deutsch",
  DescriptionLong = "Deutsch All-weather lightweight envelopes protect your contents and save you money. ALL - WEATHER.Once sealed, Post-Safe envelopes are completely waterproof.Your contents won't get damaged.",
  Stock = 100,
  VAT = 19
});


catalog.Save("test.xml");

Create a new ProductCatalog object and set the necessary properties to set up the catalogue:

ProductCatalog catalog = new ProductCatalog()
{
  ...
}

Then add products to the product list property:

catalog.Products.Add(new Product()
{
  ...
}

and finally save the catalogue either to stream or to file:

catalog.Save("test.xml");

That's it.

More information

More information about BMEcat can be found here:

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

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
4.5.0 329 11/23/2023
4.4.0 444 8/16/2023
4.3.0 116 8/16/2023
4.2.1 127 8/7/2023
4.2.0 142 7/2/2023
4.1.0 117 6/26/2023
4.0.1 115 6/17/2023
4.0.0 112 6/17/2023
3.2.0 154 4/12/2023
3.1.0 149 4/4/2023
3.0.0 170 3/28/2023
2.4.1 177 3/28/2023
2.4.0 167 3/28/2023
2.3.0 165 3/27/2023
2.2.1 160 3/26/2023
2.2.0 168 3/25/2023
2.1.0 191 3/19/2023
2.0.0 184 3/19/2023