Skip to content

Commit

Permalink
Merge pull request #173 from InteXX/patch-1
Browse files Browse the repository at this point in the history
Simple grammar tuneup
  • Loading branch information
tillig authored Mar 25, 2023
2 parents 6478a3c + ec16075 commit ae722d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/faq/per-request-scope.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
How do I work with per-request lifetime scope?
==============================================

In applications that have a request/response semantic (e.g., :doc:`ASP.NET MVC <../integration/mvc>` or :doc:`Web API <../integration/webapi>`), you can register dependencies to be "instance-per-request," meaning you will get a one instance of the given dependency for each request handled by the application and that instance will be tied to the individual request lifecycle.
In applications that have a request/response semantic (e.g., :doc:`ASP.NET MVC <../integration/mvc>` or :doc:`Web API <../integration/webapi>`), you can register dependencies to be "instance-per-request," meaning you will get one instance of the given dependency for each request handled by the application and that instance will be tied to the individual request lifecycle.

In order to understand per-request lifetime, you should have a good understanding of :doc:`how dependency lifetime scopes work in general <../lifetime/instance-scope>`. Once you understand how dependency lifetime scopes work, per-request lifetime scope is easy.

Expand Down

0 comments on commit ae722d1

Please sign in to comment.