MDriven Server - Connecting To
(Created page with "frameless|414x414px In order to make this MDriven Server – slot A0 – understand my model I use MDriven Designer: File:MDriv...")
 
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:MDriven Server Introduction 05.png|frameless|414x414px]]
[[File:MDriven Server Introduction 05.png|frameless|414x414px]]


In order to make this MDriven Server – slot A0 – understand my model I use MDriven Designer:
To make this MDriven Server – slot A0 – understand my model, I use MDriven Designer:


[[File:MDriven Server Connect To 02.png|frameless|414x414px]]
[[File:MDriven Server Connect To 02.png|frameless|414x414px]]
Line 7: Line 7:
[[File:MDriven Server Connect To 03.png|frameless|420x420px]]
[[File:MDriven Server Connect To 03.png|frameless|420x420px]]


I enter the credentials from the user I registered with MDriven Server, the url to the MDriven Server, The chosen App slot, and also check – suggest automated deploy.
I enter the credentials from the user I registered with MDriven Server, the URL to the MDriven Server, the chosen App slot, and also check – suggest automated deploy.


I then hit “Go”:
I then hit “Go”:
Line 13: Line 13:
[[File:MDriven Server Connect To 04.png|frameless|420x420px]]
[[File:MDriven Server Connect To 04.png|frameless|420x420px]]


The message Database created means that MDriven Server has received our model and turned it into a database.
The message the Database created means that MDriven Server has received our model and turned it into a database.


When I now enter prototyping mode again I choose to take data from this MDriven Server instead from the local XML file:
When I now enter prototyping mode again, I choose to take data from this MDriven Server instead of the local XML file:


[[File:MDriven Server Connect To 05.png|frameless|407x407px]]
[[File:MDriven Server Connect To 05.png|frameless|407x407px]]


And when I start the application I no longer see the data in the local xml file I see the data in the database managed by MDriven Server hosted by Azure:
When I start the application, I no longer see the data in the local XML file. Instead, I see the data in the database managed by the MDriven Server hosted by Azure:


[[File:MDriven Server Connect To 06.png|frameless|401x401px]]
[[File:MDriven Server Connect To 06.png|frameless|401x401px]]


There are several ways I can verify that I am working towards the MDriven Server:  
There are several ways I can verify that I am working towards the MDriven Server:  
* Check the AutoForm function of MDriven Server:
* Check the AutoForm function of the MDriven Server:
[[File:MDriven Server Connect To 07.png|frameless|444x444px]]
[[File:MDriven Server Connect To 07.png|frameless|444x444px]]


Line 31: Line 31:
[[File:MDriven Server Connect To 15.png|frameless|461x461px]]
[[File:MDriven Server Connect To 15.png|frameless|461x461px]]


The auto forms function of MDriven Server very much works the same way as the Model Driven Debugger – you can navigate everything according to your model:
The autoforms function of MDriven Server works the same way as the Model Driven Debugger – you can navigate everything according to your model:


[[File:MDriven Server Connect To 10.png|frameless|455x455px]]
[[File:MDriven Server Connect To 10.png|frameless|455x455px]]
* Another way to look on the data is to '''use the ASP.NET Generic App''':
* Another way to look at the data is to '''use the ASP.NET Generic App''':
[[File:MDriven Server Connect To 14.png|frameless|477x477px]]
[[File:MDriven Server Connect To 14.png|frameless|477x477px]]


And this very much works as the prototyping app we saw in WPF:
This works the same as the prototyping app we saw in WPF:


[[File:MDriven Server Connect To 11.png|frameless|449x449px]]
[[File:MDriven Server Connect To 11.png|frameless|449x449px]]
Line 43: Line 43:
[[File:MDriven Server Connect To 12.png|frameless|444x444px]]
[[File:MDriven Server Connect To 12.png|frameless|444x444px]]


If you want to have your customer or some else test the model as it stands just now it would be great to just send them an url to click to get started. This can be done by sending the the link from MDriven Server that points to a ClickOnce install of the MDriven Designer – with some parameters that instructs the MDriven Designer to download the correct model and go into prototyping mode
If you want your customer or someone else to test the model as it is now, it would be great to send them a URL to click on to get started. This can be done by sending a link from the MDriven Server that points to a ClickOnce install of the MDriven Designer – with some parameters that instruct the MDriven Designer to download the correct model and go into prototyping mode.


[[File:MDriven Server Connect To 13.png|frameless|436x436px]]
[[File:MDriven Server Connect To 13.png|frameless|436x436px]]


This link points to the CapableObjects published MDriven Designer clickOnce installation.  
This link points to the CapableObjects published MDriven Designer ClickOnce installation.  


The link will offer an installation of MDriven Designer if the user does not have it already:
The link will offer an installation of MDriven Designer if the user does not already have it:


[[File:MDriven Server Connect To 16.png|frameless|393x393px]]
[[File:MDriven Server Connect To 16.png|frameless|393x393px]]


If/ when you accept the MDriven Designer is installed:
If/when you accept, the MDriven Designer is installed:


[[File:MDriven Server Connect To 17.png|frameless|381x381px]]
[[File:MDriven Server Connect To 17.png|frameless|381x381px]]


Next time you follow the link a check is made to see if there is a newer MDriven Designer available. If there is the new one will be downloaded and installed, otherwise the existing one will start directly.  
Next time you follow the link, a check is run to see whether there is a newer MDriven Designer available. If there is, the new one will be downloaded and installed, otherwise, the existing one will start directly.  


Your A0 link from your MDriven Server looks something like this:
Your A0 link from your MDriven Server looks something like this:<blockquote><nowiki>http://www.new.capableobjects.com/xdownloads/MDrivenDesigner/Gaffr.application?prototype=a</nowiki> HR0cDovL21kcml2ZW5ib29rZGVtbzEuYXp1cmV3ZWJzaXRlcy5uZXQv&appslot=A0</blockquote>Note that there are two arguments passed to the MDriven Designer. The first argument is the URL address to your MDriven Designer encoded with base64 to pass through all browser types. The second parameter is the AppSlot – in this case A0. When MDriven Designer sees these arguments on start, it will try to do this:
 
# Download the model from the provided URL and the provided AppSlot.
<nowiki>http://www.new.capableobjects.com/xdownloads/MDrivenDesigner/Gaffr.application?prototype=a</nowiki> HR0cDovL21kcml2ZW5ib29rZGVtbzEuYXp1cmV3ZWJzaXRlcy5uZXQv&appslot=A0  
# Start prototyping for this model.
 
In the preferred scenario, the user sees this:
Note that there are two arguments passed to the MDriven Designer. The first argument is the url address to your MDriven Designer encoded with base64 to pass thru all browser types. The second parameter is the appslot – in this case A0. When MDriven Designer sees these arguments on start it will try to do this:
# Download the model from the provided url and the provided appslot
# Start prototyping for this model
So in the preferred scenario the user sees this:


[[File:MDriven Server Connect To 18.png|frameless|383x383px]]
[[File:MDriven Server Connect To 18.png|frameless|383x383px]]


But it may fail for a number of reasons to get this far. The reasons are all based in [[Security concerns for MDriven Server|security concerns]] for your MDriven Server and your model.
However, for several reasons, it may fail to get this far. The reasons are all based on [[Security concerns for MDriven Server|security concerns]] for your MDriven Server and your model.
[[Category:MDriven Server]]
{{Edited|July|12|2024}}

Latest revision as of 15:36, 10 February 2024

MDriven Server Introduction 05.png

To make this MDriven Server – slot A0 – understand my model, I use MDriven Designer:

MDriven Server Connect To 02.png

MDriven Server Connect To 03.png

I enter the credentials from the user I registered with MDriven Server, the URL to the MDriven Server, the chosen App slot, and also check – suggest automated deploy.

I then hit “Go”:

MDriven Server Connect To 04.png

The message the Database created means that MDriven Server has received our model and turned it into a database.

When I now enter prototyping mode again, I choose to take data from this MDriven Server instead of the local XML file:

MDriven Server Connect To 05.png

When I start the application, I no longer see the data in the local XML file. Instead, I see the data in the database managed by the MDriven Server hosted by Azure:

MDriven Server Connect To 06.png

There are several ways I can verify that I am working towards the MDriven Server:

  • Check the AutoForm function of the MDriven Server:

MDriven Server Connect To 07.png

MDriven Server Connect To 08.png

MDriven Server Connect To 15.png

The autoforms function of MDriven Server works the same way as the Model Driven Debugger – you can navigate everything according to your model:

MDriven Server Connect To 10.png

  • Another way to look at the data is to use the ASP.NET Generic App:

MDriven Server Connect To 14.png

This works the same as the prototyping app we saw in WPF:

MDriven Server Connect To 11.png

MDriven Server Connect To 12.png

If you want your customer or someone else to test the model as it is now, it would be great to send them a URL to click on to get started. This can be done by sending a link from the MDriven Server that points to a ClickOnce install of the MDriven Designer – with some parameters that instruct the MDriven Designer to download the correct model and go into prototyping mode.

MDriven Server Connect To 13.png

This link points to the CapableObjects published MDriven Designer ClickOnce installation.

The link will offer an installation of MDriven Designer if the user does not already have it:

MDriven Server Connect To 16.png

If/when you accept, the MDriven Designer is installed:

MDriven Server Connect To 17.png

Next time you follow the link, a check is run to see whether there is a newer MDriven Designer available. If there is, the new one will be downloaded and installed, otherwise, the existing one will start directly.

Your A0 link from your MDriven Server looks something like this:

http://www.new.capableobjects.com/xdownloads/MDrivenDesigner/Gaffr.application?prototype=a HR0cDovL21kcml2ZW5ib29rZGVtbzEuYXp1cmV3ZWJzaXRlcy5uZXQv&appslot=A0

Note that there are two arguments passed to the MDriven Designer. The first argument is the URL address to your MDriven Designer encoded with base64 to pass through all browser types. The second parameter is the AppSlot – in this case A0. When MDriven Designer sees these arguments on start, it will try to do this:

  1. Download the model from the provided URL and the provided AppSlot.
  2. Start prototyping for this model.

In the preferred scenario, the user sees this:

MDriven Server Connect To 18.png

However, for several reasons, it may fail to get this far. The reasons are all based on security concerns for your MDriven Server and your model.

This page was edited 101 days ago on 02/10/2024. What links here