4,338 questions with ASP.NET Core tags

Sort by: Updated
0 answers

#How to convert ASP.NET for Microsoft Graph API to an open public API?

I have followed the instructions for creating a ASP.NET project for getting Graph API data in this Tutorial:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,226 questions
asked 2024-06-28T13:03:10.9233333+00:00
Jorziño Barradas 20 Reputation points
edited the question 2024-07-01T01:16:03.4466667+00:00
Lan Huang-MSFT 28,666 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to debug ASP.NET Core's source code using Rider?

So, I'm trying to debug ASP.NET Core's source code (specifically Mvc slnf as it's what I mostly use in my day to day) using Rider but every time the debugger hits a break-point it tries to start for 1-2 seconds and then process stops/crashes. I've also…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,565 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-29T18:10:45.0966667+00:00
mario 20 Reputation points
edited a comment 2024-06-29T21:05:49.2266667+00:00
mario 20 Reputation points
2 answers

How to detect a device

Hi, I'm currently working on .net core web API project . There is a moment that I can't figure out. I had to detect the device which user used when signed in. I used "user-agent" first but this only says if its smartphone, Desktop etc. And only…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,562 questions
asked 2024-06-27T20:25:13.6533333+00:00
Atilla Rüstəmli 20 Reputation points
commented 2024-06-29T00:27:08.61+00:00
SurferOnWww 2,326 Reputation points
1 answer

How to fix this error: The package reference 'Microsoft.NETCore.Targets' should not specify a version.

I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,555 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,565 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-04-23T21:41:22.9733333+00:00
Venkata Sridhar Perepu 10 Reputation points Microsoft Vendor
commented 2024-06-28T22:24:56.36+00:00
Kumar, Ganesh 0 Reputation points
1 answer

Access network folder and files from .NET Core application in IIS

Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,183 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
commented 2024-06-28T20:48:45.5933333+00:00
Erland Sommarskog 105.1K Reputation points MVP
7 answers One of the answers was accepted by the question author.

asp.net core web application not showing in visual studio 2019

asp.net core web application not showing in visual studio 2019 Hi, i have installed visual studio 2019, with asp.net and .NET core features. Problem/Issue: while creating new project,"asp.net core web application" not showing, its showing…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2023-03-09T14:09:34.9833333+00:00
qasimidl 106 Reputation points
answered 2024-06-28T20:11:12.62+00:00
Jennifer2112 0 Reputation points
1 answer One of the answers was accepted by the question author.

Different situations occur when action information is not given when the form is posted.

Hi, If you allow, I would like to ask a question. Even though I did not provide action information in the form post operation in the View of the "Index Action" in the "Login Controller", the Index Action is running in the post…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-28T13:28:47.1+00:00
Yalçın Mete 60 Reputation points
accepted 2024-06-28T15:23:39.8966667+00:00
Yalçın Mete 60 Reputation points
2 answers One of the answers was accepted by the question author.

Display Image in asp.net core postgresql

The below code works in Index Page <td> @{ var base642 = Convert.ToBase64String(item.Imagesol); var Image2 = String.Format("data:image/gif;base64,{0}", base642); } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-28T13:57:08.1166667+00:00
Anonymous
commented 2024-06-28T15:23:10.09+00:00
Anonymous
1 answer

Integrate Swagger with Azure Function using .Net 8.0

Hi, I'm currently trying to integrate Azure Functions with Swagger. I've successfully done this for .NET 6.0, and now I am trying to do it using .NET 8.0. However, I am unable to find a proper solution, and all the references I find on the internet have…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,555 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-27T14:15:01.5966667+00:00
Chethan Ramesh 0 Reputation points
commented 2024-06-28T06:21:56.87+00:00
Chethan Ramesh 0 Reputation points
0 answers

Web app with Entra authentication got 403 error

Webapp1 is a asp.net 8.0 app with Entra as authentication provider. The registered app is app1. Webapp1 used to work but I got the 403 app after a deployment. The error page showed "Access to webapp1.azurewebsites.net was denied. You don't have the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
829 questions
asked 2024-06-17T20:06:33.8233333+00:00
Ben Wilson 0 Reputation points
commented 2024-06-28T04:51:45.16+00:00
Ben Wilson 0 Reputation points
1 answer

Application sends Email when on local pc but stops working when deployed on Azure

I created a simple web page with a form on it that sends an email to the owner. When I enter the data and click Send button, you can see on one of the pictures that in the console there is an Error. When I investigated further within Azure Portal in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,562 questions
asked 2024-06-27T10:36:06.89+00:00
Ivan7777 0 Reputation points
edited the question 2024-06-28T03:37:37.09+00:00
PRADEEPCHEEKATLA-MSFT 84,051 Reputation points Microsoft Employee
11 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,183 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 151 Reputation points
answered 2024-06-28T00:02:44.02+00:00
سیدمحمدمهدی موسوی 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to repopulate dropdown boxes when a razor page reloads in Asp .NET Core 6

I am working on a Razor page in Asp .NET Core 6. Through identity scaffolding it created a Register.cshtml page. I modified the page with input for email and user name and three dropdowns for State, Title and Salutation. I am populating the dropdowns…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-27T17:12:15.5766667+00:00
Sherpa 221 Reputation points
commented 2024-06-27T17:52:09.27+00:00
Sherpa 221 Reputation points
3 answers One of the answers was accepted by the question author.

How to send additional model data to a razor page in Asp.Net Core 6

I am working on Asp.Net Core 6 MVC. I am new to Razor pages. On the Register.cshtml page, as part of the identity, it has the following line which is used to gather user-entered values and save them in the database on the Register.cshtml.cs @page @model…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-26T15:36:46.6833333+00:00
Sherpa 221 Reputation points
accepted 2024-06-27T16:41:49.2+00:00
Sherpa 221 Reputation points
0 answers

Download Files in Razor View using [partial view bootstrap modal]

Hello reader, Download Files in Razor View using bootstrap modal <td> <a href="@Url.Page("entryframe", "DownloadFileFromDatabase", new { fileName = " + rowID + " })">DFD</a>")…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-27T04:28:02.5933333+00:00
SK Raj Reddy 0 Reputation points
edited a comment 2024-06-27T13:37:24.4766667+00:00
AgaveJoe 27,421 Reputation points
10 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 55 Reputation points
answered 2024-06-27T08:58:49.76+00:00
FALCON VALLEY 0 Reputation points
1 answer

Classic ASP support clarification

I am needing to get some verification for my job on whether classic asp is still being supported by Microsoft. Also, is their a way to find the end of life date for classic asp? I will need to provide some form of proof online. I am asking because when I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 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.
313 questions
ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
16 questions
asked 2024-06-25T16:47:25.2166667+00:00
Derrick Pine 0 Reputation points
edited an answer 2024-06-26T18:23:50.7833333+00:00
Bruce (SqlWork.com) 60,201 Reputation points
1 answer

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

I was running VS 2017 and today I installed VS2019 and after dotnet version changed from 2.1 into 5.0.301. Currently this machine has 2017 and 2019 version. Also I have had created a project in 3.1 . When I run the project in VS 2019 , it brings…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2021-06-25T15:49:15.2+00:00
Polachan Paily 226 Reputation points
answered 2024-06-26T15:29:29.7466667+00:00
Bruce (SqlWork.com) 60,201 Reputation points
1 answer

Could not find 'aspnetcorev2_inprocess.dll'. Exception message: Error: An assembly specified in the application dependencies manifest (apexlink-qms.deps.json) was not found: package: 'Microsoft.EntityFrameworkCore.Design', version: '3.1.4' path:

Hi there, I have a net core app service that has been running fine until yesterday. I found this error in the Application Event Logs: I have tried several fixes that seems to work for others, but so far no luck to make the App work again. Would anyone…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 questions
asked 2023-08-03T09:41:51.5733333+00:00
Apexlink Apexlink 0 Reputation points
commented 2024-06-26T13:07:47.2066667+00:00
Caiqui Viera 0 Reputation points
1 answer

Can't convert Word Document Equation into HTML readable format text like MathML in C#

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,565 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,562 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,680 questions
asked 2024-04-24T04:35:09.1466667+00:00
conduct exam 5 Reputation points
answered 2024-06-26T12:37:05.55+00:00
dixit dhameliya 0 Reputation points