314 questions with ASP.NET API tags

Sort by: Updated
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,345 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.
314 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.
3,329 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,253 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.
314 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,684 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 29,186 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,396 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.
314 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 28,821 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,345 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.
314 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,269 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
2 answers One of the answers was accepted by the question author.

Adding React.Js components to my existing/new Asp.net MVC core 6.0 , is this possible/compatible?

I am building ASP.NET Core 6.0 with MVC web application, and I am using these technologies... Web API Entity Framework SQL Server Razor views, JavaScript, JQuery & Bootstrap. Apexcharts But i want to improve my MVC web application front-end by…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,573 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.
314 questions
asked 2024-01-28T19:44:47.3666667+00:00
Prasad 20 Reputation points
edited a comment 2024-02-15T16:59:43.58+00:00
Prasad 20 Reputation points
1 answer

No webpage was found for the web address

I have deployed web api to Azure. The API has an SQL server which i have configured when deploying. I have checked the connection string is in the app settings and i have migrated my database with data so it should be working, but i keep getting a 404…

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.
314 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,269 questions
asked 2024-02-05T10:14:14.5266667+00:00
John chimbani 0 Reputation points
answered 2024-02-05T10:54:33.3+00:00
JasonPan - MSFT 4,796 Reputation points Microsoft Vendor
1 answer

Azure is decoding characters in the URL before reaching the application

In our backend API, we have an endpoint with a path variable and we need to be able to support certain special characters. To accomplish this, we are encoding the path variable with UTF-8 before hitting the endpoint. This works for most special…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,269 questions
asked 2023-01-12T17:17:38.88+00:00
Jkuhl 35 Reputation points
answered 2024-02-02T21:45:51.8966667+00:00
hossein jalilian 4,695 Reputation points
1 answer

Send Chunked Response in .NET 6 Web Api

I am building a Web API project where I will be fetching pdf files from Azure blob Storage and send the pdf files as response to API calls. I have tried using following piece of code Response.ContentType = "application/pdf"; await foreach…

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,871 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
asked 2024-01-27T18:09:38.9866667+00:00
net 6 newbie 121 Reputation points
commented 2024-02-01T04:57:19+00:00
Anand Prakash Yadav 7,775 Reputation points Microsoft Vendor
0 answers

How to get Task manager process closing events in c#?

Hi Team I am Implimenting a server(APIGatewat.exe which is console exe) to launch other console exe(act as other servers)  in background without  user intercation mode i am able to launch the exe(using process start) but when im closing my Main…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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,573 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.
314 questions
asked 2024-01-16T07:32:06.79+00:00
Sachwet 1 Reputation point
commented 2024-01-30T05:43:14.34+00:00
Sachwet 1 Reputation point
2 answers

Question about clean architecture

I read article about clean architecture (in microsoft docs) and I have question about validation. In the article said that Application layer must not have any dependencies from external libraries and frameworks. But I see examples projects on github…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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.
314 questions
asked 2024-01-26T18:30:20.3033333+00:00
Hikljh Dima 20 Reputation points
answered 2024-01-29T23:01:54.85+00:00
Bruce (SqlWork.com) 60,361 Reputation points
1 answer

Generate custom PasswordHash with Microsoft.AspNet.Identity

Hi , I'm using VS2022 and I want to override the Default PasswordHash. I want to include when the user is created in the Hash Password the username for example. I found some code  but it is for the Core. And I'm not using the core I have created a …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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.
314 questions
asked 2024-01-19T13:59:42.4433333+00:00
Zacharias Karasavvas 0 Reputation points
edited a comment 2024-01-25T06:26:17.8233333+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor
1 answer

IIS - Rewrite Module from 200 OK to 201 Accepted

In IIS version 10, I installed Rewrite Module and I am trying with the above XMLs the following action. I want to set "201 or 202 Active" status instead of default 200 OK to all successful requests (only when my api should return 200…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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.
314 questions
asked 2024-01-22T19:43:55.25+00:00
Dimitrios Michas 0 Reputation points
edited an answer 2024-01-23T03:06:24.39+00:00
Sam Wu-MSFT 7,211 Reputation points Microsoft Vendor
5 answers

C#: The dreaded “A generic error occurred in GDI+.” Exception

I have googled this a lot but not found any good solutions. Users upload images to the server via an Asp.Net API and the code below saves the files to disk. This works most of the time (1000s) but sometimes I get this GDI exception. This uses .net…

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,573 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.
314 questions
asked 2022-10-19T03:01:08.97+00:00
moondaddy 911 Reputation points
answered 2024-01-17T23:06:16.9+00:00
Iuri Jacob 0 Reputation points
1 answer

We are not able to access a file in the web api

We have a csv file that is in the project directory. After publishing it is showing already in azure and we can access it through the developer tools. But in the api we are getting file not found error we tried putting the full path hard coded also but…

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.
314 questions
asked 2024-01-12T11:33:20.19+00:00
Pavan Pathak 0 Reputation points
answered 2024-01-16T11:50:48.45+00:00
Ken Kam Hung, Lin 91 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Identity is redirecting WebAPI calls to microsoftonline.com

We are trying to build an application with both razor pages and API endpoints and an Angular app to access the API endpoints. Web Application #1 I've been able to connect to Entra ID from the razor page side of the primary AspNet Core web project, and…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
asked 2024-01-02T21:21:26.74+00:00
Guisinger, Dan 25 Reputation points
accepted 2024-01-12T19:31:40.76+00:00
Guisinger, Dan 25 Reputation points
0 answers

How to nicely solve self-referencing object update error?

In my project I have a bunch of models, that are all derived from the class 'Entity'. Simplified, this means they all have the following properties: public Guid Id { get; set; } public DateTime Created { get; set; } public required User CreatedBy { get;…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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,573 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.
314 questions
asked 2023-11-08T10:10:32.9833333+00:00
Miles 0 Reputation points
commented 2024-01-10T19:47:54.39+00:00
1 answer

Question/Suggestions on using a Windows Service or Hangfire

I plan on either doing a Windows Service, or using Hangfire (right in my web api), for continuously gathering new security event logs similar to that of the Windows Event Viewer. Looking for feedback/suggestions on doing it with an event listener. What…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
asked 2024-01-06T23:27:13.3966667+00:00
muttBunch 100 Reputation points
answered 2024-01-07T18:39:32.8766667+00:00
Bruce (SqlWork.com) 60,361 Reputation points
2 answers One of the answers was accepted by the question author.

Fetch data for a specific field in Web API C#

Hello, I have a Json URI which I am using as a data source. I am writing a web api wherein I need to retrieve the data for any of the specific field which user inputs. For e.g, below json is my data source and I need to fetch data only for table_no. So…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
asked 2024-01-03T23:40:13.5766667+00:00
Abdeali Mandviwala 20 Reputation points
accepted 2024-01-04T23:30:10.3366667+00:00
Abdeali Mandviwala 20 Reputation points
2 answers

Asp.net api Endpoint, IAsyncEnumerable stream being buffered

Hello, I'm using .net 7, http://asp.net core api w/controllers and I"ve tried with minimal api on VS 2022. Using c# to stream using IAsyncEnumerable some simple text line by line. Ive tried a simple obj. Ive tried ints. No matter what I've tried the…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,223 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
asked 2023-10-15T18:58:45.21+00:00
ideplotest 0 Reputation points
commented 2023-12-29T06:20:47.0066667+00:00
Hazy Fish 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix "Register the constraint type with 'Microsoft.AspNetCore.Routing.RouteOptions.ConstraintMap"?

Hello! I know this question has several posts with multiple answers but in my case I haven't found the solution. I'm building a Web Api with NET 8 My Web Api has swagger I'm using Dependency Injection, Service layer, UnityOfWork and Repository…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
314 questions
asked 2023-12-27T01:24:44.01+00:00
David Lerma 20 Reputation points
accepted 2023-12-27T20:06:13.4266667+00:00
David Lerma 20 Reputation points