dotnet-architecture / eBooks

.NET Architecture e-Books
http://dot.net/architecture
1.13k stars 259 forks source link

[Book Feedback] #38

Closed deisterhold closed 4 years ago

deisterhold commented 4 years ago

Please provide the title of the book Blazor for ASP.NET Web Forms

What do you think could be improved in this book? In the example for Interact with web services the async keyword is used when it should be await.


protected override async Task OnInitializedAsync()
    {
        var client = factory.CreateClient("github");
        var response = await client.GetAsync("repos/dotnet/docs/issues");
        response.EnsureStatusCode();
        var content = async response.Content.ReadAsStringAsync();
    }

What do you like about this book? NA.

Additional context