4,225 questions with ASP.NET Core tags

Sort by: Updated
2 answers

ASP.NET Core MVC pass a url parameter to the POST

Hi all; I have a Blazor Server app. It uses the ASP.NET Identity Library which is ASP.NET Core MVC. I am trying to pass a parameter to login so a URL like /identity/account/Register?follow=uniqueId gives me the parameter follow=uniqueId. In…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2024-05-16T21:33:20.59+00:00
David Thielen 2,286 Reputation points
answered 2024-05-17T02:15:03.8366667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Download Files in Razor Pages without submitting the form (Edit page)

Hi, I want to download my uploaded files in razor pages edit screen. I dont want to submit the form or refresh the page upon clicking on the download button. Could anyone please advice me how to acheive this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2022-01-31T01:57:06.32+00:00
Blooming Developer 276 Reputation points
answered 2024-05-17T02:05:13.29+00:00
Avijit Roy 0 Reputation points
1 answer

AKS deployed application to access on-prem server

Hi, I want to connect to on-prem sql server from a .net application which is deployed in AKS. We already have Azure relay/hybrid connection setup for the same, but that requires azure app service. I am looking for options to connect from AKS deployed…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 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,842 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,883 questions
asked 2024-05-16T12:53:21.2833333+00:00
Santhi Dhanuskodi 145 Reputation points
answered 2024-05-16T17:09:53.0433333+00:00
Bruce (SqlWork.com) 57,481 Reputation points
1 answer

How to pass input data from one page to another page property

Register.cshtml <form method="post"> <div class="mb-3 row"> <div class="col-md-4"> <label for="CountryCode" class="form-label">Country Code</label> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2024-05-16T05:50:59.9633333+00:00
Nandhini S 0 Reputation points
commented 2024-05-16T13:02:44.1766667+00:00
JasonPan - MSFT 4,381 Reputation points Microsoft Vendor
0 answers

How to resolve SignalR Hub connection issue from Client side Javascript code

I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2024-05-15T12:40:41.6033333+00:00
Mayuri Barve 1 Reputation point
edited a comment 2024-05-16T11:20:47.9466667+00:00
JasonPan - MSFT 4,381 Reputation points Microsoft Vendor
1 answer

Custom Hybrid Connection Manager

Hi, I would like to know if we can have a custom hybrid connection manager in .net core code. I would like to connect to on-prem sql server from a cloud deployed .net solution. I am using Azure app service /Relay/Hybrid Connection for the same. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 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,842 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,976 questions
asked 2024-05-08T15:25:31.47+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-05-16T10:07:17.31+00:00
Andrew Sutton 0 Reputation points
0 answers

How to pass the input data from one page to another

Register.cshtml.cs using FaceAdminApp.Auth; using FaceAdminApp.DTOs; using FaceAdminApp.Models; using FaceAdminApp.Services; using FaceAdminApp.Utilities; using FaceAdminApp.ViewModels; using Microsoft.AspNetCore.Mvc; using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2024-05-16T05:34:41.9466667+00:00
Surya Chandra Mohan 20 Reputation points
commented 2024-05-16T08:55:46.5333333+00:00
JasonPan - MSFT 4,381 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.
740 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 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-16T08:01:22.68+00:00
Hassan Kaleem 40 Reputation points
0 answers

How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others

I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2024-05-15T08:37:39.3666667+00:00
Rob de Bruin 0 Reputation points
edited the question 2024-05-16T07:40:47.8233333+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor
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,437 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
asked 2024-05-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
commented 2024-05-16T07:31:14.2066667+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
3 answers

How to publish asp.net with angular application?

I was following this tutorial: https://learn.microsoft.com/en-us/visualstudio/javascript/tutorial-asp-net-core-with-angular?view=vs-2022 But when I publish my app, either to a remote IIS server or locally into a folder, the angular project is not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,665 questions
asked 2023-03-12T08:26:08.01+00:00
Vladimir Mihajlovski 10 Reputation points
commented 2024-05-16T06:58:52.17+00:00
Drilon Hyseni 0 Reputation points
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,225 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,411 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 40 Reputation points
accepted 2024-05-15T16:35:51.38+00:00
Matěj Rada 40 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,225 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,297 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,683 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,341 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,126 Reputation points Microsoft Employee
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,225 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,744 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,481 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,225 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,341 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,225 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,344 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
321 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,849 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 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,437 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,225 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,132 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

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,225 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,531 Reputation points