Content
ASP.NET Core Web Api doesn´t load template
Hello people. I need help. I have been trying to solve the problem for the last few days without success. I'm following the tutorial, in the tutorial a person enters the ASP.NET-Web-API, reads it and then starts an empty project, which is otherwise…
App stopped working on 9/1/2023 with Event Log: 'failed to start process with commandline 'dotnet .\MyApp.dll' ErrorCode = '0x80004005'
Hi there, We had a software app developed back in 2017 that suddenly stopped working a few days ago. I viewed the Application Event Logs and, on 9/1/2023, errors started getting logged which state the following: Application…
How to fix Azure App Service error: ErrorLoadingControl?
This is the error I got after deploying my ASP.NET Core app with PostgreSQL. I found this in App Service logs: Extension: WebsitesExtension Content: WebsiteLogsBlade Error code-- Error reason: ErrorLoadingControl Details_errorData: undefined…
Azure AD B2C guessable password policy not applied to Password Reset user flow
I have an ASP.NET Core web app that uses Azure AD B2C for user authentication. I'm noticing some strange behaviour with users setting their passwords using the forgotten password feature and the change password feature. When users go through the in-built…
Hangfire is not working for CosmosDB after migrating from MongoDB giving error: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : "DuplicateKey", Code : 11000, Message : "E11000 duplicate key error collection: Hangfire
We were using MongoDb in our project and Hangfire was working perfectly fine over there but after we have shifted to CosmosDb Hangfire has stopped working, we are using MongoClient only to connect to CosmosDB by passing CosmosDB connection string to…
PrincipalNotFound error is coming
RoleAssignmentResourceFormatResource.UpdateAsync Method is giving PrincipalNotFound Principal {principalId} does not exist in the directory {tenantId}. Check that you have the correct principal ID. If you are creating this principal and then immediately…
export images to PPT and Every image must be in different slide. is it is possible?
I want to export images to PPT. I have so many images that I have stored in one folder now I want to export those images to PPT and every image must be on a different slide. but I am not able to do it. If it is possible, could you give me a demo?
Asp.net core razor pages(.cshtml) not loading properly after upgrading to .net 6 and angular 14
Hi Team, Currently, in my project, we have the angular and .net core apps. The project was created using an SPA template adding angular to it. The projects had a few razor pages included. Now the issue is those razor pages not loading properly in CI/CD…
Azure Email Communication Service is slow (30 seconds to send email)
When I use Azure Email Communication Services, it takes approximately 30 seconds to send per email, which is extremely slow. I've tried reusing the emailClient to see if subsequent emails are faster, but they're not. I've tried both the default…
How to fix error "No webpage was found for the web address:" when I am opening the url for my app service.
Hi community, I have created one dotnet core web app. Pushed it to repos in azure devops, created a pipeline and deployed it on azure web app services. After creating the release and publishing it on web app, when I am trying to open the URL of web app,…
in Blazor web assembly app azure active directory login not working in iOS and macOS
I have developed a Blazor web assembly application, and using Azure active directory login with MSAL And this is working in windows pc but not working in iOS and macOS, whenever I try to login and hit the login button it says. --- There was an error…
.net 6.0 farmwork Report viewer
Hi Team, I am using .Net 6.0 farmwork with MVC. Not able to bind Report viewer in razor pages. .Net 6.0 not supporting old packages and web forms. How to bind SSRS rdl in .Net 6.0 MVC framework. Kindly provide a solution with an example source…
asp.net core different session id with ajax
There is a strange issue, the session has lost a value. Here is the steps to reproduce this issue: open vs2019, and choose "ASP.NET Core Web App(Model-View-Controller)" template. Leave the project name as default: WebApplication1. choose…
Token and Cookie Authentication Combine using asp.net core Web API
Hello, I have created the authentication using JWTBearer but I also need cookie authentication too. I tried this but HttpContext.User is empty. because Claim principals are not set after signing successfully. Signing is pure Asp.net core Identity…
Swapping to Development Mode on Production Server
Hello everyone and thanks for the help in advance. I need to debug an Asp.Net Core MVC application on a production server as I am receiving the generic error page from one particular dataset, but cannot reproduce it on a test machine. I have read some…
how to use DASH or HLS to play video in asp.net core?
how to upload video and then play it using DASH or HLS?
C#,.net code and steps to get data from rest API
Hi, Hope you are dong well ! I need help on below question. I need to C#,.net code and steps to get data from any rest api? we can get data from post man tool, but i want to do this with the code, which I can execute and get the data from…
.NET 6.0 framwork SSRS Report Viewer.
Hi Team, I am using .Net 6.0 farmwork with MVC. Not able to bind Report viewer in razor pages. .Net 6.0 not supporting old packages and web forms. How to bind SSRS rdl in .Net 6.0 MVC framework. Kindly provide a solution with an example source…
Trying to use Microsoft.AspNetCore.SignalR.Client (6.0.0) in a Azure Function 4.0 (.Net Core Project).
Trying to use Microsoft.AspNetCore.SignalR.Client (6.0.0) in a Azure Function 4.0 (.Net Core Project). I am getting this error in the azure Function code while invoking the code var hubConnection = new HubConnectionBuilder() …
Where to find an asp.net core expert
I have a website that was custom coded using asp.net core. My web developer is retiring and doesn't have the name of anyone to use instead. Where can I find a list of coders with asp.net core experience who might be able to help maintain my website?…