Replies: 1 comment
-
Feel free to send a PR to github.com/ServiceStack/ServiceStack with what you need. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ServiceStack 6.4.0
Selfhosted App derived from AppSelfHostBase with
Config.AllowAclUrlReservation = false
to enable showing a custom information to the user why app requests UAC now.
Second call of ServiceStack.Start(listenOn) after manually calling HttpListenerBase.AddUrlReservationToAcl(listenOn); throws a ObjectDisposed-Exception on
ServiceStack.Host.HttpListener.HttpListenerBase.Listener
Workaround:
to enfore creation of a new listener. Very ugly.
How about providing a Callback action to Host prior to doing the AddUrlReservationToAcl to enable showing of a custom information.
Most users will click cancel if an app requests admin previleges and they do not know why (which is generally what i advise to them as well. Any app requesting admin priv, and you have no idea why? deny it)
Beta Was this translation helpful? Give feedback.
All reactions