Softview
No edit summary
No edit summary
Line 14: Line 14:


The razor pages displayed by Turnkey will also look if there is a newer version read since last - and recompile a new html version for delivery to the client.
The razor pages displayed by Turnkey will also look if there is a newer version read since last - and recompile a new html version for delivery to the client.
This new Softview strategy will also lessen the memory usage of server software on the second and rest starts - since the views now kept in memory will be only the ones actually requested by any user.


See also [[ModlrLeanLoad]]
See also [[ModlrLeanLoad]]

Revision as of 15:49, 10 November 2023

The concept of Softview is the ability to make minor changes to a deployed system without the need to send up a new model and restart everything.

It has been shown to be very practical to be able to patch views in a faster pace that model deploy.

To facilitate this both MDrivenTurnkey and MDrivenServer expand the complete model as files in the App_data/ModlrLeanComplete folder whenever a new model is detected (ie uploaded to the MDrivenServer).

All your ViewModels will thus end up in App_data/ModlrLeanComplete.

You can overwrite these with better versions by just xcopy the span file.

The next time a request for ViewModel with that name is needed we will now check if the file is newer on disk than when we read it last.

If so we will re-read it.

The razor pages displayed by Turnkey will also look if there is a newer version read since last - and recompile a new html version for delivery to the client.

This new Softview strategy will also lessen the memory usage of server software on the second and rest starts - since the views now kept in memory will be only the ones actually requested by any user.

See also ModlrLeanLoad

This page was edited more than 10 months ago on 03/18/2024. What links here