How to authenticate my application (running as an Azure App Service) against another Azure App service using Managed Identites?
We have two applications that run in two different Azure App Services: A ASP.NET 4.6.2 application that Hosts a website and utilizes a web job that communicates with the other App Service over gRPC (using the older Grpc.Core package because App…
NullReferenceException: Object reference not set to an instance of an object.
I'm using ASP.net mvc. I think there's something wrong with my controller and view. I can't move on with my crud since i'm stuck at the index action. Some help from anyone would be very much appreciated!
How to upgrade web projects in the solution?
The solution is targeting framework 4.6. and solution has web projects inside I am using upgrade assistant for the upgrade process. For web projects, it show side-by-side incremental upgrades. I did it created a new web project but the diagram didn't…
Troubleshooting a Hosted Service Not Running
We have an API application deployed in IIS as a sub application in a website with its own application pool. The necessary settings have been configured for the hosted services in the application pool and API application, but the hosted service is not…
How to detect a device
Hi, I'm currently working on .net core web API project . There is a moment that I can't figure out. I had to detect the device which user used when signed in. I used "user-agent" first but this only says if its smartphone, Desktop etc. And only…
Get The Accounts That Have Been Signed In Already In MSAL (MAUI)
Implementing MSAL in MAUI application. Sign In process is created by using below snippet. authenticationResult = await _identityClient .AcquireTokenInteractive(AppSettings.MSALScopes) …
Displaying graphic dynamically - from path as content of a field
Perhaps someone could help me with the ahref / src format to display a graphic from the wwwroot folder from a path that is content of a field? Trial and Error Attempts: Environment:
![](https://techprofile.blob.core.windows.net/images/cQ9dvXlMgEyrsdQDCUONWg.png?8DB3C1)
![](https://techprofile.blob.core.windows.net/images/cQ9dvXlMgEyrsdQDCUONWg.png?8DB3C1)
Authorization - MSB4018 The "GenerateStaticWebAssetsPropsFile: task failed unexpectedly
Creating a project which has individual User Accounts Authorization... Steps. In the Authentication type input, select Individual User Accounts Update-Database Error... Severity Code Description Project File Line Suppression…
![](https://techprofile.blob.core.windows.net/images/cQ9dvXlMgEyrsdQDCUONWg.png?8DB3C1)
![](https://techprofile.blob.core.windows.net/images/cQ9dvXlMgEyrsdQDCUONWg.png?8DB3C1)
Web app with Entra authentication got 403 error
Webapp1 is a asp.net 8.0 app with Entra as authentication provider. The registered app is app1. Webapp1 used to work but I got the 403 app after a deployment. The error page showed "Access to webapp1.azurewebsites.net was denied. You don't have the…
How do I avoid rate limit issue when extracting many images from microsoft graph urls?
Hi support, I have a web application which displays teams messages from various channels in one place, when a user sends an image in teams chat, it is received as a url in the format…
Could not load type 'Microsoft.AspNetCore.Mvc.MvcJsonOptions' from assembly 'Microsoft.AspNetCore.Mvc.Formatters.Json while updgrading .net core 2.2 to 8.0 or 3.1
Hi All While upgrading .Net core 2.2 project to .Net 8.0. I am getting below error. I am using upgrade assistant from Visual studio 2022. (Same issue if I am upgrading to 3.2 version) Application startup exception: System.TypeLoadException: Could not…
Push notification http response status code 500
Hello, in the past two hours, we have discovered a large number of 500 errors occurring when using WNS HTTP API for notification pushes. https://dm3p.notify.windows.com/?token={myToken} Could you please assist us in investigating this issue? Below are…
MVC CORE Edit Images
Database Contains images , when I try to edit the text , I need to upload images again , please suggest. If there are no changes in images I don't want to upload them again. Capturenotsaved.PNG Capturedisplay.PNG public partial class…
Linq: How to display boolean value as text?
I have a field boolean value in my database. When I get data in JointQuery I want to see it as text instead of boolean values. For example, if the value is 0 then the return will be "inactive" and when it is 1 then the result will show…
How to Fix Stop code HTTP.sys issue.
Windows Server 2019 datacenter version gets restarted with stop code http.sys. Is there any workaround to resolve this issue permanently.
![](https://techprofile.blob.core.windows.net/images/CL9sTc5zkUClnOVlnXO8DA.png?8DCA31)
VisualStudio debug services on Docker-Compose not starting
Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…
Blazor HealthChecks - works on my system, error on Azure App Server
Hi all; I have a Blazor Interactive Server app and have set up health checks as follows: builder.Services.AddHealthChecks() .AddDbContextCheck<TrackingDbContext>("App Database") …
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
html table add pagination
I want to add page number to my table. But the problem is - when the page is loaded the page number is not working. Working when clicking on page number symbol. If I use the data manually instead of fetching it from the database, it works. I would…
How to receive selected radio button values in the controller in ASP. Net Core 6 MVC
I am working on asp.net core 6.0 MVC. On the view, I have four radio buttons and would like to get the selected radio button value in the controller and process further based on the selected value. I have created a view model to pass data between the…
Secured controller action shows 401 error instead of redirecting to login page in .NET 7
I am developing a .NET 7 Web application that has secured areas. This is a monolith application, so that it is separated in different assemblies. I have one host assembly (the entry assembly), called EntryPortal.Core. On the other hand, I have other…