Forum Discussion
gebernal89
Jul 12, 2022Copper Contributor
I need help to replicate how I consume my API that currently I have in ASP.NET MVC in Blazor Webasse
I'm new to Blazor Webassembly App currently working with ASP.NET MVC and I need help to replicate how I consume my ASP.NET API in Blazor Webassembly App. I am going to leave how I have configured it...
gebernal89
Jul 12, 2022Copper Contributor
To clarify a bit this post is exactly what I use now in ASP.NET MVC and it works fine for me I am a bit confused how to do it in Blazor basically I want to consume an API that has a URL and Client ID and it is difficult to get an example I saw many examples from local host other people add and register in Program.cs so I would like if someone can guide me how to do it what is the correct way I don't know if I have to set something in appsettings.json or create a controller just need this one guide at least to know correctly how to do it.