The Development Configuration object, can contain any parameters that you would want to pass to the client. These parameters can assist with development, or just be useful information such as the current version number of the running application. This object is requested at the startup of the application. I was happy to learn that calling a WebAPI endpoint, with the Angular HTTP service, is a piece of cake. Let’s take a look at the fundamentals.
First, let’s have a look at the server-side view model for the Development Configuration object. The DevConfig class has 6 parameters.
The “Debug” parameter will indicate to the client whether we are in Debug mode or Release mode.
The “Testing” parameter is a software switch to facilitate testing. More on that later.
The “Splash Time” parameter is used for timing the Splash view.,,,
The “Version Number” parameter comes from the appsetting.json file which is manipulated by the pre-commit git hook and the build event.
The “Online Status” parameter indicates whether the application is online, or disconnected from the Internet.
And finally the “App Cached” parameter indicates that the application has been cached and is ready to perform offline.
Auf dieser Seite können Sie das Online-Video Development Configuration mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer David Donovan 24 August 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 25 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!