2D Movement
I am trying to make a code that moves left and right for unity in a 2D project, but there is a weird error occuring. Can someone help?
using UnityEngine;
public class Movement : MonoBehaviour...
Entity Framework Entity Saving
hi guys can someone help me with EF?
I have a Visitor and want to add a plannedVisit to it
public sealed class Visitor : Entity<Guid>
{...
โ Why is it not working
Im a beginnier at coding in C#. I tried making player move and i added those inputs but only W works and the rest doesnt
i deleted the W input to check if it does something and it didnt yet player was still moving when i pressed W. Can i fix it somehow?...

player ranking
So,...
I am meant to rank the player list based on their wins. I now made something that will sort the players after they win. Problem is it only gets executed once.
```C#
void SortPlayers(string winnerName)
{...

WPF Touch control and ScrollViewers
Hello everyone! I am making a touch based kiosk app in WPF and I'm having trouble with the touch inputs in the scrollviewer control, so I'm wondering if someone here has experienced similar issues while making a similar app and is willing to help.
โ Exception being thrown when attempting to use Weather api
``` async void callweatherapi()
{
string apiKey = "kanyecooked";
string city = Citysearch.Text;
string apiUrl = $"https://api.openweathermap.org/data/2.5/weather?q={city}&appid={apiKey}&units=metric";...
MS teams integration
Hi everyone, Iโm researching how to integrate Microsoft Teams chat to receive alerts/notifications from a backend service. Does anyone have any ideas on how to do this or know of any useful resources? My backend service is in .NET 8. Thanks!
VS22 not implementing texture in mod
Hi, I am coding a SR (Slime Rancher) Mod with C# in Visual Studio 2022 but the game is giving me an error because a texture is missing but it I did put it in the mod. I tried solving the Problem with GPTยดs help but the solution is not working at all and now I donยดt know what to do. Could someone pls. help me solve the issue?
Nongeneric interfaces and collection classes
In "C#12 In A Nutshell", they say:
"As with the interfaces we discussed previously, you usually have a choice of generic or nongeneric versions of each type. In terms of flexibility and performance, the generic classes win, making their nongeneric counterparts redundant except for backward compatibility. This differs from the situation with collection interfaces, for which the nongeneric versions are still occasionally useful."
But the only example they gave was for type unification (since you can't cast IEnumerable<int> to IEnumerable<object> for example). Why is that that type unification is useful just for interfaces and not for collection classes themselves? As far as I understand you can't cast int[] to object[] either.
Do you have scenarios in mind for which Nongeneric interfaces are useful and nongeneric collection classes are not?...
"Bot" for Last Chaos Game
$code
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;...
Blazor Wasm Static Content Error
When I load a static html file, I get this error in the console
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
The actual network request gives a Ok (200)
When i check the file in sources, i get the message Content unavailable. Resource was not cached
Im trying to load it in an iframe, but the same thing happens if I load the file in the browser....โ Vertical Slice Architecture and Shared Code?
I've adapted one of my projects from using the more traditional Clean Architecture and Repositories/services, but what happens if you have logic that is used across multiple features, if VSA is against using something like a service, do you just repeat code where you need to? That seems silly to me.
But for example say you have a LoginCommandHandler and RefreshTokensCommandHandler, both would have logic for generating both an access and refresh token, so how would you go about handling that? I current still have several "services" in project for things like Tokens and Email for occasions where I know something is going to be reused in multiple features, an I'm not sure if they should be changed...
Resources for BE development with EF
Greetings, dear devs,
I am a FE developer mainly with Angular and want to start learning BE development, but my attempts at finding a good course have been in vein. Could you please suggest something for me to start with and build upon?
Thank you in advance!...
What to learn next?
I did beginner course. I've made projects like calculator, tic tac tac (circle and cross), "gambling" and a lot of smaller projects to remember and remind things i learnt for course. And now what should I learn next? I heard about linq, asp net, entity framework core, idk what is that, so please tell me what should I do
need help!!! unit testing
im trying to compare a value from my csv file to an expected value and for some reason this is what im getting i dont understand whats the issue ive tried reformatting but didint work

โ Where is c# documentation?
I am new in c#, im trying to find c# documentation. I am trying to find and learn basic methods and functions like Split or math methods. I dont know where is it. All I found on microsoft website is basic course or smth like that.
Should I implement Application Insights in a simple Asp.Net Core Application to make good impressio?
I am developing a personal project. It's name is Car Query. Basically, it's a site I am developing to allow users search and see some cars information.
I am building it to help me to get an internship vacancy.
I thought about implement Application Insight using Azure to make good impression on recruiters. In your opinion, is it valid, or it is better to do not implement?...
Should I use navigation properties in EF Core?
When using EF Core should I always use navigation properties or never?
for example I have:
```csharp
class Post
{...