-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can this be used in blazer solution #3479
Comments
as far as i know it should work... |
@swiftinitdotcom Yes, it works like a charm with Blazor. |
great! ViRuSTriNiTy can you show me I have installed it but its not working for me. I want to use this for new blazer server project. Thank you for your help. |
Sure, here is how I use it. Some parts might be missing, it was a long process to set this up correctly. WebApi project
public class FooController
{
/// <summary>
/// Get bar from foo.
/// </summary>
/// <response code="200">Found bar for the specified foo.</response>
[HttpGet]
[Route("GetBar")]
[ProducesResponseType(typeof(IBar), StatusCodes.Status200OK)]
public ActionResult<IBar> GetBar(int foo)
{
var result = _fooBarService.GetBar(foo);
return Ok(result);
}
} WebApi.Client project
BlazorApp project (in this case server-side)
Now build |
can this be used in blazer solution
The text was updated successfully, but these errors were encountered: