Category "c++sharp"

ZKemKeeper: Some Real-Time events not triggering

I'm using zkemkeeper dll in a .net windows forms app. This is my code objCZKEM.OnConnected += ObjCZKEM_OnConnected; objCZKEM.OnDisConnected += o

Multiselect dropdownlist with Checkbox in asp.net

I'm using bootstrap multiselect dropdown list with checkbox.its working well without master form.but its not working with master forms: <asp:Content ID="Con

.NET Core console app Mediatr command handler doesn't get called

I'm facing a problem that Mediatr command handler is not called. I have the following solution structure. Project.sln -> Application layer (.NET standard cl

"Shader Unsupported" when starting Unity server with -batchmode -nographics flags

I am trying to make a Unity game with their new MLAPI (Mid-level networking API). I've followed this tutorial exactly without changing anything, and the game is

Visual Studio: Is there a setting to delete whitespace a tab at a time?

I'm using the latest VS Community. Let's say my cursor is right here: When I press delete, a space is deleted. Is there a way to make it so four spaces are

How to set breakpoints to all lines in a c# file in visual studio?

I am working with Visual Studio 2015. I have a big c# class file with lot of properties and methods. I want to set breakpoints to all possible lines (set and

Attempting to run C# on cloud9 IDE but receiving errors

I’m new to Cloud9 and I’m facing some issues. I’m attempting to run the C# code on the IDE and am failing to do so, I think I know why but I c

Freeze panes in Excel using C# and EPPlus

I want to freeze first 5 columns and three rows in excel. I have written the following code for that Worksheets.View.FreezePanes(5, 5); but it freezes column

Stop Rigidbody Movement/Rotation instantly after collision

I want my sphere to jump from one position to another but don't want it to translate afterward. I can't figure out how to do that. Here's my code: void Update(

Entity type ‘Business_attrib2object’ has composite primary key defined with data annotations. To set composite primary key, use fluent API

I set composite primary key using fluent API, it is still an error, when I'm trying to create ClassesController (MVC Controller with Views Using Entity Framewor

How to Download log files generated from log4Net

I'm using log4net in a ASP.NET MVC 4 application and I'm trying to download the generated log file from log4Net. I have in mind to download the log file with a

Prevent IDM from downloading automatically in web api

I have a web api method that returns an HttpResponseMessage containing a PDF file. The method looks something like this: HttpResponseMessage response = Request

Azure ARM deployment access a resource from a different subscription when deploying a new resource

I am using an Azure service principal and C# Azure SDK to deploy this ARM template. The publicIPPrefixResourceId I am passing as a parameter is the ARM Id of t

Bot framework Webchat Postback buttons show the text on the chat after I click them

Webchat version: 4.15.1 using CDN, Description: I am using HeroCards with postback buttons but they show the text in the value after I click them, It also happe

Is there a way to get the windows default folder icon using C#?

I have a listView with a list of documents. To each of them I assigned an icon, using the following method: private void SetDocumentIcon(ListViewItem item, Fil

OnHandMeshUpdated() not triggered in Mixed Reality Toolkit

I'm working on a Mixed Reality app in Unity. I'm trying to update my own hand mesh according to: https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-uni

Handling Deadlocks via, RESTFUL API?

Goal is to improve code. The ASP.NET MVC client Application makes the HTTP request to the service Layer. This is a C# REST API, where we are transferring larg

Why does my file sometimes disappear in the process of reading from it or writing to it?

I have an app that reads from text files to determine which reports should be generated. It works as it should most of the time, but once in awhile, the program

C# SSH port forwarding with SSH.net

I'm trying to do the following thing in a C# program with SSH.NET : ssh -NfD 1080 [email protected] Here's the code I produced : using (var client = new Ssh

What are the default Lifetime values for openiddict tokens

Very simple question, i would just like to know what the default values are set in openiddict 3.0+ Tokens are AccessToken AuthorizationToken DeviceCodeToken Ide