VeQox
Explore posts from servers✅ using from another csproj
Currently i have 2 projects, an api app and a worker service app
And both use the same models.
Is there a way to put the models in a libary project and the 2 other projects include them? Without me needing to write the models twice per project?
10 replies
✅ asp.net background service with database
Im trying to make a background task which has a nats connection listening for incoming messages.
When a message is received i want to add it to the database but with DI i cannot inject it.
How can i work arround this?
13 replies
✅ asp.net BodyReader
Im trying to read the body (which works) but then it throws an exception
after some digging i found out this is a bug? https://github.com/dotnet/runtime/issues/53914
Is there a known workaround for this?
1 replies
❔ ✅ asp.net websockets
Hi, i want to migrate my typescript webserver to c#.
I basically have a room-repositoy that has an instance of all open rooms, a room can be created via a rest enpoint (shouldnt be the problem).
The room has an id, and is its own websocketserver instance with the
no server option
. I dont really know how i can explain this further, the http-server
listened to upgrade request and got corresponding room object from the repository, from the url params like ws://localhost:8080/rooms/{roomID}
. The rooms handles the upgrade and the client sends messages to this instance. Is there a similar system like this or do i have to create one endpoint and match every message to the corresponding room. Thanks in advance9 replies
✅ hi im experimenting with websocketsservers and clients.
Im currently running the server with nodejs and the client in c#.
My problem is that the Websocket.ConnectAsync just crashes without an exeption so i dont really know whats wrong.
The server is running on port 8080 on localhost.
7 replies
await threads to finish their tasks [Answered]
I know this isnt really what threads should be used for, but ye... , Basically im copying files mulitithreaded and want to await (doesnt need to be async await would be cool tho) so i can finish the task with some logs etc
35 replies
Outlook Interopt
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. The system cannot find the file specified.
File name: 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at Program.<Main>$(String[] args)
4 replies