Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: I need to convert a the string of a Text box to a Value Pin
jeron19-May-24 7:19
jeron19-May-24 7:19 
QuestionCommand Line Arguments For IrfanView using C# WinForm Pin
Member 143542147-May-24 8:50
Member 143542147-May-24 8:50 
AnswerRe: Command Line Arguments For IrfanView using C# WinForm Pin
Dave Kreskowiak7-May-24 14:55
mveDave Kreskowiak7-May-24 14:55 
GeneralRe: Command Line Arguments For IrfanView using C# WinForm Pin
Member 143542148-May-24 4:03
Member 143542148-May-24 4:03 
GeneralRe: Command Line Arguments For IrfanView using C# WinForm Pin
Dave Kreskowiak8-May-24 6:37
mveDave Kreskowiak8-May-24 6:37 
AnswerRe: Command Line Arguments For IrfanView using C# WinForm Pin
Peter_in_27807-May-24 17:29
professionalPeter_in_27807-May-24 17:29 
GeneralRe: Command Line Arguments For IrfanView using C# WinForm Pin
Member 143542148-May-24 4:06
Member 143542148-May-24 4:06 
QuestionCommunication "Server / Service" for older .NET Framework application Pin
HobbyProggy5-May-24 23:13
professionalHobbyProggy5-May-24 23:13 
Hi everyone,

hard to phrase a title for what i am looking for, therefore following explanation.

I have the requirement to establish communication to a device via Secure WebSockets using TLS 1.3 and need to research on how i can do that from our applications that sadly are running with .NET Framework 4.0.

What i found out yet is that it might be a pain to get Secure WebSockets with TLS 1.3 running with that old framework and therefore i need to find a proper solution on how to circumnavigate this issue.

My Idea:
The old application will talk with a service / server specifically designed to just do the communication part, meaning the old stuff doesn't get touched and the service can run with .NET 8, which obviously should support the requirement.

What my questions are:
Does anyone have an idea or can point me into the right direction in terms of:
- How do they both communicate with each other (I would prefer not to use any COM stuff if possible)
- What type of project to use for the .NET 8 app?
--> I heard of the "Worker services in .NET" which seems the right thing to me, since the "service" needs to be run on demand (Only if required to be used), should support multiple connections and should not show stuff on a console while running.

Since the idea is to have a "secure" connection it would be strange if all the info can be read via COM communication. On the other hand that's a fairly new area for me, so i have no clue if that is just the way to go and does work "secure" as well. My head just says COM sounds old and may be wrong, but don't hate me for that Suspicious | :suss:

Additionally:
Regarding installation or installation of a "Service" there won't be much of issue afaik, in the end the user simply doesn't care, shouldn't know or bother how the magic works behind the UI.

Many thanks in advance!
Rules for the FOSW ![^]
MessageBox.Show(!string.IsNullOrWhiteSpace(_signature) 
    ? $"This is my signature:{Environment.NewLine}{_signature}": "404-Signature not found");

AnswerRe: Communication "Server / Service" for older .NET Framework application Pin
jschell6-May-24 15:01
jschell6-May-24 15:01 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
HobbyProggy7-May-24 21:49
professionalHobbyProggy7-May-24 21:49 
AnswerRe: Communication "Server / Service" for older .NET Framework application Pin
Richard Deeming6-May-24 21:36
mveRichard Deeming6-May-24 21:36 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
HobbyProggy7-May-24 21:55
professionalHobbyProggy7-May-24 21:55 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
Richard Deeming7-May-24 22:32
mveRichard Deeming7-May-24 22:32 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
HobbyProggy7-May-24 23:46
professionalHobbyProggy7-May-24 23:46 
AnswerRe: Communication "Server / Service" for older .NET Framework application Pin
lmoelleb8-May-24 7:08
lmoelleb8-May-24 7:08 
GeneralRe: Communication "Server / Service" for older .NET Framework application Pin
jschell11-May-24 9:50
jschell11-May-24 9:50 
QuestionCould not load file or assembly from package installed from nuget Pin
Member 156340714-May-24 20:20
Member 156340714-May-24 20:20 
AnswerRe: Could not load file or assembly from package installed from nuget Pin
OriginalGriff5-May-24 3:28
mveOriginalGriff5-May-24 3:28 
GeneralRe: Could not load file or assembly from package installed from nuget Pin
Member 156340715-May-24 12:31
Member 156340715-May-24 12:31 
GeneralRe: Could not load file or assembly from package installed from nuget Pin
OriginalGriff5-May-24 19:04
mveOriginalGriff5-May-24 19:04 
QuestionHow to "link" a referenced dll to a third party dll I develop. Pin
AtaChris1-May-24 8:47
AtaChris1-May-24 8:47 
AnswerRe: How to "link" a referenced dll to a third party dll I develop. Pin
Dave Kreskowiak1-May-24 10:37
mveDave Kreskowiak1-May-24 10:37 
GeneralRe: How to "link" a referenced dll to a third party dll I develop. Pin
AtaChris1-May-24 18:06
AtaChris1-May-24 18:06 
GeneralRe: How to "link" a referenced dll to a third party dll I develop. Pin
Dave Kreskowiak2-May-24 3:36
mveDave Kreskowiak2-May-24 3:36 
QuestionPerformance of Switch case vs dictionary with delegates Pin
Jörgen Andersson29-Apr-24 4:29
professionalJörgen Andersson29-Apr-24 4:29 

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.