Suiram1
Suiram1
CC#
Created by morry329# on 10/7/2024 in #help
Not found 404 at await fetch
Try it without the Controller suffix. The path '/api/API/availableListings' should work.
6 replies
CC#
Created by morry329# on 10/7/2024 in #help
Not found 404 at await fetch
The list should be currently available under /api/API/availableListings as i_umarov mentiont. The reason for this is that the [controller] inside the route attributes adds the name of the controller without the controller suffix.
6 replies
CC#
Created by say | firefly fanatics on 10/6/2024 in #help
How to target .net standard in visual studio
Some .NET projects types like console or class libarary have in Visual Studio two different templates. For example you have Console-App and Console-App (.NET Framework). I think you selected the .NET framework varient which only has .NET Framework versions. The newer .NET versions und also .NET Standart versions are available in the other template.
5 replies
CC#
Created by Neeyo on 9/26/2024 in #help
Question about SignalR
I think so. This parameter can only change when a new http request to initialize the websocket is send so it can't change while the connection is alive.
133 replies
CC#
Created by Julian on 9/26/2024 in #help
Multi Assembly wwwroot folder Loading
The wwwroot of other assemblies is usually accessed through /_content/{AssemblyName}/
3 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
good luck with your project.
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
i am not familiar with Discord.Net so i think it is better when look here https://github.com/discord-net/Discord.Net/tree/dev/docs how you have to use the lib.
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
before you call ReplayAsync you have to initialize the Context property. The reason why it thows a NullReferenceException is that ReplyAsync internal access Context.
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
is SocketCommandContext that you use also part of Discord.Net?
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
here https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.Commands/ModuleBase.cs in line 45 is the ReplyAsync method defined and internal it calls a method of the type paramter from ModuleBase
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
dont wory. i found the class in your source code
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
i found it
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
i dont mean your code. i mean the namespace and class of ReplyAsync
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
can you post the namespace and class of the method
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
Mostly have packages a GitHub repository. For Discord.Net is it here https://github.com/discord-net/Discord.Net
29 replies
CC#
Created by 𝕄𝕒𝕗𝕚𝕒 ℙ𝕣𝕚𝕟𝕔𝕖 on 4/3/2024 in #help
System.NullReferenceException
Can you show us the ReplyAsync method? I think the error is there.
29 replies
CC#
Created by Luizdodibre on 7/16/2023 in #help
✅ Listview color
You could create a data template in whose style you put a DataTrigger bound to a bool of the data type to be displayed, with which you can evaluate whether the background or any other property of the list item should be different than normal
11 replies
CC#
Created by Gospodin on 6/11/2023 in #help
❔ C# Inheritance
Even if you don't make the method virtual, a derived class can always override it with new
12 replies
CC#
Created by Gospodin on 6/11/2023 in #help
❔ C# Inheritance
You must add the key word virtual to the GetDescription() method in Beverage and then you can you override the method in the derived class with the override keyword. Another way is that you use the new keyword in the method in the derived class.
12 replies
CC#
Created by najlaaae on 6/10/2023 in #help
❔ The certificate chain was issued by an authority that is not trusted.
That has the reason that on your local pc no SSL certificate is installed.
4 replies