BlazorPro.Spinkit | Blazor library for loading and long process scenarios | Frontend Framework library
kandi X-RAY | BlazorPro.Spinkit Summary
kandi X-RAY | BlazorPro.Spinkit Summary
A Blazor library for loading and long process scenarios based on the CSS library Spinkit
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of BlazorPro.Spinkit
BlazorPro.Spinkit Key Features
BlazorPro.Spinkit Examples and Code Snippets
Community Discussions
Trending Discussions on BlazorPro.Spinkit
QUESTION
ANSWER
Answered 2021-Oct-18 at 08:11Azure App Configuration helps to manage application settings and control their access centrally. It’s built on the simple concept of key-value pairs, and this service provides manageability, availability, and ease-of-use.
To solve the problem you are facing please check if you are using the right library and also check if you are having the following NuGet packages from Microsoft to work with an Azure App Configuration resource and the ability to use Feature Flags in the project.
Microsoft.Azure.AppConfiguration.AspNetCore Microsoft.Extensions.Configuration.AzureAppConfiguration Microsoft.FeatureManagement
As you have added FeatureManagement by using statement in Startup.cs and inside of ConfigureServices(...) added the ability to use it. Check if have modified the Program.cs and replaced the creation of default host builder with one that uses Azure App Configuration as shown below.
QUESTION
I am abolutely new to blazor so be gentle with me :). In my app there is button which sends POST request to server. The endpoint that is called does a bunch of things, but I need to get Id of currently signed in user. So I am passing it with the request. Everytime request comes through the result is System.Threading.Tasks.Task`1[System.String]. I have no idea what I'm doing wrong I know it has to do something with my methods being asynchronous, but after few hours of try and errors I'm helpless.
Does anybody know why am I getting the wrong value? And is there any better way to pass the Id of the user? I feel like my solution is not ideal.
Thanks a lot!
My .razor is:
...ANSWER
Answered 2021-Apr-05 at 22:03You should await
the GetUserId()
call since it's an asynchronous method:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BlazorPro.Spinkit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page