LocalServers
Hans Karlsen (talk | contribs) No edit summary |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
<MDrivenServerOverride MDrivenServerPWD="123456"><nowiki>https://localhost:5000</nowiki></MDrivenServerOverride> | <MDrivenServerOverride MDrivenServerPWD="123456"><nowiki>https://localhost:5000</nowiki></MDrivenServerOverride> | ||
</root> | </root> | ||
The LocalServers-UI in MDrivenDesigner handles this configuration for you. |
Revision as of 16:41, 15 December 2020
LocalServers is a concept where you run the MDrivenServerCore and MDrivenTurnkeyServerCore editions locally.
MDrivenServer is the backend server responsible for OR-Mapping, Maintaining SQL evolve, ServerSide jobs etc
MDrivenTurnkey is the Frontend server responsible for UI and Rest services.
What LocalServers functionality does is:
- Ensure download of latest versions of the .netCore3.1 self contained versions of the tehe 2 server components. The result ends up on local disk here:\My Documents\MDrivenServers\ with files named MDrivenServerCore.zip and MDrivenTurnkeyCore.zip
- You can now create complete local server environment locally by adding a new Local-Server-Pair. This local install is given a name and ends up here: My Documents\MDrivenServers\<TheNameOfTheInstall> . under this folder you will find MDrServer and MDrTurnkey
- Inside each My Documents\MDrivenServers\<TheNameOfTheInstall> \MDrServer folder you will find the full self contained .net core3.1 executable of the webserver for MDrivenServer.
- You can start the AppCompleteGenericCore.exe and it will start to function on the port given in the UI
- For MDrivenServer the data is stored in a CompactDB that is found here MDrServer\App_Data\DatabaseCompact.sdf
- The default database has a user with name "a" and password "123456" - we suggest you leave that as is for local development
- Inside each My Documents\MDrivenServers\<TheNameOfTheInstall> \MDrTurnkey folder you will find the full self contained .net core3.1 executable of the webserver for MDrivenTurnkey.
- The Turnkey server needs to find an MDrivenServer in order to find model and data - the configuration is found in MDrTurnkey\App_Data\MDrivenServerOverride.xml and looks like this:
<?xml version="1.0" encoding="utf-8"?> <root> <MDrivenServerOverride MDrivenServerPWD="123456">https://localhost:5000</MDrivenServerOverride> </root>
The LocalServers-UI in MDrivenDesigner handles this configuration for you.
This page was edited more than 9 months ago on 03/26/2024. What links here