Base library:
AspNet library:
Prerequisites:
· Description:
Tool with Common Data used in multiple .NET applications like Countries, Cities, Currencies, ExchangeRates...
· Getting started:
There are two ways for using StaticData tool. Examples on Wiki are availaible
In addition, in both cases you have an static configuration method ConfigurationHelper -> RegisterStaticDataServices that needs a IStaticDataConfigurationBuilder in order to register the specific configuration (Examples of configuration availabile also in the wiki
NOTE: NuGet has been renamed from ChustaSoft.StaticData.AspMvc to ChustaSoft.StaticData.AspNet since version 1.0.1.2, which is compatible with the last ChustaSoft.StaticData.AspMvc version. Update the NuGet to the new one is recomended
Once dependencies are registered, you can use by injecting the different availaible services on the needed class
Another implementation that the ASPNET nuget provides is a Controller with all needed methods for retrieving information of all services, without doing anything else.
*: Alpha types: Alpha3, Alpha2
**: All date dormats: dd-MM-yyyy