Virtusa Interview Question

How to use middleware in .NET core