dotnet / dotnet/samples

Request for more scenarios / real world projects

Open
#5,039 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
5.1k
Avg merge
9h 11m
Merged PRs (30d)
1

Description

This is what I am thinking about with regards to me working with customers and them asking for what I am about to try to describe - I have also run into this numerous times. Let's make a scenario.

Scenario:-
Jane needs to integrate Azure Key Vault into her code to be able to store and retrieve secrets, she also needs to use KeyVault to store the connection strings to Azure Service Bus. Consider caching

Things to consider:-
What is the code sample for doing this in .Net Framework and .Net Core?
Should she be using Role Based Access Control or access policies within Key Vault?
System Assigned Managed Identity or User assigned - what does Microsoft recommend and why?
Can she cache the Key Vault calls or is it ok to look up secrets each time ?
What would be the recommended way to cache these calls?
How do I connect from my code locally, If I cant use Managed Identity locally do I need a ClientId / Client Secret combination, where do I store that - i.e. do I check it in or use User Secrets?

Ways to Implement:-
So this is now more like a real-world scenario where people are making mistakes about how to use Key Vault in code, I've seen numerous customers struggle with these types of scenarios.

Project Based learning:-
Tailwind traders was a project sample that many people could download and learn from, I personally think this is the way to go. It's not easy its not straightforward but a lot of the scenarios are used again and again and maybe we could vote on scenarios we would like to see.

I understand this is difficult - but I see customers say I know how to create this azure service but I have no real clue how to glue a system together.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.