Skip to content

feat: add support for RDP URIs #87

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

Merged
merged 3 commits into from
May 8, 2025
Merged

feat: add support for RDP URIs #87

merged 3 commits into from
May 8, 2025

Conversation

spikecurtis
Copy link
Collaborator

@spikecurtis spikecurtis commented May 6, 2025

Adds basic support for coder:/ URIs for opening RDP.

relates to #52 but I still need to add support for checking the authority.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis requested a review from deansheather May 6, 2025 06:52
@spikecurtis spikecurtis marked this pull request as ready for review May 6, 2025 06:52
@spikecurtis spikecurtis force-pushed the spike/open-rdp-handler branch from 3115c93 to 5378529 Compare May 6, 2025 06:54
Comment on lines +18 to +21
Serilog.Log.Logger = new LoggerConfiguration().MinimumLevel.Debug().WriteTo.NUnitOutput().CreateLogger();
var builder = Host.CreateApplicationBuilder();
builder.Services.AddSerilog();
var logger = (ILogger<UriHandler>)builder.Build().Services.GetService(typeof(ILogger<UriHandler>))!;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating an application builder for this seems excessive as it's only being used to create ILogger instances. Is there no way to just get an ILogger from serilog and pass that through without using application hosting?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is, I haven't figured it out.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢

@spikecurtis spikecurtis requested a review from deansheather May 8, 2025 07:10
@spikecurtis spikecurtis merged commit 2a4814e into main May 8, 2025
4 checks passed
Copy link
Collaborator Author

Merge activity

@spikecurtis spikecurtis deleted the spike/open-rdp-handler branch May 8, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants