Join Walt Ritscher for an in-depth discussion in this video Use an existing Web API service, part of Visual Studio Essential Training: 07 Understanding Project Types.
- Once you have your finished WebApi available…on the network, you can use the service from any client application.…I'll show you how to call the Art Project Service…from a WPF and an ASP.NET MVC Application.…You can see the two applications here.…DesktopConsumer and MvcConsumer.…Let's start by looking at the DesktopConsumer.…Let's look at the MainWindow.xaml file.…Here's the way I constructed the user interface.…I have a tab control with two tabs.…One tab says Show All Art,…and the other tab says Show One Art.…
The content of this view is coming from…a custom user control I created called ShowAll,…and another one here from a custom user control…I created called ShowOne.…So I'm embedding these custom user controls…inside the MainWindow.…The controls themselves are over here in this Views folder.…I'll start by looking at the code behind.…The code that's important here is in this GetWebApiData.…Let's review what's happening in the controller, shall we?…What do we know about this get method?…It's called via the http get method.…
Skill Level Beginner
Q: This course was updated on 08/21/2017. What changed?
A: New videos were added that cover the following Visual Studio 2017 topics: exploring an empty project template, using third-party project templates, creating a portable class library, and creating a mobile app with Xamarin.