Category "c++sharp"

Best way to call and access powershell script in ASP.NET Core project

I have a PowerShell script which I have to call in an ASP.NET Core Web API solution. What is the best way to use the PowerShell script in an ASP.NET Cre Web API

How to get dropdownlistFor selected value in controller in form of string in MVC

enter image description here Instead of "A+" i need that value which is selected by user from dropdown list.

Asp.net 4.8 WebForms authorization using Owin OpenId Connect Authentication (app.UseOpenIdConnectAuthentication)

I am encountering an infinite redirect loop between login.microsoftonline.com and my application. My project is implementing authentication and authorization in

UnauthorizedAccessException when accessing a Windows file share from .NET Core app

I have an application written in .NET 5 ( soon to be .NET 6 ) that allows users to access files stored on a bunch of different user defined Windows network shar

Suggestion on NavMesh 2D generation at runtime with infinite procedural generation [duplicate]

Let me start off by saying I began my jounrey of programming within the last year and Unity about the same time. I have come a long way since

How do I set the default c# file in my Visual Studio Code c# Project?

I am new to using Visual Studio Code. I have always used Visual Studio IDE in Windows. I am trying to run a simple Hello World Program on Mac with VS Code. I ra

Why is this public address different for an ethereum signature?

I have a signature created using metamask and the personal_sign RPC method. Now I want to verify this signature in my C# backend. In order to do so I have found

Why is this public address different for an ethereum signature?

I have a signature created using metamask and the personal_sign RPC method. Now I want to verify this signature in my C# backend. In order to do so I have found

C# MariaDB Update Function working in DataStore but not updating in .NET Application

My initial issue is that my database does not update when I call on this specific code. I am not sure if it is C# itself or the update query that I am calling.

How can I create a file that only my application can modify it?

How can I create a file that only my application can modify? I need it because I have an app that creates a .txt file where user information is stored and I don

ImportPSModule RequiredVersion is ignored

I'm trying to import a specific version of a PowerShell module. I have to do it from .NET. However, the RequiredVersion is simply ignored. Even if I use a non-e

How to use string builder to make command for cmd to include value from variable?

I need to create a string command for cmd, it already uses ${serverip} so I cant use string interpolation. Any suggestions? string command = "tftp ${serverip}:/

Unable to get response in the variable in Blazor Web App

I am getting the response in the network tab of developer tools, so that means the call is working fine but my variable for some reason is null in the debugger.

How to re-write menu using DRY

I'm doing a school project and I really feel that I can acomplish what I want in my code, however I feel like i -always- repeat my code. I have tried to put the

ExcelDna use ExcelDnaUtil.Application in other class report error System.InvalidOperationException

I hava a UDFGenerator class and a UDFtest class,in UDFGenerator I created a static variable based on ExcelDnaUtil.Application, and use it in a static function,

Unity, identify line of code that produces the error

Guys I'm new with Unity and I'm getting this error and I can't fix it. Why is the code line not signed?? NullReferenceException: Object reference not set to an

How to write a program with commands?

I would like to write a program that will handle commands like add: And asks for your first name, surname, age list: List the people in a directory remove: remo

Using linq to return records from sql server based on users datetimeoffset

I have a dateTime offset value that gets passed from the UI which looks like startDate:2022-04-25 21:08:02.2973333 +00:00 but the date i entered is actually the

Used IDisposible for Object class but not returing the result to Ajax success in C# MVC [duplicate]

In our application for the last few weeks we are getting memory exceptions. W​herever we used DataSet & DataTable​, we used th

setting NavMeshQueryFilter.areamask to Default Area doesn't work properly in unity

hey so i wanted to create a costume navmesh using NavMeshSurface and NavMeshModifierVolume, however, I have come to a conclusion that if I do something like Nav