How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?
Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…
Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."
Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…
How to dynamically change the port listened by Webserver in. NET when the Webserver is running
I created a NET 8 Console Application to create a WebServer and make it a Windows Service, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath =…
ManagedIdentityApplication.AcquireTokenForManagedIdentity("api://AzureADTokenExchange") giving error in local machine.
Hi, I am implementing the "Federated Identity Credential" along with User Managed identity in .net core 3.1 web api. Getting the error code: "managed_identity_unreachable_network" with error message "A socket operation was…
sending an email with attachment in .net core console application
I need to send an email with attachment in .net core console application. The part of sending an email is working. The attachment part is not working. I have this code: public void sendEmail(List<string> toList) { string from =…
Encountering 'WebSocketException (0x80004005): The server returned status code '404' when status code '101' was expected' when signalr client starts a hub connection.
We have a .net core signalr client trying to establish a connection to signalr hub web application and a signalr service. The client successfully connects to the hub and signalr service, but fails when attempting to start the websocket transport to the…
Azure Function .Net8 Json Deserialization Error
I'm developing an azure function in .Net8 which is a migration from a .net6 in-process function. The code always breaks while trying to deserialize a json object that comes within the EventGridEvent.Data which triggers the function, the deserialization…
Persist all releated to exceptions metrics, while sampling everything else
We are trying to collect all metrics related to exceptions (request, dependency, trace) without sampling) without sampling, to provide a better debug experience. According to…
I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0
I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…
metadata_storage_path error in .NET with Azure AI Search.
Right now from my post api I am storing the address like UploadEmailAsync() in Azure Queue. I have tried saving it with and without JSON format but path which we use for Filters in Azure AI Search requires the base64 converted link. Right now i have…
Content Security Policy Violations happening for whitelisted domains only for Netherlands and Switzerland users.
I have a csp policy where I have whitelisted all the domains from which I want to load the content to my application and have added only default-src directive which is fallback to all the other directives. I have tested the policy on lower…
You are using a version of the client that isn't compatible with the server. Client version 1.5, server version undefined
1 I'm using SignalR in my project (asp.net and react js). Here in C# I'm using (.net 4.8) Microsoft.AspNet.SignalR.Client Version - 1.2.2.0 Runtime version - v4.0.30319 Microsoft.AspNet.SignalR.Core Version - 2.2.3.0 Runtime version -…
How to Integrate .net core application to see logs in Azure Kubernates Cluster container insights
How can we integrate to see logs of our .net core API application in deployed Azure kubernates cluster container insights. what are all the code changes to be done to see errors and exceptions in container insights. I got to know that WriteTo.Console() ,…
Docker Build fails when I try to RUN apt-get
I am upgrading my application from .NET 6 to .NET 8. I am using a pod with ubuntu to compile and build my application due to compatibility issues with RHEL7. FROM mcr.microsoft.com/dotnet/aspnet:8.0 RUN apt update --fix-missing && apt install -y…
How to implement Google Authetication in Blazor Web app without Core Identity
I would like to use custom authentication without using out-of-the-box Core Identity in my Blazor Web App with Oauth authentication. I started the app using the template without using individual user account because we have our own registration and login…
SQL Connectivity Issue From Cloud app to on-prem server
hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…
Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again
We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the External IDP successful authentication, the provider…
How to sub section a long user entry form in MVC C#
I need to develop a long user entry form (Job application form). Which has many sub-sections like personal data, Exam Results, Work Experience, Membership etc...As all these cannot be displayed at once I want to show one section (personal data) first,…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
Azure B2C signin-oidc Password Reset - OpenIdConnectProtocolException - invalid_grant
Sign-in and Sign-out flows are working correctly without an error. The password reset is working - the password is changed and the user flow test shows the claims being created correctly. The issue I am facing is on the redirect. This ends with: …