Skip to content

Commit

Permalink
Updated the ASP.NET Core documentation to be compatible with .NET 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnetjunkie committed Dec 1, 2021
1 parent bd36ac2 commit 0061d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/aspnetintegration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The following code snippet shows how to use the integration package to apply Sim
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
// UseSimpleInjector() finalizes the integration process.
app.UseSimpleInjector(container);
app.Services.UseSimpleInjector(container);
if (env.IsDevelopment())
{
Expand Down

0 comments on commit 0061d0e

Please sign in to comment.