420 questions with ASP.NET API tags

Sort by: Updated
2 answers

How to get Access token and refresh token from in-built Asp.Net Identity Authentication (Internal memory)

Hi, I am using Microsoft.EntityFrameworkCore (Version 8.0.6) + Microsoft.AspNetCore.Identity.EntityFrameworkCore(Version 8.0.6) + Npgsql.EntityFrameworkCore.PostgreSQL (Version 8). I want to get refresh token which it is automatically generated by…

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.
420 questions
asked 2025-05-02T07:09:26.4366667+00:00
Lavanya Chakkaravel 20 Reputation points
edited an answer 2025-05-03T17:04:49.2533333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
0 answers

Application Insights not being updated after releasing new version of .NET Framework app service

I released a new version of .NET Framework Web API to an Azure app service and the telemetry reported to Application Insights on Azure has drastically reduced. The app appears to be running fine but a lot of the requests previously being logged are no…

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.
420 questions
asked 2025-05-02T09:50:15.79+00:00
Tom 1 Reputation point
0 answers

error in asp.net

i configoring ny project of asp.net and code vb.net i got this errror Error in project-level import 'app.config' at 'app' : 'app' is not accessible in this context because it is 'Friend'. i dont have in my project a file named app.config how can i…

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.
420 questions
asked 2025-05-01T15:15:58.0966667+00:00
Simon 446 Reputation points
commented 2025-05-01T17:56:48.5033333+00:00
AgaveJoe 30,036 Reputation points
2 answers

Unexpected identifier in using Export & Import in Javascript Modules

Hi there: It seems a trivial issue but I'm stuck and don't know why: I'm using Import/Export in two my JavaScript files. For simplicity sake ...the "mother"js.file has a function export function ShowAlert(val) { alert(val); } There…

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.
420 questions
asked 2025-04-29T04:55:15.8233333+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2025-05-01T00:39:40.3133333+00:00
SurferOnWww 4,391 Reputation points
1 answer

Save token in Database

Hi, I am using Microsoft.EntityFrameworkCore (Version 8.0.6) + Microsoft.AspNetCore.Identity.EntityFrameworkCore(Version 8.0.6) + Npgsql.EntityFrameworkCore.PostgreSQL (Version 8). By using these packages, Is Identity Frmaework have any…

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.
420 questions
asked 2025-04-29T10:39:14.5766667+00:00
Lavanya Chakkaravel 20 Reputation points
edited an answer 2025-04-29T19:36:36.5933333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

FIX ASP.net controller

public class TodosController : Controller { public AppDbContext DbContext { get; set; } public TodosController() { DbContext = new AppDbContext(); } public IActionResult Index() { TodosIndexViewModel model = new…

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.
420 questions
asked 2025-04-28T19:03:11.79+00:00
Max 0 Reputation points
answered 2025-04-28T19:27:16.56+00:00
Samir ⚽⚽⚽ 0 Reputation points
0 answers

Receiving 502 from backend App registered on Azure. No App insight logs found

Hello, Looks like our backend app registered in Azure is not responding. We are unable to assess as there are no logs in app insights after certain time. We even restarted the app service but it seems to have no effect and everything on the app is…

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.
420 questions
asked 2025-04-24T21:03:28.47+00:00
Sowmya Kudva 0 Reputation points
1 answer

How to fix "Operation is not valid due to the current state of the object."

When I use aspnet-codegenerator I get this error even though I could use it normally before. How can I fix it? Thank you everyone !!

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.
420 questions
asked 2025-03-01T01:10:34.3433333+00:00
Dũng Tiến 0 Reputation points
answered 2025-04-24T18:29:04.82+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

Is there a way to trigger Outlook-Add-Ins (Web) from external? (Custom event activation)

I am currently working on Office365 add-ins development and their communication via asp.net interfaces which are registered with entra id. I would like to open email templates from an external program. Templates can be created via ms-graph or by the…

Outlook
Outlook
A family of Microsoft email and calendar products.
4,504 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 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.
420 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.
4,348 questions
asked 2024-02-13T16:28:50.7+00:00
Bomnüter, Lucas 5 Reputation points
answered 2025-04-22T20:28:25.5866667+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

How to handle "RunCommand property is not defined" issue?

Here I have a .NET 6 ASP.NET project. When run IIS Express, it pops "RunCommand property is not defined".

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.
420 questions
asked 2025-04-21T08:40:14.7033333+00:00
AnonymousKKYY 20 Reputation points
commented 2025-04-21T21:22:33.59+00:00
SurferOnWww 4,391 Reputation points
1 answer One of the answers was accepted by the question author.

Event ID 1309 Source: ASP.NET 4.0.30319.0: Event code: 3005 Event message: An unhandled exception occurred. How to solve it?

工程师您好: AD环境中每台mail服务器上都有warning告警事件id 1309。具体信息如下: 消息 : Event code: 3005 Event message: 发生了未经处理的异常。 Event time: 2025/2/28 7:12:52 Event time (UTC): 2025/2/27 23:12:52 Event ID: 2d12345aeaf1234c8be12d60a123456f Event sequence: 144 Event occurrence: 143…

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.
420 questions
asked 2025-03-11T09:19:15.65+00:00
冉凡瑞 1,360 Reputation points
accepted 2025-04-21T07:59:38.0166667+00:00
冉凡瑞 1,360 Reputation points
1 answer

How do I share a Sqlite database between my desktop and laptop?

I'm writing a Minimal API application using .NET 9. I started this on my laptop, then committed the changes to my GitHub repo and tried to pick up where I left off on my desktop. However, when I tried to test it using Postman to retrieve the dishes of a…

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.
420 questions
asked 2025-04-19T13:27:12.5066667+00:00
Rod Falanga 591 Reputation points
commented 2025-04-20T03:09:10.95+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

Unhandled exception in CoreCLR

The following error was raised in IIS on Production Server. Application: w3wp.exe CoreCLR Version: 8.0.724.31311 .NET Version: 8.0.7 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0000005, exception…

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.
420 questions
asked 2025-04-18T13:02:38.0033333+00:00
Manoj Kumar Manish 1 Reputation point
answered 2025-04-18T15:13:17.8433333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
2 answers

.NET 9 OpenAPI document not generating at build time (Microsoft.Extensions.ApiDescription.Server)

Hi all, I'm working on a .NET 9 web API project and I'm trying to generate an OpenAPI document at build time, as described in the official documentation here:…

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.
420 questions
asked 2025-04-15T15:10:36.5866667+00:00
Nick Diplos 0 Reputation points
answered 2025-04-16T18:26:38.7766667+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python

Hello, We are facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python. The main application (Python) and sub-application (ASP.NET) work together.The ASP.NET…

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.
420 questions
asked 2025-02-21T06:01:09.32+00:00
Akshayaa Kalyanavenkatesh 40 Reputation points
answered 2025-04-16T13:06:07.63+00:00
Akshayaa Kalyanavenkatesh 40 Reputation points
2 answers

ASP .NET 9 API Error (Multiple constructors accepting all given argument types have been found)

I got the error below after upgrading from .NET 8 to .NET 9. I checked in the NuGet Package Manager, but my solution does not contain Microsoft.AspNetCore.Cors package. InvalidOperationException: Multiple constructors accepting all given argument types…

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.
420 questions
asked 2025-04-09T16:10:46.2833333+00:00
Tran, Truong Minh 0 Reputation points
commented 2025-04-15T05:50:14.86+00:00
SurferOnWww 4,391 Reputation points
1 answer

Operation Not Supported on This Platform When Consuming WCF Service in .NET 8

untering the error "Operation not supported on this platform" while attempting to consume a WCF service from .NET 8. The service is built in .NET Framework with wsHttp security. The implementation involves passing a username, password, and a…

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.
420 questions
asked 2025-04-10T15:58:46.18+00:00
danr 471996 0 Reputation points
answered 2025-04-11T15:47:08.4433333+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer

When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.

Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 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.
420 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.
62 questions
asked 2025-01-31T07:08:06.0033333+00:00
Vinayak Padamata 0 Reputation points
commented 2025-04-10T21:46:31.69+00:00
Bruce (SqlWork.com) 75,051 Reputation points
1 answer One of the answers was accepted by the question author.

Web App Builds But Only Shows Default ASP.NET Page – Why?

Hi everyone, I’m currently working with an existing on-premise ASP.NET Web API application. I opened the solution in Visual Studio, and it builds and runs without errors. However, when I run the application, it shows the default ASP.NET landing page…

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.
420 questions
asked 2025-04-09T13:37:47.0433333+00:00
Bohlale Masha 20 Reputation points
accepted 2025-04-09T19:38:25.1133333+00:00
Bohlale Masha 20 Reputation points
1 answer

OpenTelemetry with App Insights Profiler

Hello, We migrated our project to OpenTelemetery from application Insight. Of course, AppInsight is our Exporter now. However, I don't want to lose the "Service Profiler". So I installed ONLY…

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.
420 questions
asked 2025-04-07T11:40:08.22+00:00
Ruslan Nigmatullin 0 Reputation points
answered 2025-04-09T12:29:42.5733333+00:00
Ruslan Nigmatullin 0 Reputation points