Sander
Sander
CC#
Created by Sander on 3/17/2024 in #help
Is this a good way to structure a project?
and have a repositories folder, a data folder, services folder and a results folder where i will keep all my result classes
10 replies
CC#
Created by Sander on 3/17/2024 in #help
Is this a good way to structure a project?
i think i will just put everything in the same project and keep it simple
10 replies
CC#
Created by Sander on 3/17/2024 in #help
Is this a good way to structure a project?
seems a little complex for my 2-day project
10 replies
CC#
Created by Sander on 3/13/2024 in #help
reccomendations for learning how to work with streams.
so i should dispose of memory streams?
10 replies
CC#
Created by Sander on 3/13/2024 in #help
reccomendations for learning how to work with streams.
thanks 👍
10 replies
CC#
Created by Abheesh on 3/12/2024 in #help
DotNet vs Nodejs for first backend language
these are general guidelines though, not a strict roadmap
13 replies
CC#
Created by Abheesh on 3/12/2024 in #help
DotNet vs Nodejs for first backend language
knowing how the web & HTTP works. at a high level that is, you dont need to be able to write http request by hand or anything but subjects like status codes, idempotency and JSON are musts And start learning how to build web API's. when working in back-end (which was your goal if i got it correct) being able to make API's is pretty important. Also try to learn how to use some tools like swagger or postman these are some essentials for back-end development that if you get the hang of it you can directly transfer between languages. Databases and queries is also a important subject but that's not specifically related to .net or node so i left that out
13 replies
CC#
Created by gwon8266 on 3/10/2024 in #help
Is Technical writing still relevant in 2024?
if by technical writing you mean writing code, then yes. its still very much relevant
23 replies
CC#
Created by Sander on 3/4/2024 in #help
What is the best way to return errors in api controllers?
im not taling about http status code but rather just errors in general. lets say i got a endpoint for registering a user. but it first checks if the username isnt already taken. how do i best return that error in case the username is already taken?
4 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
that is why we have web api's
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
with connection strings the whole deal is that the client cannot ever see them
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
bearer tokens are only safe because we can verify that the information hasnt been tampered with. but you can still view the information itself
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
nope
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
yes ofcourse. working alone on the project on my development machine (which was my senario) its not a problem but when shipping this to clients please do not use this as @ded said already, never ever give client applications connection strings
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
but dont take that as a guarantee or anything
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
i tested it at small scale and with a few basic services and it seems to work perfectly
23 replies
CC#
Created by misk on 3/2/2024 in #help
CLI tool with access to connection strings?
a possible solution could be to create a separate console app with the Cocona package with a dependency to your api project. then register all your services from your api in cocona aswell
23 replies
CC#
Created by Sander on 10/7/2023 in #help
❔ variable refusing to increment
Thank you all for your replies, i'll test the things mentioned and come back with results
22 replies