This is just a simple template app, which should be used for new apps. It contains a basic structure and some instructions.
Note that the version number is set to 00.17.00. This is the version of the template app, not the version of the app you are creating.
We set the second version number to match the 2sxc version we are using, so we can easily see which version of 2sxc the app was created with. The third number is just a counter, which we increase when we make changes to the template app.
This app is maintained by 2sic, and the official repo is at app-template-empty
Since you chose the empty template, it doesn't include the instructions in the web site.
The docs should give you some insights.
If that's not enough, you should start with a more sophisticated template such as app-template-basic.
- 2rb: Added using to
Httpclient - 2dm: added icon
- 2rb: Replaced hardcoded fields constant with
OpenMeteoConstants.ExpectedFieldsinOpenMeteoCurrent - 2rb: Removed unnecessary
Uri.EscapeDataString()call for constant fields - 2rb: Removed redundant null check in
OpenMeteoForecast.GetForecast()(already handled inToForecastModels()) - 2rb: Changed
OpenMeteoHelpersclass frompublictointernal - 2rb: Added XML documentation to several files
- 2rb: Refactored
OpenMeteoHelpers.Download()extracted URL building and JSON download into separate methods for clarity - 2rb: Added views for documentation
Docs-OpenMeteoCurrentandDocs-OpenMeteoForecast - 2rb: Migrated from
WebClienttoHttpClientinOpenMeteoHelpers.DownloadJson() - 2rb: Added static
HttpClientinstance with User-Agent header toOpenMeteoHelpers - 2rb: Used
ConfigureAwait(false)with synchronous result pattern - 2rb: Added Title to Current View
- 2dm: introduced strongly typed parameters
OpenMeteoParameterswith XML documentation - 2dm: Slimmed down code a bit more, especially using
if()...returnpattern
- 2dm: made some internal classes internal
- 2dm: Moved DTOs to their own namespace
- 2dm: Removed unused usings
- 2dm: Some Todos for @2rb
- 2dm: Renamed
OpenMeteoResultModeltoOpenMeteoResult
- 2rb: added test views
- 2rb:
OpenMeteoForecastimproved to work withOpenMeteoResult - 2dm: Move constants to main namespace, make internal, add helper method
- 2dm: Simplified
OpenMeteoResultto use the CustomModel base class - 2rb: Moved test views to right location
- 2dm: Created configuration to export content-type to proper namespace & folder
- 2dm: Placed OpenMeteoConfiguration in correct Extensions namespace
- 2dm: Extended the resulting data to return JSON for further use
- 2dm: Made internal models
internalinstead ofpublicas they are not used outside - 2dm: Attempted to make OpenMeteoCurrent use typed data instead of dynamic - but it looks like OpenMeteoCurrent actually doesn't work
- 2dm: Introduced translation of weather codes in OpenMeteoCurrent
- 2dm: Fixed OpenMeteoForecast to use configuration values for lat/long
- 2dm: Created sample of Typed output