293 questions with ASP.NET API tags

Sort by: Updated
1 answer

Request OAuth2.0 token using azure app services managed identity

Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,540 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,218 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.
293 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,844 questions
asked 2024-04-19T05:19:21.3666667+00:00
Tan Soon Chek 0 Reputation points
commented 2024-04-23T01:17:35.93+00:00
Tan Soon Chek 0 Reputation points
2 answers

System.ObjectDisposedException: 'Cannot access a disposed object. ObjectDisposed_ObjectName_Name', al momento de guardar mi lista de imagenes

My View in vue.js sends me the image arrangement to my api, which I want to save in a folder asynchronously and when I do the second round in my foreach to the second image it gives me the error. foreach (var imagen in imagenes) { ImagenesProducto…

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,218 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.
293 questions
asked 2024-04-09T19:43:43.2266667+00:00
Andrea Evelyn Mejia Rubio 0 Reputation points
answered 2024-04-21T15:24:05.29+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer

How to secure web api in asp.net c# (offboarding and crossboarding users.)

Hi , How to secure web api in asp.net c# i want to secure the web api for offboarding and crossboarding users. Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the…

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.
293 questions
asked 2024-04-16T18:28:32.6833333+00:00
Deshmukh, Ashish 1 Reputation point
answered 2024-04-17T21:27:11.7+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer One of the answers was accepted by the question author.

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 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,218 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.
293 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 20 Reputation points
accepted 2024-04-16T07:21:19.3+00:00
RASHMI GUPTA 20 Reputation points
0 answers

How to get changes from repo remote to local on bitbucket git ?

I have two branches first branch beforefinal and second branch name is Final and i need to  make merge and differences from Final branch to beforefinal branch local on my pc  so How to do that please  my project worked on asp.net core 8 and I worked on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
asked 2024-04-12T20:10:56.9866667+00:00
Ahmed Salah 0 Reputation points
commented 2024-04-15T03:12:05.3266667+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
1 answer

I can't publish my ASP.NET core web API to somee.com

It's been one mouth since i published my API to somee.com and it was working fine and even when i update the API in my local machine and publish it again it worked fine but now it doesn't want to publish to somee.com anymore and i don't know if the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,593 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.
293 questions
asked 2024-04-08T17:36:40.94+00:00
Faris Mohamed 0 Reputation points
commented 2024-04-09T08:08:36.9433333+00:00
Faris Mohamed 0 Reputation points
2 answers

Add Web API Calls to Blazor Web App Migrating from .Net6 to 8 Redirects to Login with [Authorize] controllers.

I have a .Net WASM project that I am migrating to .Net 8 from .Net6. I want to take advantage of some of the advanced render modes. I used the template in VS2022 with Individual accounts, With 'Auto (Server and WebAssemby) and per page/component as the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,381 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.
293 questions
asked 2024-04-03T11:48:39.5566667+00:00
Brett Butcher 0 Reputation points
answered 2024-04-05T02:09:38.44+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

IIS CORS Module configuration with Windows Credentials

Hi, Does anyone have a Windows .Net Core API being accessed via Windows Authentication? I have not been able to get this to work. I have an .Net Core API hosted on my Windows 2022 server in IIS with Windows Authentication enabled. We have a on-premise…

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,105 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.
293 questions
asked 2024-03-22T19:23:40.2766667+00:00
Charlotte McClellan 20 Reputation points
commented 2024-04-03T05:32:18.12+00:00
Lex Li (Microsoft) 4,662 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request. Your application is running in Production mode, so make sure it has been publ

This happened before with another application of mine which I was able to fix by removing the use redirect. However, this time it seems to be more complex, I am using dotNet 7 for the application and React for the front end all my checks are successful…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
759 questions
asked 2024-03-20T06:22:03.5833333+00:00
Mendenzon Tatis Rosario 20 Reputation points
accepted 2024-03-22T00:15:41.71+00:00
Mendenzon Tatis Rosario 20 Reputation points
1 answer

.NET Authentication .NET 7 Vs .NET 8 in my simple API service

I’m working on a relatively simple .NET Core web API service that performs CRUD operations on a database. Not sure what's the best way to implement authentication. Here’s the situation: In .NET 7, I had to manually define all the authentication…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,353 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
asked 2024-03-18T18:49:31.74+00:00
Sebastian Meckovski 25 Reputation points
edited a comment 2024-03-20T16:32:07.3+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer One of the answers was accepted by the question author.

call an api in C#

I have the following code: namespace TwilioSendMessages.Controllers { [Route("api/[controller]")] [ApiController] public class SMSController : ControllerBase { private readonly IWebHostEnvironment _webHostEnvironment; …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
asked 2024-03-18T04:07:46.5366667+00:00
Anjali Agarwal 1,366 Reputation points
accepted 2024-03-19T17:51:45.7733333+00:00
Anjali Agarwal 1,366 Reputation points
1 answer

Shopping application

To implement this application Should we use both ASP.NET web api and postman or any one? do we need to create models for application in web api ?

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.
293 questions
asked 2023-10-10T07:18:06.3333333+00:00
Nandini S 20 Reputation points
answered 2024-03-16T11:10:24.7633333+00:00
1 answer

Developing Web API in C# with VS 2022: IIS Express Error, no connection to local IP, access denied

I'm developing a Web API with C#, Net 8, in Visual Studio 2022. Everything was fine until I changed one detail in "$schema": "http://json.schemastore.org/launchsettings.json", "iisSettings": { …

Internet Information Services
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.
293 questions
asked 2024-03-07T11:53:07.5333333+00:00
Georg Aubele Lehmbau 0 Reputation points
commented 2024-03-14T09:54:51.0766667+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
4 answers

"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel" and "The remote certificate is invalid according to the validation procedure" on just 1 server?

There is an API and this API in .NET C# gives this error: "System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Unable to establish trust for…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,593 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,218 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.
293 questions
asked 2023-04-11T09:02:20.1066667+00:00
Toriyama 281 Reputation points
commented 2024-03-08T19:51:18.7+00:00
Zahrobsky, Christopher 0 Reputation points
0 answers

Changing the APPID of a VB.Net project

I'm working on ASP.NET Web API project, and I realized that the APPID being captured in the Teradata DBQL is a duplicate of another application. This is how the APPID looks like. W3WP:AA:CC:xx.xx.xx.000) Can you please advise how to update the…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 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.
293 questions
asked 2024-03-05T09:16:40.4566667+00:00
Louie 21 Reputation points
commented 2024-03-06T03:10:00.2633333+00:00
Louie 21 Reputation points
1 answer

.Net 8.0 Unable to install EntityFrameworkCore.Tools 8.0.2 from Nuget package manager

I have installed Visual Studio 2022 community edition, created a .Net Core Web API project and installed below 2 packages from Nuget package manager successfully. EntityFrameworkCore.SqlServer 8.0.2 EntityFrameworkCore 8.0.2 But, when I try to install…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
asked 2024-03-04T14:00:18.5966667+00:00
Rajesh Erukulla 0 Reputation points
answered 2024-03-05T06:44:49.6066667+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
0 answers

Incorrect assessment result for Develop an ASP.NET Core web app that consumes an API

I attempted the assessment and successfully completed all the tasks. I am very sure that my result is calculated incorrectly. The result says I failed to Interact with an API which does not make any sense as I would not be able to proceed to other…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
asked 2023-11-10T18:01:12.33+00:00
Sheikh Saqib 20 Reputation points
commented 2024-02-28T18:39:58.1466667+00:00
Massimo Giambona 6 Reputation points
0 answers

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.
2,933 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,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.
293 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,473 questions
asked 2024-02-13T16:28:50.7+00:00
Bomnüter, Lucas 0 Reputation points
edited the question 2024-02-26T05:24:04.1633333+00:00
Shweta Mathur 27,216 Reputation points Microsoft Employee
0 answers

How do I attach an SSL certificate to access SOAP services with .NET Framework 4.8?

Hello everyone, We have a requirement to attach the SSL certificate while consuming SOAP services. We are getting an error as "Could not establish secure channel for SSL/TLS with authority 'url.com:portnumber'/". Inner Exception WebException:…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 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.
293 questions
asked 2024-02-15T14:43:26.2333333+00:00
Avinash Singh 0 Reputation points
commented 2024-02-20T07:23:46.97+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Problema om Swagger em publicaçao de API no Azure

estou tentando publicar uma API no Azure mas esta retornando o erro Falha ao gerar o arquivo de swagger. Erro dotnet swagger tofile --serializeasv2 --output var builder = WebApplication.CreateBuilder(args); // Add services to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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.
293 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,844 questions
asked 2024-02-15T22:55:14.13+00:00
Victor Gabriel 20 Reputation points
accepted 2024-02-19T17:46:25.17+00:00
Victor Gabriel 20 Reputation points