-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
3115c93
to
5378529
Compare
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>))!; |
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.
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?
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.
If there is, I haven't figured it out.
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.
😢
Merge activity
|
Adds basic support for
coder:/
URIs for opening RDP.relates to #52 but I still need to add support for checking the authority.