Click here to Skip to main content
15,879,535 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Question.Net Core Master Details entry Pin
sanket16411-Oct-20 19:30
sanket16411-Oct-20 19:30 
AnswerRe: .Net Core Master Details entry Pin
Dave Kreskowiak11-Oct-20 19:44
mveDave Kreskowiak11-Oct-20 19:44 
AnswerRe: .Net Core Master Details entry Pin
Gerry Schmitz12-Oct-20 7:47
mveGerry Schmitz12-Oct-20 7:47 
QuestionGreat Forms (GUI) in MAC using Visual studio 2019 Pin
Member 90631385-Oct-20 5:06
Member 90631385-Oct-20 5:06 
AnswerRe: Great Forms (GUI) in MAC using Visual studio 2019 Pin
Gerry Schmitz6-Oct-20 4:29
mveGerry Schmitz6-Oct-20 4:29 
AnswerRe: Great Forms (GUI) in MAC using Visual studio 2019 Pin
Eddy Vluggen6-Oct-20 12:20
professionalEddy Vluggen6-Oct-20 12:20 
AnswerRe: Great Forms (GUI) in MAC using Visual studio 2019 Pin
Richard MacCutchan6-Oct-20 22:05
mveRichard MacCutchan6-Oct-20 22:05 
QuestionWhat minimal self-hosted server options use TcpListener and not HttpListener (to dodge urlacl)? Pin
DT Bullock15-Sep-20 13:25
DT Bullock15-Sep-20 13:25 
For the purposes of an OAuth 2.0 Client, I need to parse a HTTP GET with no body, and return either this pre-canned HTML (success) or that pre-canned HTML (fail), maybe serve up a bit of CSS and an image or two. Every other request I can respond 404.

I have elsewhere explained that I can't use anything based on System.Net.HttpListener for this purpose, because that puts me in the situation of needing to elevate privileges on the host at least *sometime previously* ... but this app is ClickOnce so-as-to-avoid-the-need-for-admin-rights ... especially the need for admin rights in order to setup the app to receive an OAuth 2.0 authentication code!

System.Net.TcpListener dodges the 'urlacl' infrastructure though. Sure, it puts more responsibility on me to 'be a webserver', but as explained, the 'functional surface area' of this web-server is quite small. So whether I write-my-own or import some dependencies, I feel like this *should* result in either a little bit of code, or a few minimal dependencies.

Is this expectation reasonable, do you think, or are there gremlins in the forest? Are there any minimal 'sits on top of TcpListener' HTTP libraries/servers you are aware of?
AnswerRe: What minimal self-hosted server options use TcpListener and not HttpListener (to dodge urlacl)? Pin
DT Bullock15-Sep-20 15:04
DT Bullock15-Sep-20 15:04 
GeneralRe: What minimal self-hosted server options use TcpListener and not HttpListener (to dodge urlacl)? Pin
DT Bullock15-Sep-20 15:35
DT Bullock15-Sep-20 15:35 
QuestionWord search Pin
Emmery Chrisco15-Sep-20 11:31
Emmery Chrisco15-Sep-20 11:31 
AnswerRe: Word search Pin
Mycroft Holmes15-Sep-20 12:29
professionalMycroft Holmes15-Sep-20 12:29 
RantOAuth 2.0 when a .NET desktop app is the 'client' Pin
DT Bullock15-Sep-20 4:42
DT Bullock15-Sep-20 4:42 
QuestionHow can a .NET Framework desktop-application gain temporary elevated privileges? Pin
DT Bullock14-Sep-20 20:00
DT Bullock14-Sep-20 20:00 
AnswerRe: How can a .NET Framework desktop-application gain temporary elevated privileges? Pin
Richard Deeming14-Sep-20 21:33
mveRichard Deeming14-Sep-20 21:33 
GeneralRe: How can a .NET Framework desktop-application gain temporary elevated privileges? Pin
DT Bullock15-Sep-20 2:47
DT Bullock15-Sep-20 2:47 
GeneralRe: How can a .NET Framework desktop-application gain temporary elevated privileges? Pin
DT Bullock15-Sep-20 2:50
DT Bullock15-Sep-20 2:50 
QuestionI want to rename a table by using EF 6 Code First approach Pin
simpledeveloper11-Sep-20 8:41
simpledeveloper11-Sep-20 8:41 
AnswerRe: I want to rename a table by using EF 6 Code First approach Pin
Dave Kreskowiak11-Sep-20 8:57
mveDave Kreskowiak11-Sep-20 8:57 
AnswerRe: I want to rename a table by using EF 6 Code First approach Pin
Gerry Schmitz11-Sep-20 9:17
mveGerry Schmitz11-Sep-20 9:17 
GeneralRe: I want to rename a table by using EF 6 Code First approach Pin
simpledeveloper11-Sep-20 9:26
simpledeveloper11-Sep-20 9:26 
QuestionMessage Closed Pin
4-Sep-20 21:14
Bdown “FukthaPolice” Tigs4-Sep-20 21:14 
AnswerRe: Lenovo yoga 2 Pin
OriginalGriff4-Sep-20 21:38
mveOriginalGriff4-Sep-20 21:38 
GeneralRe: Lenovo yoga 2 Pin
Richard Andrew x647-Sep-20 4:08
professionalRichard Andrew x647-Sep-20 4:08 
AnswerRe: Lenovo yoga 2 Pin
Dave Kreskowiak5-Sep-20 5:41
mveDave Kreskowiak5-Sep-20 5:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.