Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [asp.net-core]

ASP.NET Core is an open-source, cross-platform framework for building web applications. Use this tag for questions about ASP.NET Core applications. Use a specific version tag when your question is specific to a particular version of ASP.NET Core.

asp.net-core
-3 votes
0 answers
13 views

Convert a html data or string to XSLT and then to pdf or is there any other way to do in C# [closed]

Can someone help me to figure out how we can convert a html data or string to XSLT and then convert to pdf or is there any other way to do in C#.I need to map the values we have in html to pdf. Please ...
shalu satheesan's user avatar
-2 votes
0 answers
19 views

How can I hide the password in the payload displayed in the network tab? [closed]

In my Blazor WebAssembly project, after clicking the login button, the entered password is displayed in the payload in the network tab. I want to hide the password in the payload shown in the network ...
Ranjitha T S's user avatar
-4 votes
0 answers
19 views

how to add authantication in c# mvc? [closed]

how to add authantication in c# mvc? how to add authantication in c# mvc?how to add authantication in c# mvc?how to add authantication in c# mvc?how to add authantication in c# mvc?how to add ...
Praveen Dubey's user avatar
0 votes
0 answers
14 views

ASP.NET Core DI framework - how to resolve a class depending on the caller class

We are migrating an old .Net framework application to Net 8. We have our own ILogger interface and our own Logger implementation and we are using the custom ILogger in thousand of classes. Now we want ...
tananas's user avatar
  • 43
0 votes
0 answers
28 views

Mublazor Autocomplete Render Custom HTML

I have to display cities of a country in a Group form, for example my data source is a dictionary like Country1 City1 City2 City3 Country2 City1 City4 City5 City6 If user search for City2, I need to ...
Ali's user avatar
  • 1,189
0 votes
0 answers
54 views

Is there anyway to read from a request body directly in an action without middleware?

I want to be able to read a request body in an action while still also using default MVC behavior, which involves posting with a [FromBody] parameter. As far as I know I need middleware to accomplish ...
SventoryMang's user avatar
  • 10.4k
0 votes
0 answers
12 views

How do I tune Redis Cache

We are receiving a lot of Redis exceptions, and our application is slowing. The database CPU is maxing out at 100% and bringing our application down. This is a common Exception: Timeout performing ...
Noel's user avatar
  • 2,090
1 vote
0 answers
18 views

Get tenant list from another tenant

I'm working on ABP framework using .NET Core and I have the following. As far as I know, when we log in as a tenant (not the host), all queries get executed with the tenantId filter if the table has ...
Jesus's user avatar
  • 455
0 votes
0 answers
35 views

i want text of label when it in datalist

in .net , i have a problem . i want the text of label in datalist and i cant use id because its in datalist and its id is not available in c# or js .i don't can use for to find lable in datalist my ...
amir aabas rafighi's user avatar
-1 votes
0 answers
36 views

In C# which library is faster to use read and write Excel or CSV? [closed]

I'm an intern, and right now I have an Excel sheet assignment. I therefore need the data to be retrieved from an Excel sheet or CSV file. I now use the Microsoft.Office.Interop.Excel library, however ...
Sri's user avatar
  • 11
1 vote
1 answer
21 views

How to set a JsonSerializerOptions globally for my httpClient.GetFromJsonAsync<T> calls

In my ASP.NET web API I have httpClient which call GetFromJsonAsync: var jsonSerializerOptions = new JsonSerializerOptions { PropertyNameCaseInsensitive = true, }; ...
Nicolas's user avatar
  • 6,404
0 votes
1 answer
25 views

How does OpenIdConnectEvents get overrided?

below is the source code: https://source.dot.net/#Microsoft.AspNetCore.Authentication.OpenIdConnect/OpenIdConnectHandler.cs,1288 where await Events.AuthorizationCodeReceived(context); must exchange ...
secondimage's user avatar
0 votes
1 answer
26 views

The x field is required error in EF Core requests

If got a controller endpoint expecting a DTO with just a list of Ids to fetch this specific list of IDs. When sending the following request to the endpoint, it returns an error the idList field is ...
TaCqz's user avatar
  • 17
0 votes
1 answer
27 views

C# Swagger HttpPost raw urlencoded body

I am building an API in C#.Net using Controllers and utilising Swagger but I have the need for accepting an arbitrary set of key-values in a POST and cant find out how to get swagger to show an input ...
Christian's user avatar
  • 3,822
0 votes
0 answers
36 views

Using multiple JWT schemes with SignalR WebSocket Hub in ASP.NET Core 8.0

I am unable to get claims because user is not authenticating while connecting to signalr web socket hub. I have sent the token in query string as mentioned here. I want to use multiple JWT scheme ...
Ghazanfar Khan's user avatar

15 30 50 per page
1
2 3 4 5
5560