4,274 questions with ASP.NET Core tags

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

The html tags are displayed as plain text in asp.net core mvc razor pages

I am working on Asp.Net Core 6.0 MVC Razor pages. On the Login.cshtml page, I want to show the following error message when the user tries to login with in invalid credential: Invalid: <b>User Name</b> and/or <b>Password</b>. The…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2024-05-21T18:19:57.5566667+00:00
Sherpa 181 Reputation points
commented 2024-05-24T02:57:56.4533333+00:00
Bruce (SqlWork.com) 58,936 Reputation points
5 answers

SQLAzure is not available for your selection of subscription and location

Hi Folks, Trying to use Azure for the first time, I'm using a normal account (i.e not free tier or student) but it is just for a hobby project. I'm following the tutorial here in order to deploy my EFCore webapi…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
709 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2023-01-22T08:33:29.6833333+00:00
Gary Frewin 25 Reputation points
commented 2024-05-23T20:19:04.16+00:00
Jason Porter 1 Reputation point
1 answer

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,274 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,847 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,453 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
commented 2024-05-23T16:50:15.2666667+00:00
ShaikMaheer-MSFT 38,301 Reputation points Microsoft Employee
8 answers

Unable to Resolve Scaffolding Issue in ASP.NET Core MVC Application

I'm getting the following error when I try to scaffold the Login, Logout, and Register pages. I ran the Visual Studio Installer to and clicked on the ASP.NET web development workflow to ensure I have all of the required tools installed. Version…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 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,744 questions
asked 2023-01-25T03:05:53.0133333+00:00
Xenu 0 Reputation points
edited an answer 2024-05-22T21:13:32.2233333+00:00
Siamak Shirzad 0 Reputation points
0 answers

My authentication code is not working for one of my shopify

I removed my other account from Microsoft then added it back to sign in to disable the account and get my domain but I can't login, the codes generated are wrong.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2024-05-22T17:05:55.67+00:00
NGOZI EMEROKWAM 0 Reputation points
1 answer

Under Posting Attack in .NET Core

In .NET 6 I have a DTO with value data types like int. But while sending a POST request if user omits the value for that default value is getting assigned without any Error. What are the best practices to avoid this under posting? I have tried using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2024-05-03T10:05:35.66+00:00
net 6 newbie 121 Reputation points
commented 2024-05-22T07:13:28.1866667+00:00
Ping Ni-MSFT 2,640 Reputation points Microsoft Vendor
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 5 Reputation points
commented 2024-05-22T05:43:10.73+00:00
Abhishek, Burra 5 Reputation points
2 answers

How to change name of ASP.NET Empty website project ?

I want to change the name of my project because it has the same name as the solution main project. I tried in many way but didn't find how to change the name. The project name project is ShopWebSite1 When the solution and project has same…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
asked 2021-09-09T08:16:10.5+00:00
daowdos 271 Reputation points
answered 2024-05-22T05:35:32.8533333+00:00
Ronen 0 Reputation points
2 answers One of the answers was accepted by the question author.

$.ajax patch method and .net 8 api action

Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
909 questions
asked 2024-05-21T05:35:16.4333333+00:00
S R, Senthil 20 Reputation points
accepted 2024-05-22T01:43:39.2066667+00:00
S R, Senthil 20 Reputation points
2 answers One of the answers was accepted by the question author.

@await RenderSectionAsync giving "Cannot await method group" error

I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code giving the titled error. Am I missing something ? …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 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,445 questions
asked 2024-05-21T04:33:58.8933333+00:00
Akhil Josef 20 Reputation points
accepted 2024-05-21T17:06:10.0966667+00:00
Akhil Josef 20 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,274 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,214 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,008 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
commented 2024-05-21T15:29:23.5366667+00:00
Bruce (SqlWork.com) 58,936 Reputation points
0 answers

How to update microsoft .net core seol windows server 2019

card access sever "windows server 2019". How to update .net core seol?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
97 questions
Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
991 questions
asked 2024-05-21T14:08:33.4733333+00:00
Tim O'Brien 5 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,274 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.
13,017 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,914 questions
asked 2024-05-16T12:53:21.2833333+00:00
Santhi Dhanuskodi 185 Reputation points
commented 2024-05-20T16:15:07.1666667+00:00
Bruce (SqlWork.com) 58,936 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,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 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,135 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-20T04:15:58.2866667+00:00
Singh, Sheetal 0 Reputation points
3 answers One of the answers was accepted by the question author.

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 register 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,274 questions
asked 2024-05-16T21:33:20.59+00:00
David Thielen 2,421 Reputation points
commented 2024-05-19T16:26:37.8866667+00:00
David Thielen 2,421 Reputation points
1 answer

How do I change the embed media properties (size, text wrapping, border, and so on) in CKEditor 5 (checking for script tag)?

Hi! I have an implementation of CKEditor fields in my project in the form: DecoupledEditor .create( document.querySelector( '#editor' ), { extraPlugins: [ MyCustomUploadAdapterPlugin ], removePlugins: […

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
909 questions
asked 2024-05-08T13:14:56.79+00:00
Volk Volk 571 Reputation points
answered 2024-05-18T12:11:44.0766667+00:00
Volk Volk 571 Reputation points
2 answers

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,503 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2024-05-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
edited an answer 2024-05-17T21:13:36.17+00:00
Can Kucukgultekin 0 Reputation points
3 answers

A weired error about HTTP 500 !

I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
commented 2024-05-17T15:52:24.6566667+00:00
MotoX80 32,336 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,274 questions
asked 2024-05-16T05:50:59.9633333+00:00
Nandhini S 0 Reputation points
commented 2024-05-17T09:30:53.95+00:00
JasonPan - MSFT 4,626 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.
784 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 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-17T07:17:26.4033333+00:00
ajkuma 23,391 Reputation points Microsoft Employee