297 questions with ASP.NET API tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

WebAPI Get autogenerated ID of a just created (posted) record

Good afternoon, I have a web API running just fine and a Xamarin forms app on top of it. There I want to create 1:N relation which is fine in the model but I have the following problem: (I don't want to post all the code here so I bring it down to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 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.
297 questions
asked 2021-04-09T12:13:21.32+00:00
Ricardo Enrico Jahn 116 Reputation points
commented 2021-04-16T14:48:04.073+00:00
Ricardo Enrico Jahn 116 Reputation points
1 answer

Caching Token in SOAP-based Web Service

I developed a SOAP-based web service for internal consumption. It takes a SOAP-based web request and converts it to a JSON-based external, third-party RESTful web API request. It then takes the JSON-based external, third-party RESTful web API response…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,377 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,256 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,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.
297 questions
asked 2021-02-25T05:05:00.987+00:00
Julio Bello 221 Reputation points
answered 2021-03-26T14:29:10.253+00:00
Pranam K 6 Reputation points
1 answer

how to create api to get orders from Shopify and post to my database

I want to build an api , where I should be able to get list of new orders from shopify each time an order is created in shopify and post that order details into my database. I have a rough idea on api, but not sure how to start to work on it. Can…

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.
297 questions
asked 2021-03-24T03:55:28.997+00:00
durga valliammai 21 Reputation points
answered 2021-03-25T03:01:57.473+00:00
Yihui Sun-MSFT 801 Reputation points
2 answers

Event code: 3005 An unhandled exception has occurred.

Hi all I keep getting a warning which I don't understand how to get rid off. The warning goes like this & frequently stop my website. Event code: 3005 Event message: An unhandled exception has occurred. Event time: 3/18/2021 3:40:11 PM Event time…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,167 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,372 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,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.
297 questions
asked 2021-03-18T12:06:45.947+00:00
Himanshu Gupta 1 Reputation point
answered 2021-03-18T18:11:12.897+00:00
Duane Arnold 3,211 Reputation points
0 answers

Need Help on ASP.net WEBAPI 2 with Jquery with Azure AD Authentication

Hi All, I was trying to do some POC on the Jquery/ Angular JS as FrontEnd and ASP.net WebAPI 2 (not Asp.net COre) as the middleware and it should be Authenticated with Azure Ad credentials. I am able to login to the UI and API individually, however…

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.
297 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,476 questions
asked 2021-03-09T06:51:13.54+00:00
sai ray 1 Reputation point
commented 2021-03-15T16:15:44.823+00:00
JamesTran-MSFT 36,371 Reputation points Microsoft Employee
2 answers

Recording Web Test For MS Dynamics

Hi, I am recording web test for Ms Dynamics using Fiddler. While recording a series of navigation in term of creation of Entity record. I am seeing many api call such as: /api/data/v9.0/GetClientMetadata /api/data/v9.0/roles …

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.
297 questions
asked 2021-02-02T03:00:26.177+00:00
HAN MING ONG 21 Reputation points
commented 2021-02-19T15:26:53.943+00:00
Yihui Sun-MSFT 801 Reputation points
2 answers

ASP.Net: isSpecified convention for JSON

I have an ASP.Net webservice, that uses XML as the input and output format for its API. I am using the PropertySpecified convention. If, for example, my XML contains a <FirstName> tag, my POCO will contain that tag's value, and the POCO's…

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.
297 questions
asked 2021-02-11T11:53:26.12+00:00
André Nobrega 1 Reputation point
commented 2021-02-16T15:40:03.577+00:00
Yihui Sun-MSFT 801 Reputation points
2 answers

HttpClient.PostAsync - System.Net.Http.Formatting exception

I am running a .NET Standard 2 project. I have added the Microsoft.AspNet.WebApi.Client (5.2.7) package. My call to HttpClient.GetAsync are working fine, but as soon as I try HttpClient.PostAsync, HttpClient.PostAsJsonAsync (or event the PutAsync…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,167 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.
297 questions
asked 2021-02-13T11:55:39.693+00:00
Craig Muckleston 161 Reputation points
answered 2021-02-14T13:15:42.71+00:00
Duane Arnold 3,211 Reputation points
2 answers

ASP.NET Web API Error: "Attempted to divide by zero" when parameters exceed 29

Using VS 2019 c# 4.8 I have an API containing a lot of parameters as a test. It seems if I exceed 29 parameters I will get this error: Exception Details: System.DivideByZeroException: Attempted to divide by zero. Source Error: Line 18: …

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.
297 questions
asked 2021-02-06T23:23:18.713+00:00
moondaddy 911 Reputation points
answered 2021-02-08T07:50:30.077+00:00
Yihui Sun-MSFT 801 Reputation points
1 answer

How to call web method in asp.net application

Greetings, have designed asp.net application , Requirement : I have designed web method name "test()" on default.aspx page , want to call on using ajax. Solution required : how can I call this method from client side using ajax…

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.
297 questions
asked 2021-02-05T18:42:33.097+00:00
Mohammad Qasim 576 Reputation points
answered 2021-02-08T06:21:31.693+00:00
Yihui Sun-MSFT 801 Reputation points
1 answer One of the answers was accepted by the question author.

Caching Web Method Response by Request ID

I developed a SOAP-based web service. I wish to log every request. I also wish to cache its response by its request ID, which is distinctly unique. Should the request be repeated within the hour, I want it to return the cached response. My…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,256 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,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.
297 questions
asked 2021-02-03T03:24:56.817+00:00
Julio Bello 221 Reputation points
accepted 2021-02-03T06:27:10.727+00:00
Julio Bello 221 Reputation points
2 answers

Asp.Net Web API : Call Back Handler

Hi, I am looking on how to implement a CallBack Handler to a Web API Controller. I basically need to process the response send back by my external client. I basically want to call the WebAPI controller from my portal so that I can place/initiate a…

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,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.
297 questions
asked 2021-01-15T03:06:57.043+00:00
Soni Samuel Panackacheril 61 Reputation points
commented 2021-01-21T10:29:01.917+00:00
Yihui Sun-MSFT 801 Reputation points
1 answer

Asp.net web Api with ODATA returns 406 Not Acceptable

I am trying to implement a web API endpoint that returns ODATA. But when I am trying to hit the endpoint the code in the method was executing successfully but getting 406 Not Acceptable error. Below is my code Controller: using…

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.
297 questions
asked 2021-01-19T07:44:42.123+00:00
Tarun Dhoddi 1 Reputation point
commented 2021-01-21T08:53:47.427+00:00
Jerry Cai-MSFT 986 Reputation points
2 answers One of the answers was accepted by the question author.

Unable to access HTTP based Web Api from HTTPS based SharePoint site

My site collection is accessible as: https://myserver/sites/cfp I have a Web API with just one method which is accessible as: http://localhost:10000/api/CFP/GetCustomerName I can access the above API using Jquery/Ajax from an HTML page as well as…

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,221 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.
297 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,573 questions
asked 2020-12-21T11:25:13.91+00:00
Frank Martin 431 Reputation points
commented 2020-12-23T01:26:13.8+00:00
Baker Kong-MSFT 3,791 Reputation points
0 answers

Get the data for Custom Fields in Project for the web

Hi, We are trying to report on project for the web data in which we use custom fields. We are getting the data using odata webapi. We cannot find in which api call the data is present. I tired to connect to cds database using sql server and…

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.
297 questions
asked 2020-12-16T12:02:52.6+00:00
Manasa Chimmani 6 Reputation points
3 answers One of the answers was accepted by the question author.

best practice to configure baseaddress URI in MVC Core

Hi I have created an MVC and Web Api project. When consuming web Api endpoints I am using the complete Uri as showing below. string apiUrl = "http://localhost:57025/api/Mypage; ON every single data class I am keep adding the full uri…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,167 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.
297 questions
asked 2020-12-02T01:24:39.33+00:00
Aamiz 21 Reputation points
accepted 2020-12-05T02:49:42.207+00:00
Aamiz 21 Reputation points
1 answer

ASP.NET 4.8 WebAPI - streaming large file upload fails with HTTP 2

Hello, I have problems with streaming large file upload in ASP.NET 4.8 Web API project. I'm using custom WebHostBufferPolicySelector to disable buffering of input stream (as described 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.
297 questions
asked 2020-11-27T09:22:30.773+00:00
David Klingenberg 1 Reputation point
answered 2020-11-30T09:33:00.537+00:00
Yihui Sun-MSFT 801 Reputation points