4,400 questions with ASP.NET Core tags

Sort by: Updated
0 answers

Incorrect assessment result for Develop an ASP.NET Core web app that consumes an API

I attempted the assessment and successfully completed all the tasks. I am very sure that my result is calculated incorrectly. The result says I failed to Interact with an API which does not make any sense as I would not be able to proceed to other…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2023-11-10T18:01:12.33+00:00
Sheikh Saqib 20 Reputation points
edited a comment 2024-07-26T12:18:14.68+00:00
Fernie Monroy 0 Reputation points
1 answer

Sharing Authentication Cookies in ASP.NET Upgrade Scenarios Migrating ASP.NET to ASP.NETCore

I have web application in .net framework 4.7.2. Now I am upgrading it to .net core 6. I want to share user authentication from old app to new .net core 6 app. But I am not able to access claims data in new .net core 6 upgraded application using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-25T11:34:43.9+00:00
Darshan S 0 Reputation points
commented 2024-07-26T01:51:53.0933333+00:00
Tiny Wang-MSFT 2,321 Reputation points Microsoft Vendor
2 answers

How to display ASP.NET Core Pages error messages thrown by the framework

In my ASP.NET application, when a file upload exceeds the default allowed size limit by ASP.NET, instead of displaying an error message, the application shows a blank page. How can I configure my application to properly handle and display error messages,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-25T09:46:19.4866667+00:00
AT 0 Reputation points
answered 2024-07-26T01:17:21.4166667+00:00
SurferOnWww 2,491 Reputation points
1 answer

Want to use .net 6 in Visual Studio 2022 maui

I learned that .net 8 is not going to be supported in IOS so I want to start using .net 6 in Visual Studio 2022 Maui. I can't use .net 6 in visual studio because it's not supported anymore. I downloaded .net 6 manually but my .net version is stuck at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,887 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,141 questions
asked 2024-07-22T06:57:52.2066667+00:00
Ertuğrul Gazi KÖKSALDI 0 Reputation points
edited a comment 2024-07-25T20:49:04.3133333+00:00
Bruce (SqlWork.com) 61,731 Reputation points
1 answer

How to fix 100 seconds Grpc HTTP client timeout for Durable Task Client

We are encountering an issue with GRPC HTTP timeouts being set to 100 seconds in our Azure Durable Function orchestrators. Our orchestrations often take longer than 100 seconds to complete, and we are having trouble changing the timeout duration to…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,677 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-23T22:38:06.9666667+00:00
Kyra Brown 0 Reputation points Microsoft Intern
answered 2024-07-25T18:34:38.5566667+00:00
Mansoor Khan 0 Reputation points
2 answers

Error when scaffolding in ASP.NET Core MVC

Hello! I have an error whenever I try to scaffold a new scaffold element: It says: "Error An error occurred while running the selected code generator: "Exception of type 'System.InvalidOperationException' was thrown." This is a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-25T06:55:49.2+00:00
Jędrzej Koriat 0 Reputation points
answered 2024-07-25T16:42:38.3466667+00:00
Jędrzej Koriat 0 Reputation points
0 answers

Microsoft.AspNet.OData NuGet Package Upgrade Causing delay in the Functionality

Hi, I have upgraded Microsoft.AspNet.OData NuGet Package in our application from 7.5.14 to 7.7.5 and since then it is causing delay in few of the Api calls in the application. Before upgrade everything works fine without causing any delay. The scenario…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-18T07:10:11.82+00:00
AKHIL TALLURI 0 Reputation points
commented 2024-07-25T13:07:01.8566667+00:00
AKHIL TALLURI 0 Reputation points
1 answer

How to send Mail using azure Entra Id User tenant mail in .NET core programmatically ?

Hi, I have an azure Entra ID Subscription where I have created user and the email with my domain, For example (ABC@abcemi.com) and I tried to send mail programmatically. Here are the steps that I have followed to Send Mail via .NET core code: - …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 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,648 questions
asked 2024-07-23T14:41:16.6833333+00:00
Kuldeep Y 41 Reputation points
commented 2024-07-25T10:44:34.2166667+00:00
Kuldeep Y 41 Reputation points
4 answers

ASP.NET Core JWT Authentication Returning Unauthorized(invalid-token 401) for Authenticated Requests in Controller Actions

Hi everyone, I'm encountering an issue with JWT authentication in my ASP.NET Core 8.0 application. While the token generation and authentication seem to work correctly in my AuthenticationController, any requests to other controllers requiring…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-07-24T16:02:32.3133333+00:00
Antonio Simonetti 0 Reputation points
commented 2024-07-25T10:19:18.5866667+00:00
SurferOnWww 2,491 Reputation points
1 answer

WsFederation authneitcaton in .net 8

We were using .Net 7 WSFederation successfully. We have now moved to .Net 8 and the authentication has stopped working. Can anybody advise what has changed? We are using WsFederation 8.0.7 and Microsoft.IdentityModel.Tokene 8.0.0. Our code is :- …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-19T11:17:20.0033333+00:00
Matt 0 Reputation points
commented 2024-07-25T08:29:53.3466667+00:00
Brando Zhang-MSFT 3,446 Reputation points Microsoft Vendor
2 answers

Why my ASP.NET razor page app cannot access a specific endpoint?

I have an issue with my ASP.NET app where it cannot access a specific endpoint. It throws a 502 error in Azure and a request timed out on my local machine. The endpoint I want to access is the products endpoint. I found that…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-22T20:13:11.8566667+00:00
Alex Corsega 0 Reputation points
answered 2024-07-24T22:04:23.6366667+00:00
Alex Corsega 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to use EF Core when two properties in the Principle entity point to the same attribute in the dependent entity?

I have 2 Model classes: Department.cs cs public class Department { public string DepartmentId { get; set; } public string Name { get; set; } public string Description { get; set; } [ForeignKey("FacultyId")] public…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2021-11-01T04:16:37.687+00:00
Uchchay Dugal 21 Reputation points
answered 2024-07-24T21:30:32.9566667+00:00
Hazrat Ali 0 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET Core Razor Pages - checkbox asp-for

Hello, New user here, a beginner trying to understand how checkbox asp-for works. In this sample application, I am trying to toggle a checkbox on post by a button, but failing. Having googled, read tutorials and attempted variations, I am still…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-24T06:28:45.1566667+00:00
Joyce 20 Reputation points
accepted 2024-07-24T21:29:44.8433333+00:00
Joyce 20 Reputation points
2 answers One of the answers was accepted by the question author.

How and how to return to the main page without losing page data

The page is made with Asp.Net Core Razor Page, In this page >> MAINPAGE (Please see the picture) 1- Populate data and filling dropdown1 Here are the codes: public SelectList TermList { get; set; } public SelectList CourseList { get; set; } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-22T17:53:32.98+00:00
Ashkan 61 Reputation points
accepted 2024-07-24T16:07:55.0433333+00:00
Ashkan 61 Reputation points
0 answers

Unable to connect Azure SignalR in Dafault mode with .Ner Core app

I have a service made with .Net Core 8, which are Web API with a SignalR Hub. This service will scale horizontally. For this reason I intend to use the Azure SignalR service in Default mode to act as a proxy between the different instances of my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
136 questions
asked 2024-06-26T10:23:00.21+00:00
César Adriel Airaldo 6 Reputation points
commented 2024-07-24T11:14:08.1266667+00:00
César Adriel Airaldo 6 Reputation points
0 answers

Microsoft Cognitive Services Voise to Text How to Recognise base64string

I'm using Microsoft Cognitive Services Voise to Text in my Asp.Net application. How can I pass base64string from my c# controller to SpeechRecognizer? Thank you!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,645 questions
asked 2024-07-19T15:16:15.11+00:00
Sviatlana 20 Reputation points
commented 2024-07-24T09:50:26.5+00:00
Tiny Wang-MSFT 2,321 Reputation points Microsoft Vendor
1 answer

I have been encountering this issue for days, and the 'app console .NET Core' package is missing in the project creation section. I would appreciate a quick response. If you can connect remotely and fix it, that would be even better. Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 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,887 questions
asked 2024-07-10T17:14:04.3+00:00
Tufan Bulut 0 Reputation points
commented 2024-07-24T07:35:18.0166667+00:00
Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
1 answer

How to search a jquery datatable properly from a SQL stored procedure

Good day I'm doing a sorting, search and pagination to a jquery datatable via a stored procedure ALTER PROCEDURE [dbo].[sp_ProgressreportView] ( @SearchValue NVARCHAR(255)=NULL , @PageNo INT = 1, @PageSize INT = 10, @SortColumn INT = 0, …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-23T07:09:44.34+00:00
Jose Daniel Navarro Brito 21 Reputation points
edited an answer 2024-07-24T06:15:19.59+00:00
JasonPan - MSFT 4,811 Reputation points Microsoft Vendor
1 answer

How to bypass account selection when application logs out in azure app service using asp.net core

We have implemented the application logging out feature when user idle time gets over. However, on logging out we are getting account selection popup window which we want bypass and application logs out itself completely. We are using angular and…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,630 questions
asked 2024-07-16T11:32:47.5833333+00:00
Jagmohan Singh Salaria 0 Reputation points
commented 2024-07-24T05:56:11.6166667+00:00
Shweta Mathur 29,681 Reputation points Microsoft Employee
0 answers

How to upload file in Azure Blob Storage using c# having file name with accent (à, è, ù) in it.

I am trying to upload a fle with file name having some accent for example "Rapport Draft à relire". The UploadAsync method of BloadClient class start giving error as the http request cannot have non ASCII characters . Here we can see the name…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,639 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-17T11:53:46.6766667+00:00
R Rakesh Kumar 0 Reputation points
commented 2024-07-24T04:48:45.3233333+00:00
R Rakesh Kumar 0 Reputation points