-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Add Orleans Transport Layer Security (TLS) documentation #49512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: ReubenBond <[email protected]>
Co-authored-by: ReubenBond <[email protected]>
| public static async Task ConfigureDevelopmentTls() | ||
| { | ||
| // <ClientDevelopmentTlsConfiguration> | ||
| var isDevelopment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually, we check host.Environment.IsDevelopment or something like that. If you split the host creation into multiple steps, then you can do that instead of manually checking an env var.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to use context.HostingEnvironment.IsDevelopment() in commit 3b308aa.
| @@ -0,0 +1,14 @@ | |||
| <Project Sdk="Microsoft.NET.Sdk"> | |||
|
|
|||
| <PropertyGroup> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the VB example altogether. We do not need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed all VB examples and references in commit 3b308aa.
|
|
||
| # Transport Layer Security (TLS) | ||
|
|
||
| Transport Layer Security (TLS) is a cryptographic protocol that secures network communication between Orleans silos and clients. Configure TLS to implement mutual authentication and encrypt data in transit, protecting your Orleans deployment from unauthorized access and eavesdropping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the acronym mTLS to the article since that is often what people search for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added mTLS acronym to the title and description in commit 3b308aa.
| @@ -0,0 +1,133 @@ | |||
| --- | |||
| title: Transport Layer Security (TLS) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the normal kind of title for an article? I believe it should mention the product (Orleans), too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated title to "Orleans Transport Layer Security (TLS)" to include the product name in commit 3b308aa.
|
@copilot please address the comments I left and address the failed GitHub Actions checks. |
… update title Co-authored-by: ReubenBond <[email protected]>
Addressed all feedback in commit 3b308aa:
All code examples compile successfully. |
|
@copilot make sure the samples build |
Co-authored-by: ReubenBond <[email protected]>
Co-authored-by: ReubenBond <[email protected]>
context.HostingEnvironment.IsDevelopment()instead of manual environment variable checkOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews