Category "c++sharp"

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool issues even If I used using statement

I am working on dotnet core 3.1. I am working on API call. When I call the API, below function in Repository will execute first by saving the data: then anothe

It takes too long to send transaction to the smart contract which is already deployed. (Nethereum + Unity)

I'm making some dApp using Unity & Nethereum. I deployed one contract to the Ropsten Test Net using Remix. And I had abi & bytecode of that, so I made D

How do I use SetActive to turn on my Player Object from my GameManager?

I'm writing an Asteroid clone and I am running up against an issue with re-spawning my player object after it is deactivated on collision with an asteroid. I ru

Is there a solution for a bitwise logical AND (&) operator between two Enum values in C#

Consider the following simple Flags Enum in C#: [Flags] public enum CountingEnum { Zero = 0, One = 1 << 0, Two = 1 << 1, Three = Two

Reload page after message faded out

I want to reload the page after a message is displayed. Here is my code. ASPX: <div id="MyMsg" style="display:none;color:red; text-align: center;" runat="ser

Restore NuGet packages failed for project ... : Could not find a part of the path

I'm trying to run a Unit Test project in Visual Studio (.NET Framework 4.72). The project is now building/running successfully, however there is still an error

Downloading attachments with in sub folders using graph api and C#

I'm creating a solution to download attachments from an outlook365 account. The inbox of this account has subfolders and folders within the subfolders. The stru

Multiple search on array on ElasticSearch keeping order of elements

I'm trying to do a multiple search on multiple arrays on Elasticsearch. I'm using NEST on C#. Each array has the same length and is mapped to an ElasticSearch d

How to deserialize Json into an C# object and fill the components into a dictionary

{ "success": true, "data": [{ "type": "Employee", "attributes": { "id": { "label": "ID", "va

rayHit.point Instantiates at 0 0 0 Unity

I made a Gun Script (using YT videos) and a Bullethole GameObject should Instantiate at the Position the RayCast hits an Object. But it is always at 0 0 0. I tr

Add padding RSA PKCS#1 after hash SHA256 and before calling API of signature

In order to use a certificate stored in a distant HSM (using cloud signature), I'm actually trying to use an API that generates a PKCS#1.5 signature given a SHA

Why is my player's movement speed changing? (using Fishnet with Unity)

I'm fairly new to Unity, and I've begun learning how to use Fishnet networking. I've created a basic player movement script that syncs player position far faste

Wrong Issuer in ClaimsIdentity on Itfoxtec binding

Our web api gets the SAML response from the Idp, and when we run the following code: var binding = new Saml2PostBinding(); var saml2AuthnResponse = new Saml2Aut

Why is calling SslStream.AuthenticateAsServer and SslStream.AuthenticateAsClient with the same certificate in the same process not supported?

I recently ran into an issue when converting socket communication to use System.Net.Security.SslStream instead of NetworkStream. This conversion was targeting

Selenium Webdriver test removes input on button click

I am running into an issue with my selenium webdriver test where, if I input something into a phone number field and then click the call button, it will clear o

Windows forms c# connect to specific accesspoint by BSSID

I have a windows form written in c#. I've made a listview that finds and sums up every wifi network it can detect, giving the SSID, BSSID, and more. I'm using M

How to send data from Child to Parent component in Blazor (when a list is clicked)

I have a simple component like this: @foreach(book in store) { <li @click="@SelectBook(@book.id)"> @book.title <li> <!-- book.id throws error

Maintain sorting throughout paging in gridview in asp.net

How to maintain sorting throughout paging in gridview in asp.net. Below is my code behind for binding grid, paging, and sorting private string SortDirection {

Async task getting value off of JSON return, XAML/WPF app

I am trying to get a single value off of a JSON return. My call is doing an HttpClient call to a webservice, it returns me my Json object. I need to now get a v

How to implement SAML SSO with AZURE AD in ASP.NET MVC Web Application

I create a simple .NET web application and I want to implement SAML SSO with Azure AD. I am using .NET version 4.8. I couldn't find any documentation to set up