#noah12224_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1427684590629425212
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
I don't have a great deal of familiarity with dotnet myself. Reviewing the resources at the moment but I might need to find a colleague that can speak with more authority
okay, thanks for waiting - I spoke with a colleague that has more familiarity with dotnet
So the StripeClient is meant to be reusable, so you don't need to create a new one for each request, but if the same code is switching account contexts, you would need to initialize a new StripeClient when changing api keys
For the question about httpclient / configuration, I think we have a wiki page that should help provide guidance - could you let me know if that gets you what you need?
https://github.com/stripe/stripe-dotnet/wiki/Advanced-client-usage
Yep, I think that all makes sense to me just wanted to check that approach aligned with best practices. Thanks for the help!