4,220 questions with ASP.NET Core tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

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…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,409 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
accepted 2024-05-15T16:35:51.38+00:00
Matěj Rada 20 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,676 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,331 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
commented 2024-05-15T15:56:22.2233333+00:00
ShaikMaheer-MSFT 38,046 Reputation points Microsoft Employee
1 answer

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 =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
answered 2024-05-15T15:43:05.2733333+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,204 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,715 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
answered 2024-05-15T15:23:07.7266667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

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 =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,331 questions
asked 2023-05-03T19:01:31.5566667+00:00
Anjali Agarwal 1,386 Reputation points
answered 2024-05-15T12:46:38.93+00:00
Mohammad Nedariya 0 Reputation points
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
asked 2022-11-21T22:00:12.137+00:00
Qian Zhang 11 Reputation points
commented 2024-05-15T10:57:08.44+00:00
Hatvani Sándor 0 Reputation points
2 answers

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,340 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
320 questions
asked 2024-05-03T16:43:16.76+00:00
Adonis Briceno 46 Reputation points
edited an answer 2024-05-15T09:39:48.37+00:00
Adonis Briceno 46 Reputation points
0 answers

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…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,842 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-15T08:55:09.4533333+00:00
Siarhei Kharlap 0 Reputation points
edited the question 2024-05-15T08:56:05.04+00:00
Siarhei Kharlap 0 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-15T08:40:14.9766667+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
0 answers

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…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
736 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
98 questions
asked 2024-05-14T10:27:27.2266667+00:00
Hassan Kaleem 40 Reputation points
commented 2024-05-15T08:05:02.7666667+00:00
ajkuma 22,681 Reputation points Microsoft Employee
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-04-26T11:33:36.0766667+00:00
Gour, Ashish 0 Reputation points
edited the question 2024-05-15T05:49:13.6466667+00:00
SnehaAgrawal-MSFT 18,456 Reputation points
0 answers

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 -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,331 questions
asked 2024-05-13T12:36:08.4+00:00
Ankit Singh 2 0 Reputation points
edited the question 2024-05-15T04:53:39.6166667+00:00
ajkuma 22,681 Reputation points Microsoft Employee
1 answer

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() ,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,881 questions
asked 2024-05-14T14:29:29.74+00:00
Hemanth Kumar Reddy Rachala 0 Reputation points
answered 2024-05-15T04:14:44.3966667+00:00
Anveshreddy Nimmala 2,690 Reputation points Microsoft Vendor
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-14T18:33:40+00:00
Adebayo,Adeniyi (HHSC) 0 Reputation points
edited the question 2024-05-15T01:18:16.0966667+00:00
Lan Huang-MSFT 26,036 Reputation points Microsoft Vendor
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-14T10:25:28.9566667+00:00
Iftekhar Ahammed 0 Reputation points
answered 2024-05-14T22:59:10.54+00:00
Bruce (SqlWork.com) 57,406 Reputation points
2 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,832 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,973 questions
asked 2024-05-07T10:38:07.05+00:00
Santhi Dhanuskodi 145 Reputation points
answered 2024-05-14T09:25:52.63+00:00
MikeyQiao-MSFT 575 Reputation points Microsoft Vendor
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,715 questions
asked 2024-05-07T09:47:53.4+00:00
Logesh Palani 1 Reputation point MVP
edited a comment 2024-05-14T08:42:33.62+00:00
Logesh Palani 1 Reputation point MVP
1 answer

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,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
answered 2024-05-14T02:38:14.6233333+00:00
Monica Suriyaarachchi 0 Reputation points
3 answers

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"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,409 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,331 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 5 Reputation points
commented 2024-05-13T21:20:09.44+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer One of the answers was accepted by the question author.

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: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,669 questions
asked 2021-10-30T23:37:11.787+00:00
Chilberto 231 Reputation points
commented 2024-05-13T15:24:37.9433333+00:00
Prabhu Ramachandran 0 Reputation points