4,328 questions with ASP.NET Core tags

Sort by: Updated
2 answers

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

Hello, I have followed the instructions for creating an application that can pull data using the Microsoft Graph API: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,193 questions
asked 2024-06-28T13:08:45.0433333+00:00
Jorziño Barradas 20 Reputation points
edited an answer 2024-07-01T05:57:42.2166667+00:00
Tiny Wang-MSFT 2,171 Reputation points Microsoft Vendor
0 answers

How to Increase timeout

I scaffolded a asp.net core application from Postgresql db, I get the below error , please suggest. TimeoutException: Timeout during reading attempt I fails here SupaCrud.Controllers.QuestionsController.Index() in QuestionsController.cs + return…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
Azure Database for PostgreSQL
asked 2024-07-01T05:54:40.5+00:00
Kalyan A 0 Reputation points
edited the question 2024-07-01T05:55:48.98+00:00
Kalyan A 0 Reputation points
1 answer

InvalidOperationException: No policy found: System.Object[] in .NET 6 project on Visual Studio 2022 Version 17.10.3

`I recently installed the latest version of Visual Studio 2022 Version 17.10.3 and started working on a .NET 6 project. When I run my project, I encounter the following exception: InvalidOperationException: No policy found: System.Object[].…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-28T09:30:23.84+00:00
Madanraj A 20 Reputation points
commented 2024-07-01T05:20:35.64+00:00
Tiny Wang-MSFT 2,171 Reputation points Microsoft Vendor
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,328 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,193 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,276 Reputation points Microsoft Vendor
1 answer

.Net 6/8 WebApi take long time to start

I compile this simple project and run it in Linux bash is normal. But when I create service file to run this program, it take almost 2 minute to start. The same as in Podman. var builder = WebApplication.CreateBuilder(args); var app =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-27T08:15:07.1766667+00:00
Jiayu Qiu 0 Reputation points
commented 2024-06-30T16:58:54.4533333+00:00
Bruce (SqlWork.com) 59,966 Reputation points
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,561 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 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,328 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,550 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,542 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,561 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 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,328 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,166 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 104.8K 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,328 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,328 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,328 questions
asked 2024-06-28T13:57:08.1166667+00:00
Maui Learner 560 Reputation points
commented 2024-06-28T15:23:10.09+00:00
Maui Learner 560 Reputation points
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,542 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 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,328 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
824 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,328 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,550 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 83,891 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,328 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,166 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
3 answers

Cancellation Token signal not being received by the application code

looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://video2.skills-academy.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,391 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,550 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
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,248 questions
asked 2024-06-20T19:01:11.7333333+00:00
Michel Fornaris 0 Reputation points
answered 2024-06-27T22:00:06.9433333+00:00
Bruce (SqlWork.com) 59,966 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,328 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,328 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,328 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,341 Reputation points