Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavnavar committed Oct 13, 2021
1 parent 898845a commit 523ccc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/blazor_local/Quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ The steps to build a grid razor page using **GridBlazor** are:
2. You have to register the service in the **Program** class:

```c#
public void ConfigureServices(IServiceCollection services)
public static async Task Main(string[] args)
{
var builder = WebAssemblyHostBuilder.CreateDefault(args);
...

services.AddScoped<OrderService>();
builder.Services.AddScoped<OrderService>();

...
}
Expand Down

0 comments on commit 523ccc8

Please sign in to comment.