Skip to main content
0 votes
1 answer
10 views

Handling large byte arrays in C#

I've a simple .NET Core Web API that processes large size documents (> 10 MB < 50 MB). Basically it reads a document from CRM like Salesforce processes it with Aspose and send the processed ...
VJAI's user avatar
  • 32.7k
0 votes
0 answers
11 views

How to add spinner to ASP.net while processing

I am using ASP.net Web forms I have users register into my page once they registered a 3rd pty code updates the database which can take between 1 sec and few minutes I want to add a rotating spinner ...
asmgx's user avatar
  • 7,914
0 votes
1 answer
23 views

I set up CORS in my backend minimal API and I have issues fetching data from the React frontend

As the title says, I set up a minimal WEB API in .NET8 with CORS, and the routes seem to be working fine on the backend, and even tested the CRUD operations with the REST Client extension in VSCode. ...
Jibril's user avatar
  • 11
0 votes
0 answers
10 views

Blazor InputText Unable to Implement CSS for InputText

There is 1 issue with the InputText, which is that it is unable to implement the css from razor.css file. This works if implementing the styling directly but if it is not working if I am placing it in ...
Lim Soong Xian's user avatar
0 votes
1 answer
29 views

Find all telephone numbers using RegEx

I am trying to extract all uk telephone numbers found in an email. I have used a web based tool (RegEx101) and found a regular expression that checks if a string is a UK phone number: /(^\+[0-9]{2}|^\+...
Martin Williams's user avatar
-2 votes
0 answers
30 views

How can a Winform display on multiple screen without any delay between screens? [closed]

With C# .Net 8 Windows Form, I need to show some video to multiple screens and there should be no time gap between screens. For example, Contents on the Windows form A are some sort of videos and I'm ...
Kang Ki-Hoon's user avatar
0 votes
0 answers
8 views

How to pass the search string from the input field to the query parameters, when the binded blazor component property has changed?

How can I change the request parameter in the URL when the user enters the parameter value in the imput text field? Here is a simple sample of what I have: @page "/" @rendermode ...
GoodSimon's user avatar
  • 121
0 votes
0 answers
13 views

DockPanelSuite float Document area

Sample setup, I have 5 tabs in the DockState.Document view, and 1 tab in DockState.DockRight I have these 2 methods. The first floats the current active tab. It works fine. The 2nd is supposed to ...
CocoaMix86's user avatar
0 votes
0 answers
12 views

x:Bind not working inside DataTemplate when binding a custom control property

In a WinUI3 project the below XAML ListView code works perfectly fine, the UI in UserHomeView gets generated and all of the properties and processes dependent on UserHomeViewModel get triggered and ...
Hector Lazarin's user avatar
0 votes
0 answers
15 views

Assignment and comparison of class properties without boxing

Consider the following scenario: public interface ICloneable<T>: ICopyable<T> where T : ICloneable<T>, new() { public T CloneTyped (); } public interface ICopyable<T> ...
Raheel Khan's user avatar
  • 14.6k
2 votes
2 answers
77 views

How to turn decimal to byte array but it has to be lexicographically sortable?

As for double BitConverter.GetBytes(double) reversed returns array that if lexicographically sorted will be sorted the same as (positive) doubles. Can the same be done for decimal? For example: var ...
ren's user avatar
  • 3,953
-4 votes
0 answers
42 views

Bunch of "non-nullable" warnings appeared out of nowhere in c#

I just found that I had a lot of warning like this one: Warning CS8625 : Cannot convert null literal to non-nullable reference type Or Non-nullable field 'xxxxx' is uninitialized. Consider ...
Kalika's user avatar
  • 59
0 votes
2 answers
27 views

i want this to make an error message if the user isnt using the right format, but it just displays this

It just displays this instead of the error warning I made: Here is how I want it to be: And here is my code: Console.Write("Masukkan Tinggi Segitiga: "); int tinggi = Convert.ToInt32(...
Aaallc's user avatar
  • 11
0 votes
1 answer
39 views

Azure AD client credentials generated token does not have claims

I have an app registration in which test.user is my scope. In API permissions, I have delegated permissions for test.user scope. In Postman, I tried like this: Grant_type : client_credentials ...
reach p's user avatar
-1 votes
0 answers
31 views

Windows form buttons fail to launch resources [duplicate]

I created a windows form using C#, the form contains buttons and labels and a tab control. Every button and label has different functionality. For example, some buttons open different browsers, and ...
Sammie's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
108186