4,194 questions with ASP.NET Core tags

Sort by: Updated
1 answer

running asp.net application on localhost asking for authentation

I have an application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the application.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 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,285 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-07T02:35:43.61+00:00
Brando Zhang-MSFT 2,956 Reputation points Microsoft Vendor
0 answers

How to pass values from a Razor page to an Asp.Net MVC controller

I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
asked 2024-05-07T02:32:23.82+00:00
Sherpa 161 Reputation points
0 answers

IMAGE UPLOAD USING PHOTO PICKER DIALOG

RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 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.
300 questions
asked 2024-05-02T10:39:55.1833333+00:00
Nandini S 20 Reputation points
commented 2024-05-07T02:22:49.7966667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
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,194 questions
asked 2024-05-03T10:05:35.66+00:00
net 6 newbie 121 Reputation points
commented 2024-05-07T02:09:34.7566667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
0 answers

Develop an ASP.NET Core web app that consumes an API assessment fail

Hi, I recently attempted the applied skill assessment: Develop an ASP.NET Core web app that consumes an API Although not all requirements were very clear, I was confident I completed all the tasks. everything was tested by me and all the functionality…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-03T09:03:54.2166667+00:00
robin lenaerts 0 Reputation points
commented 2024-05-07T01:36:34.4533333+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
2 answers

Cancel Request after press button

Hello, We are using MVC .NET Core framework 6 and we need to cancel or kill request after send. For example after press a button that execute some actions in oracle Database. We need to Cancel this request from another button. Is this possible? and if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 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.
300 questions
asked 2024-05-06T17:37:48.1266667+00:00
Ibrahim Shawky 20 Reputation points
answered 2024-05-07T01:19:33.3666667+00:00
SurferOnWww 1,916 Reputation points
1 answer

Do you know of any forum sites that except questions about uwp making apps & coding, from visual studio 2022

Do you know of any forum sites that except questions about making uwp apps & coding, from visual studio 2022

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 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,125 questions
asked 2024-04-19T11:34:06.13+00:00
Luke Ferguson 46 Reputation points
edited the question 2024-05-07T00:55:57.38+00:00
Roy Li - MSFT 32,051 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Dangerous site - attackers on the site you're trying to visit might trick you

I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…

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,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 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,285 questions
asked 2024-04-19T18:56:41.28+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2024-05-06T23:51:20.61+00:00
Anjali Agarwal 1,386 Reputation points
1 answer

After reinstalling dotnet, encountering an error when running 'dotnet run.' Attached is the error message. Please assist.

error NU1100: Unable to resolve 'Humanizer.Core (>= 2.14.1)' for 'net7.0'. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org. error NU1100: Unable to resolve…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2023-11-25T06:17:39.8666667+00:00
CHAMIKA 20 Reputation points
answered 2024-05-06T19:50:04.2333333+00:00
Bruce (SqlWork.com) 56,771 Reputation points
1 answer

Error: "Web Page is not working"

I'm using ASP.Net Core MVC with Identity Framework. I added a new category model: public class Category { #pragma warning disable CS8618 [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get;…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-06T15:53:48.09+00:00
Kenneth R. Jones 41 Reputation points
edited an answer 2024-05-06T17:05:58.22+00:00
Kenneth R. Jones 41 Reputation points
2 answers One of the answers was accepted by the question author.

How to fix error "No webpage was found for the web address:" when I am opening the url for my app service.

Hi community, I have created one dotnet core web app. Pushed it to repos in azure devops, created a pipeline and deployed it on azure web app services. After creating the release and publishing it on web app, when I am trying to open the URL of web app,…

Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,920 questions
asked 2023-05-18T08:39:43.7833333+00:00
Rajneesh Yadav 30 Reputation points
commented 2024-05-06T13:35:58.2333333+00:00
IbrahimYusuf-3145 0 Reputation points
1 answer

ASP.NET Core web app with Microsoft SSO via Azure Microsoft Entra ID and not manage secrets - is it possible?

In the Azure Portal, I create a resource Microsoft Entra ID and then add an app registration. In the app registration I can specify redirect URIs for Microsoft logins (SSO) via "Authentication" for my .NET web app: Authentication button on side…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 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,582 questions
asked 2024-05-03T13:15:34.5066667+00:00
Shubash Chumber 0 Reputation points
commented 2024-05-06T13:19:56.47+00:00
Shweta Mathur 27,711 Reputation points Microsoft Employee
2 answers

How to do Search inside a subFolder with Azure AI Search.

In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…

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.
723 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-01T06:29:32.8333333+00:00
Hassan Kaleem 20 Reputation points
commented 2024-05-06T10:56:04.8366667+00:00
ajkuma 22,416 Reputation points Microsoft Employee
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
commented 2024-05-06T10:29:27.7533333+00:00
Vijayan, Neethu 0 Reputation points
1 answer

SignalR connection

How can I test the connection of SignalR hub without client I write this code and do not know how to test to check if there is a problem in my code here is part of my code that is for signalR in my api: please tell me how should I do to connect…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-03T23:01:03.9033333+00:00
Sakanat 2024 0 Reputation points
edited a comment 2024-05-06T10:11:07.93+00:00
AgaveJoe 26,136 Reputation points
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,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
commented 2024-05-06T06:35:20.4833333+00:00
Abhishek, Burra 0 Reputation points
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,194 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,920 questions
asked 2024-04-26T11:33:36.0766667+00:00
Gour, Ashish 0 Reputation points
commented 2024-05-06T06:25:07.37+00:00
SnehaAgrawal-MSFT 18,366 Reputation points
1 answer

How to connect different Azure Id with Visual Studio 2022 Id

Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,127 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
commented 2024-05-06T05:42:34.7266667+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer

Adding Token Based Azure EntraID Authentication to GraphQL APIs created on .NET7

I have a set of GraphQL APIs created on .NET7. I want to authenticate the APIs using Azure Entra ID User/App Access Tokens. Is it possible to achieve the same out of the box, else kindly suggest a workaround.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 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,582 questions
asked 2024-04-24T10:05:50.0733333+00:00
Varun Sridhar 0 Reputation points
commented 2024-05-06T04:22:56.7966667+00:00
Navya 4,005 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

problem of aspnetcore-browser-refresh.js connection failed.

The version of my browser is Chrome 98.0.4758.102(The newest version of Chrome). Every time I debug my asp.net 6 projects with VS 2022(The newest version of VS 2022), the browser always reports the error as below: This problem occurs even I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2022-02-18T03:34:15+00:00
melon NG 291 Reputation points
commented 2024-05-05T20:18:53.98+00:00
Julien Ranc 0 Reputation points