C
C#2mo ago
MOUDJOU

Newtonsoft.Json issue

i added the newtonsoft.json package and it's mentionned in the project configuration file but when i call it in the code it gives me this error
No description
28 Replies
blueberriesiftheywerecats
dont use it use System.Text.Json
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MOUDJOU
MOUDJOU2mo ago
i'm currently learning .NET with the microsoft roadmap i'm not working on a project but thanks for ur advice
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MOUDJOU
MOUDJOU2mo ago
ah okey
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MOUDJOU
MOUDJOU2mo ago
do u have any new course ?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MOUDJOU
MOUDJOU2mo ago
it's tedious + i need a lot of practical work
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MOUDJOU
MOUDJOU2mo ago
i'm learning the .NET framework first the serialize thing is only for a practical work from the roadmap i don't even know what does it mean i'm still a newbie i'll focus on learning the syntax of the language first then i'll work with APIs
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MOUDJOU
MOUDJOU2mo ago
thanks for your time i'll use it in the future
Teneko
Teneko2mo ago
Right, better learn the basics, and mostly everything provided by Microsoft is pretty basic. But later you still can use Newtonsoft.Json. It has advantages in certain and very special scenarios. Like when you want to write a recursive object dumper that can handle cyclic dependencies... System.Text.Json is very more restrictive but that's not bad for beginners.
MOUDJOU
MOUDJOU2mo ago
thanks for ur advice
FusedQyou
FusedQyou2mo ago
Uh If the tutorial mentions Newtonsoft then please just stick to that Nothing is more annoying than having to deviate off the tutorial because something changes Just keep in mind about STJ
Angius
Angius2mo ago
If the tutorial mentions Newtonsoft, fid a newer tutorial It's been years, let it go
Pobiega
Pobiega2mo ago
I really hope you are not learning .NET Framework, since its legacy and should not be used these days. Rather, you should learn modern .NET.
MOUDJOU
MOUDJOU2mo ago
wdym
Angius
Angius2mo ago
.NET Framework — goes up to 4.8 — old and Windows only .NET — starts from 5.0 — new and cross-platform
MOUDJOU
MOUDJOU2mo ago
i'm following the microsoft official course
No description
MOUDJOU
MOUDJOU2mo ago
.NET8.0
Angius
Angius2mo ago
You're good, then The point about not using Newtonsoft stands, though
Pobiega
Pobiega2mo ago
The name changed, .NET8.0 is simply ".NET", not ".NET Framework"
Angius
Angius2mo ago
And Microsoft could really stand to update their tutorials
MOUDJOU
MOUDJOU2mo ago
ah okey
aodpi
aodpi2mo ago
STJ kinda overrated
Pobiega
Pobiega2mo ago
Since you are new here... Necroing a "finished" thread just to drop a non-helpful and also frankly wrong and outdated opinion is not appreciated. Please don't do this in the future.
Want results from more Discord servers?
Add your server