New C# dev struggling to configure for linux
Hey! I'm in a course for C# development right now, but I'm having some issues configuring my machine for development.
I'm currently on Manjaro and I'm using Rider, but I'm attempting to get dotnet 6.0 and 9.0 installed on my machine (some of my course material/the repos I work from are older and target 6.0, but the coursework is for 9.0) -- I'm just having a bit of trouble getting everything configured as it should be and I'd appreciate a guiding hand in getting everything set up properly for development on linux. Thanks!!...
How long does it take to learn C# from scratch?
During my studies of computer science I’m expected to learn C# in order to use for a project I’ll start making later on this year, I’ve only had experience with the programming language python. Considering I have a reasonable amount of free time I want to be able to master C# and some other programming languages to see where it can take me.
✅ Help,web chat, i’m stuck
Hi, so i want to create a simple web chat(using mvc) , and i did, i wanted to make more progress and create users like login and stuff, btw i put sqlite as database so when i want to save the messages into the database i have to change this
```
public class ChatHub : Hub
{
private readonly ChatContext _context;...
The files in the debug folder doesn't appear
Hello, i made a new project and the files in debug folder won't show. I'm sure i used code analyze and "build" option so it's not appearing. I cannot see any .dll nor other type files.
✅ Optimizing number matching algorithm for a logical game
Hey, I'm trying to optimize one function from my solver thats is the most performance critical area.
The idea is that I have a grid x by y of numbers 1-9 (0 is an empty cell).
Numbers must be next to each other horizontally, vertically, or diagonally. There can't be any number between them. Distance between the cells has no limit. Find all valid pairs.
...

help please, thank you
Hello, im doing a little project on visual studio Windows Forms App (c#). There are 2 forms each containing 2 User Controls. each user control is full of labels of dogs/cats (either picture or text, random) (picture to visualize)
the goal is so when u click 1 UC (usercontrol) on each form, a special label appears on the top left of the window, according to the instructions. I'll add pictures.
just need help to fix a small bug. if you wanna help send me a DM....

How do caller information attributes fit into structured logging?
It seems like the standard Microsoft
Ilogger
takes structured arguments with as params object[]
, making it hard to combine it with caller attributes such as [CallerMemberName]
.
I know that caller information can be added for source-generated logging with [LoggerMessage]
or [LogProperties]
attributes on an ad-hoc basis, but I'm looking for an infrastructural solution.
How are you dealing with injecting caller information at scale in your code base?
I thought creating an interface...FiveM C# Scripting
I am working on an ELS System for FiveM in C# but I am having trubles making the script read json configs properly. Can anyone help me with that?
✅ Can't run my code in Visual studios
So basically i'm a complete begginer when it comes to coding and i'm currently trying to use visual studios. Yet, when i try to run my code using f5 nothing happens. When i try to run it using the green button that's supposed to make it run all that pops up is a window that shows a bunch of my files. The window is titled "attach to process" so i'm guessing that i have to attach a process to my project however i have no idea how to do that or what a process even is. So, how do i make my code run?
This might not be the right place to ask about visual studios but i didn't know where else to go. Thank u in advance....
Alternative to FluentAssertions
Earlier this year fluentassertion went to a paid license model. What are some assertion libraries which are similar in assertion style and features, but free?
One feature we use quite a bit is the object comparer (.BeEquivelantTo()) so whatever we swap to, should ideally support object graph comparison.
Let me hear what you guys use / think would be a good free replacement 🙂...
✅ Fetching data (JSON text) from backend C# to React, doesn't work!
Hi I need help with fetching data from a backend.
I'm using C# (must language for my degree course).
Now, I was following a YouTube video which used a pseudo-backend website to fetch the JSON from there, and it worked for me. Now when I'm trying to fetch my backend data, I think I don't get errors, but it shows a blank screen.
Why?
...

✅ Development
Hello everyone
I want to ask ive been learning c# for the past 3 months but i feel like i still lack some skills even though i try to learn i still have a lot of trouble building a project from scratch i want to be better im trying to build projects and learn from them but what do you think is the best thing to do if i want to advance to higher level and start applying for internships and jobs in the future?...
✅ OAuth | Automatic Token Management
https://support.travelport.com/webhelp/JSONAPIs/Airv11/Content/GeneralProject/Oauth.htm
I want to automate refreshing access token after its expired by using any built in library....
how do i use classes?
i only just started learning c# but i just cannot grasp how to use classes, objects and things to do with that. The only other language i have some experience in is python, so im also quite new to using oops as a whole. Is there any advice on how i should grasp it, or how to practice using them etc?
How to resolve this unmanaged memory leak?
I've written a small mpv renderer for avalonia using opengl:
So far everything seems to work except when i'm done and call dispose almost no memory involved with the renderer is released even though i destroy the native pointers in a safe way. I'm not sure what i am missing. Any help would be appreciated. For more context, the whole repo is here and readily reproducible: https:///www.github.com/saverinonrails/avaloniampv...
✅ Error generating Commit message using the Copilot button
I have just upgraded to VS Version 17.14.15. When generating Commit message using the Copilot button in the commit window, VS fails with an error message: "The method or operation is not implemented". Any idea?
