Anonymous » 05 мар 2024, 07:03
Последнее сообщение Anonymous «
Anonymous »
I have collection called transaction like this
{ approverSpv : { id : 176, isApproved : true }, approverManager : { id : 176, isApproved : true } } And I want to read those Approver id. Here are my Classes
Anonymous » 05 мар 2024, 06:58
Последнее сообщение Anonymous «
Anonymous »
I'm working on localizing my WPF application and I have created resource files for Japanese and English languages. In my XAML markup, I've set the 'Text' property of labels, text blocks and various other controls using the syntax 'Text= {x:Static...
Anonymous » 05 мар 2024, 06:51
Последнее сообщение Anonymous «
Anonymous »
The data is not saved within a DI Scoped Service when using Middleware after Identity login. In this example, the data is always false even though it has been set to true (confirmed in the debugger).
Anonymous » 05 мар 2024, 06:45
Последнее сообщение Anonymous «
Anonymous »
Currently, I am consuming a service in postman to consult a specific endpoint, in postman the only thing I do is paste the URL in the request with parameters included, and it returns the content correctly, but when I do the same process from C#, it...
Anonymous » 05 мар 2024, 06:32
Последнее сообщение Anonymous «
Anonymous »
I followed this guide to setup authentication filters in an API I created. It was all pretty easy and went well except now when testing, I get this exception
No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The...
Anonymous » 05 мар 2024, 06:30
Последнее сообщение Anonymous «
Anonymous »
I the code below I have a TSql query which has Or condition in its join. If I want to convert it to Linq in C# how can I rewrite it.
SELECT P.Id AS ProductId FROM generalinv.InventoryTypeProductTypeMapping AS ITM INNER JOIN master.Product AS P ON...
Anonymous » 05 мар 2024, 06:06
Последнее сообщение Anonymous «
Anonymous »
We know that if we uses async/await
await methodAsync(); var result = methodNonAsync() // ... await methodAsync() puts a item on the queue, so that a thread pool thread (says threadA) can execute this task.
Anonymous » 05 мар 2024, 05:56
Последнее сообщение Anonymous «
Anonymous »
On the Web Desktop App
I print the personnel information in my database into the datagrid. I can bring the required fields dynamically with focusedrowchange. As I bring the information, I want to dynamically add the photo kept as a file path in...
Anonymous » 05 мар 2024, 05:44
Последнее сообщение Anonymous «
Anonymous »
my code is currently displaying voltage, temperature, and current readings worth 0 on the arduino serial monitor. whereas last month the same code could display complete values. but now the values displayed are as follows
Anonymous » 05 мар 2024, 05:38
Последнее сообщение Anonymous «
Anonymous »
So I made a code that will detect joystick button input in a TPL where all joysticks' inputs are detected simultaneously. Good thing is that if there's only one joystick connected, it works consistently. If there are two or more connected joysticks,...
Anonymous » 05 мар 2024, 04:58
Последнее сообщение Anonymous «
Anonymous »
I have various config values defined in the database or appsettings. But those cannot be used in DataAnnotation attributes (which require compile-time constants), so everything is duplicated in a Constants class too.
Anonymous » 05 мар 2024, 04:55
Последнее сообщение Anonymous «
Anonymous »
I'm trying to understand what is the best approach to sending the following object to a asp.NET 8 core web application. It is not a web api, just a normal website accepting a complex object input. Here is the object I am referring to:
Гость » 04 мар 2024, 18:49
Последнее сообщение Гость «
Гость »
I am generating a datagrid dynamically and the only problem I have is that it creates an extra row at the end, it is something visual because when I delete by code the last row continues to appear.
Гость » 04 мар 2024, 18:48
Последнее сообщение Гость «
Гость »
I am writing a program that allows users to validate the data going in to a database from Excel spreadsheets. I am using NPOI so I don't have to worry about Excel being installed on the users computer. I want the users to be able to open the...
Гость » 04 мар 2024, 18:33
Последнее сообщение Гость «
Гость »
I'm cognitively struggling with a probably fairly simple problem. Given a certain DateTime, how can I verify that this date (without accounting its year) is in between two other dates?
Гость » 04 мар 2024, 18:33
Последнее сообщение Гость «
Гость »
I am making a webservice that only needs to serve json and it needs to be scalable.
I have gotten the impression that Nginx is a more scalable webserver than IIS 7.5 and that it is extremely simple to manage compared to IIS. Also, Nginx can very...
Гость » 04 мар 2024, 18:31
Последнее сообщение Гость «
Гость »
I am sending a huge file over TCP using C#, and would like to measure the download speed. How can I capture the transfer rate every second? If I use IPv4InterfaceStatistics or a similar method, I capture the device transfer rate instead of capturing...
Гость » 04 мар 2024, 18:29
Последнее сообщение Гость «
Гость »
I currently can input and output audio in real time using NAudio.ASIO, however I want to apply effects to the audio, I understand it isnt built into NAudio so I will have to create my own algorithms. How do I go about creating my own algorithms for...
Гость » 04 мар 2024, 18:29
Последнее сообщение Гость «
Гость »
I'm experiencing an issue with the MongoDB C# driver on the production environment of our app when attempting to insert or update documents in my MongoDB collection. Occasionally (about 1:100000 times), I receive the following error:
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения