336 questions with ASP.NET API tags

Sort by: Updated
1 answer

ActionResult<IEnumerable<Model>> vs IActionResult in ASP.NET Core WebAPI

Hello, What is the difference between ActionResult<IEnumerable<SpeakerModel>> vs IActionResult ? I ran both of them and got the same result. public IActionResult GetAll() { return Ok(SpeakersList); } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 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.
336 questions
asked 2024-10-03T07:36:52.1066667+00:00
Shervan360 1,541 Reputation points
answered 2024-10-03T15:30:13.3266667+00:00
Bruce (SqlWork.com) 64,901 Reputation points
1 answer

ASP.Net Com-InterOp WORD issue after hosting in windows server

I have created a C#(.Net framework) API to convert Word to PDF using interop.word.dll. I have installed MS Office 2016 on the server. However, even when no one is logged on the server, I am getting the below exception. "Retrieving the COM class…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,048 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.
336 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
922 questions
asked 2024-10-03T11:06:44.0166667+00:00
Murikkoli, Reshmi 0 Reputation points
answered 2024-10-03T12:49:02.29+00:00
AgaveJoe 28,131 Reputation points
1 answer

Request for Research Guidance and References

Dear Microsoft Team, I have recently completed an e-commerce project using ASP.NET Core API and Blazor. I am now looking to write a research paper on this topic. Could you please provide me with reference papers or resources that discuss the integration…

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,574 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.
336 questions
asked 2024-09-30T09:28:00.64+00:00
Ahmed Jawad 1 Reputation point
edited an answer 2024-09-30T22:19:19.7933333+00:00
Bruce (SqlWork.com) 64,901 Reputation points
2 answers

Error message while generating a controller in Dotnet ASP.NET Core

I'm trying to generate a controller in Dotnet ASP.NET Core by following the tutorial on https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model?view=aspnetcore-8.0&tabs=visual-studio-code, but when I use the command dotnet…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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.
336 questions
asked 2024-09-28T08:56:58.08+00:00
PEERAWAT SINGKRAM 0 Reputation points
commented 2024-09-30T02:22:18.2666667+00:00
JasonPan - MSFT 5,466 Reputation points Microsoft Vendor
0 answers

System.Runtime.CompilerServices.AsyncTaskMethodBuilder

Hi, I am getting the below mentioned error. Don't know why it was showing. I guess this comes due to I migrate the dotnet version from 6 to 8. can you resolve my issue? { "error": "Error getting value from 'Context' on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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.
336 questions
asked 2024-09-25T13:47:25.9333333+00:00
Stivin 0 Reputation points
commented 2024-09-27T05:50:17.7+00:00
Stivin 0 Reputation points
4 answers

Windows service HttpClient with HTTPS support

Hi.I have a **Windows service** that makes calls to an http web page via an **HttpClient **object. Now the website is HTTPS but when I call the https page it gives an "Unauthorized" error. I am using Visual Studio 2013 with .NET Framework 4.5.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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,904 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.
336 questions
asked 2024-08-20T15:23:18.29+00:00
39662036 0 Reputation points
edited a comment 2024-09-23T23:37:07.56+00:00
39662036 0 Reputation points
3 answers One of the answers was accepted by the question author.

Authenticate my own Blazor App with against my SSO-REST Backend

Hi, regarding to this blog https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/ I've successfully created a REST-API with Identity and SSO. But now I need my Blazor frontend to authenticate against this rest service. The blog…

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,574 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.
336 questions
asked 2024-09-13T08:27:44.94+00:00
Clemens Mattner 20 Reputation points
commented 2024-09-18T12:01:29.92+00:00
Clemens Mattner 20 Reputation points
0 answers

DriveItem AdditionalData Patch method with error in Graph Api

I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,995 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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.
336 questions
asked 2024-06-06T17:08:51.2033333+00:00
Bruno Bispo 0 Reputation points
commented 2024-09-18T08:30:23.8733333+00:00
Zeb Spalding 0 Reputation points
1 answer

How to hash a password in asp.net core and use it in a stored procedure

Hi there; There are a lot of examples of SQL stored procedures for User Validations (credential checks) but all of them the password is in text format which is bad security practice. The idea is to hash the password in the client side ( in this case is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 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,771 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.
336 questions
asked 2024-09-12T16:57:36.7066667+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2024-09-13T21:50:12.2766667+00:00
Greg Low 1,760 Reputation points Microsoft Regional Director
2 answers

How to check asp.net core hash password in stored procedure

Hi there; There are countless of SQL stored procedures examples that check plain text passwords which is a bad security practice. I initially used ASP.NET Core Identity so the password were hashed and saved in the datatabase, but not I want to use…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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.
336 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,636 questions
asked 2024-09-12T17:25:29.8433333+00:00
Jose Daniel Navarro Brito 61 Reputation points
answered 2024-09-13T01:16:25.39+00:00
SurferOnWww 2,816 Reputation points
2 answers One of the answers was accepted by the question author.

How to put an Asp.net Core Web API response in a Bootstrap message on the client side

Good day all: I'm struggling the following I have a ASP.NET Core web API that provides User registration as follows public async Task<IActionResult> RegisterUser([FromBody] NewUser user) { User appuser = new User() …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 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.
336 questions
asked 2024-08-22T08:01:05.3+00:00
Jose Daniel Navarro Brito 61 Reputation points
accepted 2024-09-12T16:37:12.1866667+00:00
Jose Daniel Navarro Brito 61 Reputation points
0 answers

I am trying to integrate .NET WEB API in .NET 4.7 Framework (acts as backend server) & WEB APP(act as frontend). But not able to connect WEB API to Azure SignalR

SignalR Connection Error: Error: Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected. this…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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.
336 questions
asked 2024-09-06T06:18:30.55+00:00
Abhishek Verma 0 Reputation points
commented 2024-09-10T13:12:05.1833333+00:00
AgaveJoe 28,131 Reputation points
2 answers One of the answers was accepted by the question author.

How can i generate a personal unique number for user?

Hello. i am creating a website for a courier in my local area and i want to be able to implement a feature. Once the users' registers, they will be given a personal unique id which can be used for one user only to keep track of their data from the…

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,574 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,771 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.
336 questions
asked 2024-09-08T20:56:19.2566667+00:00
A.haque 20 Reputation points
commented 2024-09-09T07:07:53.8833333+00:00
A.haque 20 Reputation points
1 answer

Intermittenty w3wp.exe terminating and recorver by itself. This interupte user connection to applicaiton.

I have a web application hosted in IIS. Intermittently my logon connect would fault causing user to re-logon again. Sometime user has to re-logon a few times a day. Investigating the issue, it's cause with w3wp.exe terminating. This happen…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,048 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.
336 questions
Microsoft Configuration Manager
asked 2024-09-04T15:49:08.3633333+00:00
DukeNN1 0 Reputation points
commented 2024-09-06T16:44:30.0533333+00:00
Lex Li (Microsoft) 5,582 Reputation points Microsoft Employee
1 answer

How to troubleshoot the exception, Could not create TLS secure channel?

Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 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,904 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.
336 questions
asked 2024-07-12T14:24:34.8133333+00:00
Kuler Master 266 Reputation points
answered 2024-09-05T16:48:06.3966667+00:00
Bruce (SqlWork.com) 64,901 Reputation points
2 answers

Error calling a Web API with self-signed ClientCertificate using HttpClient in .NET Core (IIS and Winforms using C#)

We are currently migrating our code from .NET 4.7.2 to NET 7 (.Net Core). Everything has been moved forward except one project that has to consume another company’s WebApi rest web service. When we were forced to interact with this company they were…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,889 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 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,904 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.
336 questions
asked 2023-09-03T21:58:31.0133333+00:00
Shane Vickery 5 Reputation points
answered 2024-09-05T12:43:52.1166667+00:00
Greyson Heun 0 Reputation points
4 answers

Cancel Request after press button

Hello, We are using MVC .NET Core framework 6 and we need to cancel or kill request after send. For example after press a button that execute some actions in oracle Database. We need to Cancel this request from another button. Is this possible? and if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,834 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 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.
336 questions
asked 2024-05-06T17:37:48.1266667+00:00
Ibrahim Shawky 20 Reputation points
answered 2024-09-04T00:30:24.0933333+00:00
Rahul 0 Reputation points
2 answers

ASP.Net Com-InterOp WORD issue after hosting in windows server

I have created an API in C#(.Net framework) to convert Word to PDf using interop.word.dll. I have installed MS Office 2013 on the server. But no one is logged on the server I am getting the below exception   "Retrieving the COM class factory for…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
695 questions
Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
840 questions
Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,048 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.
336 questions
asked 2024-09-01T04:45:31.2966667+00:00
Murikkoli, Reshmi 0 Reputation points
answered 2024-09-01T09:29:38.82+00:00
AgaveJoe 28,131 Reputation points
2 answers

How to Implement Microsoft Authenticator in Apps like ASPNET Web

We have application projects and we have idea to implement OTP Microsoft Authenticator in our apps. On the login request there will be authentication using OTP without password. Our Apps using ASP.NET web based. And in our company had implement…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,482 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,666 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.
336 questions
asked 2024-08-29T14:02:00.0033333+00:00
Henokh Arief (PKWT) 0 Reputation points
commented 2024-08-30T06:12:46.6133333+00:00
Lan Huang-MSFT 29,331 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,551 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.
336 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,750 questions
asked 2023-01-12T17:17:38.88+00:00
Jkuhl 35 Reputation points
commented 2024-08-28T11:33:44.94+00:00
nik 0 Reputation points