Hello Everybody,

I have a web api project developed in asp.net core that has a bunch of api functions. Each function connects to the hsm, does something and logs out of the hsm. What I need to do is to create the hsm connection once in the start of the application somewhere and keep using the connection in every api function. Is this possible?

Thanks,
Muhammad Usama Alam