This is a migrated thread and some comments may be shown as answers.

ERP Sample Application

2 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim Larson
Top achievements
Rank 1
Tim Larson asked on 19 Dec 2019, 03:25 PM

I have downloaded the ERP sample application and service.  I am running the service and changed the ApplicationURL to the service URL.

 

When I run the Application I am getting the following error: MvvmCross.Exceptions.MvxIoCResolveException: 'Failed to construct ErpService'

 

Any ideas what I am missing setting up?

Thanks -Tim

2 Answers, 1 is accepted

Sort by
0
Tim Larson
Top achievements
Rank 1
answered on 19 Dec 2019, 04:04 PM
It looks like the issue is the ApplicationURL what should I be putting for this value right now I put the service URL http://localhost:58970
0
Lance | Manager Technical Support
Telerik team
answered on 19 Dec 2019, 05:11 PM

Hi Tim,

Correct, you need to publish the service before you can run the client. There are two options:

Option 1 - Publish to Azure

Just publish it to a new Azure app Service (right click on the project and select "Publish..."). Take a look at this documentation https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs?view=aspnetcore-3.1#deploy-the-app-to-azure 

After you publish it, you'll see a URL in the browser tab "https://whatever_you_named_it.azurewebsites.net"

Option 2 - Publish to Localhost

If you run it on localhost, you can use the running local host instance's URL. You can see this URL when you first deploy the application (in the browser's address bard) or just open the ASP.NET project properties and read it from there.

As you mentioned, your VS settings are set to localhost:58970 (if you have trouble with http, you might need to redeploy with https)

Further Assistance

We have not fully released the ERP demo yet, this is scheduled for mid-January. Even though the code is visible on GitHub, you're pulling it off the development branch. When it is merged into the master branch, then you can consider it released.

It is entirely likely that the demo will not work "out of the box" until we officially release them. We do plan on having blog posts to accompany their release so that you can understand how it works and how to set it up.

In the meantime, if you have any further trouble, please open a Support Ticket here so you can work directly with the team.

Regards,


Lance | Team Lead - US DevTools Support
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Tim Larson
Top achievements
Rank 1
Answers by
Tim Larson
Top achievements
Rank 1
Lance | Manager Technical Support
Telerik team
Share this question
or