


Open Microsoft Power Apps and select your environment where you created your custom connector in:.With your web API running locally, you are now able to quickly create a Power App using Microsoft Power Apps: Create a mobile app by using Power Apps and integrate with your ASP.NET web API Note: As soon as you close the solution and reopen it, you should enable the tunnel again. Go to Microsoft Power Apps to see your custom connector and create a front end. As soon as you hit F5 or the Play Button, a custom connector will be created in the Power Platform environment you selected earlier. It means you can use Power Apps with your API running in your local environment.Īfter you hit the Finish Button, you are now Connected to the Microsoft Power Platform.

Note: Visual Studio leverages dev tunnels feature to expose your local running API to a public endpoint. Create or select a dev tunnel with the following configurations:.Select or create a new custom connector.Note: If you don’t have a Power Platform environment available, you can easily create a developer environment to get started with. The connection will ask you to define the following configurations: Next, I am adding Microsoft Power Platform as a Connected Services.In Solution Explorer double click on Connected Services and click on + in Service Dependencies.For my example, I am using the generic ASP.NET Web API weather template: For our connection to work, we will have to use or create an NET Web API project in Visual Studio.How-to create a custom connector for Microsoft Power Platform More information: Create a developer environment. A Microsoft Power Platform environment.The feature isn’t available in Visual Studio for Mac. You need to be signed into Visual Studio to create and use dev tunnels. Visual Studio 2022 version 17.6 Preview 2 or later with the ASP.NET and web development workload installed.In today’s blog post, we will cover prerequisites, how to create the custom connector from within Visual Studio and how to quickly build a front-end using Microsoft Power Apps. You can download the latest preview at Visual Studio Preview. In Visual Studio 2022 17.6 preview 2, you can now connect to the Microsoft Power Platform via connected services and create custom connectors based on your ASP.NET web API. Low-code tooling is becoming increasingly popular among developers because it allows them to create applications faster and with less code. Boost your developer journey by easily creating front ends for your web APIs.
