Good, I have this problem, when I want to publish my visual studio 2019 project in a folder I get an error from the temporary folder, I already tried cleaning the project, deleting the bin folder and obj I deleted the temporary ones and I recompiled the project and I The error keeps coming out...
Below is My Controller action in the first line I have gotten the student from db and in 5 line I have use service function in which I have passed the student id which will again load the student from db is it good
public ActionResult DeleteStudentInterest(int studentId, String...
Hello csharpforums community,
I have an issue that insert some data in MySQL Database by C# .NET Core 3.1 with MySql.Data.mysqlclient.dll and having these errors in console:
Could not load file or assembly 'Renci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106'. The...
Hello, I'm trying to find a way to read a random line from a Pastebin
WebClient WC = new WebClient();
List<string> TEST = new List<string>();
Random Rand = new Random();
StreamReader testReader = new StreamReader(WC.DownloadString("Pastebin"))...
I'm not sure about Threadpool. It says thar there are about 1000 available threads. But I once made a program where I put about 100 job in the queue. When I monitored the job it was clear that precisly 8 jobs whete beeing processed at a time. This is bad in my current project where I spawn...
Hello I am new in C# and I try to understand on how to read the documentation of libraries and implement it.
Here an example from https://numerics.mathdotnet.com/ is shown:
using System;
using MathNet.Numerics;
using MathNet.Numerics.LinearAlgebra;
class Program
{
static void...
Due to design purpose I use the fluid Layout which is mainly made by Grid.Row definition. I want to adjust my WPF application to run smoothly on every monitor that's why I use the DPI Decorator class. And this DPI Decorator is perfectly working that means the screen UI components are perfectly...
Hello Everyone,
I have below models and i need the return xml response like below. Here how to do this. please help me
public class School
{
public List<Student> StudentList;
public int? SchoolID { get; set; }
public int? SchoolName { get; set; }
}
public class...
Good day,
i develope a plugin whit C# and beepinex in Visual studio.
And i am want to check if ... key is pressed, i searched allot about this theme but i found nothink what can i do?
using UnityEngine;
using System.Collections;
using BepInEx;
using HarmonyLib;
namespace SetOwnValues
{...
I have a situation, when I click on a button, I need to open a URL in browser's pop-up window and then redirect the current page to another page using C#.
But when I click on the button, I am not seeing the pop-up window but page is redirecting based on the condition.
To open the popup window I...
I m writhing a program that moves files from one place to another and if everything is fine a copy of those files are sent .zip to google drive .
the code is working fine with console application : files are placed in the destination and uploaded to google drive . BUT when i run it as windows...
I am just getting started with C# , i am experimenting with a socket server , socket server is receiving a string from a client application.
this is the string that is being received by the server :
This is the Code that is receiving the data from client :
public static void...
I have the following code and I cannot for the life of my answer why it is firing twice....
HttpClient httpClient = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage();
request.RequestUri = new Uri(shortUrl);
request.Method = HttpMethod.Get;
request.Headers.Add("Key", api)...
We have developed a system, written in c#: There are physical electronic controllers that have ethernet adapters. They communicate to the socket server over UDP which is writtren in c# (.net 4.8) as a dll with a winforms application on the front. There is a web based front end written in CoreASP...
Hey.
I need some help when it comes to my code, its not meant to have a "main" method.
It is basically a chess program that takes values and compares them, checks players and how much they score.
This is what i need to do :
We organize a chess tournament in the local club. The members are...
I have a problem how to use the code below for the admin of the local remote computer. Typing ".", "" Or "computer name" as domain doesn't help. The omission results in a syntax error.
EventLogSession session = new EventLogSession(
"ComputerName", // Remote Computer
"Domain"...
Hello i need help, i am new with C# could someone help me with executing second project Console application after clicking on button without this full way C:\Users\sajmo\source\repos\VoidSharp\VoidSharp ?
screenshot: Screenshot
Hello,
I've made my web app on Blazor server-side and I'm trying to publish it on a windows server. I tried different methods to publish but all came to the same conclusion.
HTTP Error 500.30 - ANCM In-Process Start Failure
Why am I having this problem? You can see the result on...
Sr Developer- C#, .NET, SQL, HTML, Java, Angular - REMOTE- 115K
The Position:
Developing software solutions by analyzing business needs by users and data. Primary responsibility is to develop tightly aligned business strategy and capabilities as it relates to architecting and building...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.