Next we see the MVC app working by referencing the webapi it is running on port 50114 which is dynamically generated by dotnet cli command. Below is the screenshot of API Keyvalue controller result. Within the web application there is a provision to provide the url for the webapi and the search can be made dynamically referring to a valid instance of running web api. The web application and the Api both were running successfully when they are run using the dotnet run command. I am using Mac Book Pro 2016 model to develop and test this application. Problem communicating between MVC App & Web API The two main parts of the solution are the MVC core application which acts as front end and there is a ASP.Net Core Web API which provides some static key value pairs. The application is the same one I had used for my demo during Microsoft Azure meetup group to demonstrate the scaling features of Docker Swarm using Azure Container Service (AKS). Recently I was working on a demo for building multi-container application using Docker and ASP.Net Core 2.0.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |