Category "c++sharp"

C# LINQ Filter records in child tables

I have a main table "SALES" and two secondary tables "PRODUCTS" and "SERVICES", I need to select only the records in "SALES" that contain some product or servic

How can I get output value from the stored procedure in C# using Entity Framework

I have connected a stored procedure to a C# program using Entity Framework with a .edmx model. I am trying to get an integer output value to a variable from the

how can i make the object move on that path in unity2D? [closed]

i want my enemy to be move like this in this picture. How can i achieve this in unity 2d.

Can a C# object "kill" itself?

In C#, can an object method invoke the object's own d-tor? and making any reference to the object invalid? I'm trying to build an "object control" in memory sys

C# WPF window resize is blocking NAudio WaveIn / WaveOut stream

I´m using NAudio and WPF to develop a mixer software in C#. But I have faced with a non commum behaivour: the output is playing normally, but when I resiz

How to include project references in .NET Interactive Notebooks?

Using NET 6 I have the following project structure: nuget.config project.code-workspace - Core Core.csproj - Api Api.csproj - Sim notebook.ipynb Where no

Validation Control are not working on live server [Google Cloud] with VS 2015 (Asp.Net with C#)

On my local machine everything is working fine...but on live server validation control are not working. [I am using Google Cloud (Windows Server 2019)]. I am u

Performance degradation when using CrmServiceClient and AuthType OAuth in Dataverse

I've got an MVC.NET solution that calls the Dataverse API and I'm seeing a significant performance degradation when using CrmServiceClient and AuthType=OAuth co

asp.net core binding null in controller post request (list with inside elements lists in view)

I have a view with a list of items that among their properties have a list of items (in View asp.net core). I use a generic list to have common properties that

How Can I Use Turkish Alphabet In My Game For Unity?

I am developing a 2D Video Game as a school project which I am currently using Text Mesh Pro on. But there is an issue. Since my game is Turkish, I need to writ

How can I extract data from "List <Contact>" of object and paste it into file.txt in C#?

static List<Contact> ListOfContact = new List<Contact>(); //Sorce of data: public void SaveContactToFile() //method to save a data { try

C# Calling an azure function http trigger from azure function timer trigger

I already have an HTTP trigger function that I have published in Azure. I want to run the HTTP trigger on daily basis. So I thought I would create another timer

LibeCharts WPF - binding to a Series

I am struggling in very beginning with WPF and LiveCharts. I am trying to implement the Starting Example (https://lvcharts.net/App/examples/v1/Wpf/Components) b

RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method

I am tring to Scan document from my Application but excutution time my code stuck somewhere and Code did not worked. some time throw same error which I mentio

generate Table of contents from outline and prepend to existing PDF file with PdfSharp / Migradoc

I have PDF file like this https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf which has one item defined in the bookmarks section (or Outlin

How to Authenticate two subdomain by one login in IdentityServer?

I have an IDP server implemented by Duende IdentityServer assume which is hosted on idp.com and there are two separate ReactJS applications hosted on app.mysite

How to make jump system in unity?

Here is my code for moving around in Uunity, however I can't seem to make the character jump. The moving camera and collect item on collision has also been impl

Performance wise, arer both theses lines of code the same in csharp for Unity?

Performance wise, arer both theses lines of code the same ? pictureExample.sprite = Resources.Load<Sprite>("my_png"); pictureExample.sprite = Resources.Lo

*Edit* Service Fabric - Can't Debug With .NET 6

Now that I have figured out what is going on (can't debug services using .NET 6 in Service Fabric), does anyone have an idea of how to get this to work? Some se

Can C#(.NET 6) call managed/unmanaged C++ dll?

I'm attempting to call a c++ DLL(WinSDK: 10.0.18362.0, Platform Toolset: VS 2017 v141) from C#(the target framework is .NET 6.0) on ARM, and I compiled them for