SimpleW icon indicating copy to clipboard operation
SimpleW copied to clipboard

Is it possible to make this Net Framework compatible?

Open veso266 opened this issue 4 months ago • 5 comments

Hi there, was wondering if its possible to make your library compatible with Net framework (my app is curently targeting 4.7.1 (I could upgrade to Net framework 4.8.1)) and its not possible to migrate to net core

I came here from NetCoreServer

After migrating the parts I needed (HTTP and TCPServer) to NET Framework (attached below) NetCoreServerExample.zip

I discovered that NetCoreServer is actualy not that easy to use, so I found your wonderfull library I thought, ok, that should be easy, I just drop in my migrated NetCore server (comment out WebSocket parts for now (I intended to migrate WebSocket part later) and it will work

but sadly I was wrong and problems just started to creep out

  1. LitJWT was not compatible with NET Framework (I said, ok, lets get rid of JWT, and I will port it later)
  2. Then I started having problems with JSON serialization/deserialization, so I tried to get rid of JSON support (thinking, ok, not a problem, will do serialization/deserialization myself if I ever need it, but json was so tightly integrated into the library, that it was not possible to get rid of it)

So after a few days of work, I decided to call it quits and ask here for help :smile:

So I was wondering if you (since u made this library and know the arhitecture) would maybe manage to make this net framework compatible?

I am sure this would help many people because your library makes it realy easy to spin a simple REST server or serve static content, and because it uses NetCoreServer it could be even possible to add HTTP2 and even HTTP3 support to NetCoreServer while keeping rest api intact

veso266 avatar Sep 27 '24 23:09 veso266