374,583
questions
0
votes
0
answers
8
views
Blazor Persist state to avoid double rendering is causing "server error"
I have the following code to populate a data grid:
@implements IDisposable
@inject IRecordServices RecordServices
@inject DialogService DialogService
@inject IJSRuntime js
@inject Radzen....
0
votes
1
answer
38
views
When I run it from VisualStudio, HttpClient connects, but it does not connect from IIS
When I run it locally with VisualStudio, everything works normally, but when I put it in IIS on the server, I realized that it cannot resolve the domain because it is waiting there forever.
I don't ...
0
votes
0
answers
11
views
aspx local exe and return output [closed]
I need to call a local exe from the web page and return the output to a control on the web page.
I am pointing to the functionality that is existant in share point where in, if a recognised file ...
0
votes
0
answers
25
views
ASP.NET Migrations
So I have built my web app almost entirely successful but I still have only one issue.
I have extended the IdentityUser with ApplicationUser but that doesn't matter at all. In the configuration of ...
0
votes
1
answer
17
views
CreatedAtAction for a Post request of register
I have an AuthController class with a register Post request:
public class AuthController(UserManager<User> userManager, IMapper mapper) : BaseApiController
{
[HttpPost("register")] ...
0
votes
0
answers
5
views
A way to embed Reports from Power BI Report Server to ASP.NET and Angular project
I want to embed a report hosted on my Power BI Report Server (PBIRS), which is running on a non-closing virtual machine. I've used the rs:embed=true method, and while this does display the report, it ...
0
votes
2
answers
46
views
Is one SynchronisationContext used over multiple threads/tasks?
Is there a situation where a SynchronisationContext is used over multiple threads/tasks in Blazor?
I want to determine whether a method has an components BuildRenderTree in its call stack. To do so i ...
0
votes
0
answers
23
views
IWebHostBuilder.UseSetting doesn't replace original setting in WebApplicationFactory<Program>
Originally I had this code in ConfigureWebHost of the WebApplicationFactory<Program>:
builder.ConfigureServices(services =>
{
var dbContextDescriptor = services.SingleOrDefault(d => d....
0
votes
1
answer
25
views
DataView RowFilter date time with XML
I have xml feed as
<CalendarEvent>
<EventID>12667274</EventID>
<StartDate>14/11/2024</StartDate>
<StartTime>08:45</StartTime>
<EndDate>14/11/2024</...
0
votes
0
answers
9
views
ASP.Net Identity OAuth login - 2 different UseGoogleAuthentication
I am using ASP.NET Standard (not .NET Core)
At startup I have this :
app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions()
{
ClientId = "client",
...
-1
votes
0
answers
16
views
Change the secret key while the API is running [closed]
I have two ASP.NET Web API (on main server and local server).
I would like the local API to retrieve the secret key from the main API and, in certain situations, for the main API to reset the secret ...
0
votes
0
answers
14
views
Using SignalR in a Electron Net app without eventsource
I have an ASP.NET Core + ReactJS project which is wrapped with Electron Net. I want to use SignalR to communicate between the server and the frontend.
I have setup everything correctly. If I run my ...
0
votes
1
answer
23
views
ASP.NET Stripe Connect Embedded Payment - Fails to get session without Account Id
I'm working on providing embedded payment solutions for clients using Stripe Connect. I can successfully create a checkout session with the following server-side code:
var options = ...
0
votes
0
answers
25
views
Problem in uplodaing files to API through Blazor Frontend project
I have an issue when i try to pass files from my frontend to api project
i am using mud blazor file upload
<MudFileUpload T="IReadOnlyList<IBrowserFile>"
Accept=&...
0
votes
0
answers
17
views
Export Excel using EPPlus and Web API
I am trying to export the data from the database through export Excel method using EPPlus. But I am unable to export, it returns type error or undocumented. I am using EPPlus version 4.5.2.1. I need ...