Getting started template for MDriven MVC

In order to get started with a MDriven MVC project clone this project at CodePlex: https://mdrivenmvc.codeplex.com/

Go like this:

1. Make sure you have MDriven Framework installed in VisualStudio

2. Navigate to https://mdrivenmvc.codeplex.com/ and download source – as a zip of with git

3. Once you have the source on your local hard drive open it with VisualStudio (2012 or 2013)

 

image

4. Enable nuget package restore on the solution:

image

5. Verify that it builds:

image

6. Change the settings for the persistence mapper:

image

Now you can change the model, generate code and deploy to your MDriven Server

This entry was posted in codeplex, MVC. Bookmark the permalink.

3 Responses to Getting started template for MDriven MVC

  1. SteveA says:

    I’ve tried to sep up MDriven server on a local Windows Web Server 2008 R2
    I’ve registered a used but going to the admin area I get
    —-https://localhost:44302/AccessFromServer.aspx?info=exception&message=Could%20not%20establish%20trust%20relationship%20for%20the%20SSL/TLS%20secure%20channel%20with%20authority%20’localhost:44302′.———————
    This is MDrivenServer

    MDrivenServer seems to have encountered an exception – this might be because your admin database needs an evolve. Common if you loaded a new MDrivenServer version. Press “EvolveAdminDB” button below.

    If you do not see the “EvolveAdminDB” button below – you must access this page from the hosting server

    If you cannot access the hosting server (due to hosting restrictions) you can send a parameter to this page ?logon=xxxx where xxxx is System.Configuration.ConfigurationManager.AppSettings[“masterkey”] in your web.config – default this is NOT used

    ERROR SEEN:
    Could not establish trust relationship for the SSL/TLS secure channel with authority ‘localhost:44302’.

  2. Admin says:

    The MDriven Server runs either over https or http.
    The https requires a trusted certificate for the host name. Typically your development machine has a self signed development certificate for localhost so that you can easily develop for https scenarios.

    The error you get suggest that you do not have such a certificate. Read this from Hansleman

    • Admin says:

      … also – the https and http scenarios need different web.config files on the server – since the wcf configuration differs. This is managed by the MDriven Server by the “Use Https” and “Use Http” buttons

Leave a Reply

Your email address will not be published. Required fields are marked *

*