Category "c++sharp"

C# Aforge - image is not consistent, some images are very bright most of them not

I'm trying to get a consistent image with Aforge but sometimes the image is very bright, most of the time it is good. If you look at the pictures you can see a

How to draw a Physics.OverlapBox for debugging (been trying with OnDrawGizmos)?

So given the position, halfextents and rotation of a Physics.OverlapBox, how would I draw it on the screen for debugging. If my overlap box was always rotated t

Renci.SshNet.Common.SftpPermissionDeniedException: 'Permission denied'

I am new to SFTP. I am getting Renci.SshNet.Common.SftpPermissionDeniedException: 'Permission denied' error while uploading an image to the SFTP location from a

ASP.NET Core 6: How to intercept all incoming requests to call an external service

I am planning to build a micro frontend to intercept and handle all incoming requests just calling an external service that will render the html that the micro

Tuple return dynamic in c# while passing parameter as dynamic

As per the image showing CheckDynamic has two methods which has different return type but still allow to return from one to another and allowing to build. Shoul

Rotate the hand in circle perfectly in Unity

I wanted to rotate the hand 360 degrees perfectly or in it's y axis only. The y-axis is the circle. Right now it rotates at 300 degrees perfectly. using System

Explicit concurrent copying GC freed, Xamarin.Forms

I want to create the data model asynchronously. I am using MVVM. My code looks like this. class Page (code behind): public partial class PageMusicPlayerView : T

Instantiation of User Controls dissapearing on InitalizeComponent() when modifiyng Form

Hi everyone and thank you in advance. I have created a User Control named PanelOption that is a panel with a CheckBox and a TextBox, and these are inside a Flow

With Fo-Dicom, how do you make a case-insensitive MWL CFindRequest?

I can make these great worklist queries like this one... //Worklist MWL PATIENTID query var cf = DicomCFindRequest.CreateWorklistQuery(); cf.Dataset.AddOrUpdate

Is it possible to have multiple checkboxes in the same 'if' statement?

I'm very new to coding and am currently learning C#. More specifically I'm currently struggling with using checkboxes in group boxes. What I'm wondering is if i

Blazor Repeatable EventCallback for Menu Item

I am working on a repeatable "Card" component that has a list of menu items and actions that this menu can take. However I cannot get the functionality to work

ASP.NET Web API return excel file to client

I have C# api code as below. It work correct when i run on visual studio and deploy to iis server. I consume this api by javascript or Angualar on production Fr

Unit test for void method with Interface as parameter

New to Unit testing, I have below sample code and I want to create a unit test for this , Please suggest what should i do to create a unit test for this ? any l

Dotnet RabbitMq Create queue dynamically

For the RabbitMq message broker system that I will use in my project that I developed in the .Net 5 environment; I have 10000 messages and I want each queue to

Creating valid XLSX files using SharpZipLib

I am writing a library to work with Excel files. It can generate a valid .xlsx file, except for the zipping up part. The following code will generate a .ZIP fil

Xamarin: ListView search whether Uppercase or Lowercase

I'm creating a Search Bar and can't seem to get results back. It seems to be case sensitive. Is there any way I can make it case insensitive so the user can sea

How can we see the BigBlueButton's meeting's attendees joined date and time from BBB's API web service?

I could not find any answer to my question in the document below. https://docs.bigbluebutton.org/dev/api.html#getmeetinginfo Maybe an experienced developer can

WPF Button shortcut key using Dependency Property

I am using a set of standard buttons, reused across a WPF app and want to add a shortcut key to each of the buttons. So I have a ControlTemplate containing the

VBScript object.GetInfo() returning attribute names different from .NET DirectorySearcher

I have been tasked with writing a C# replacement for a VBScript process that gets a list of all Active Directory user accounts with various object attributes. T

Remote certificate is invalid because of errors in the certificate chain: PartialChain in Ocelot

I have deployed multiple services to a single Linux VM sitting behind Ocelot. However, when making requests against Ocelot I get a 502 back. Looking at the resu