Questions tagged asp.net-core-webapi

Explore the latest questions and answers asked by our top developers.

How can I improve the performance of ngx-datatable with large volumes of records?

I am using ngx-datatable to load large volumes of records. However, the larger the volume, the longer it takes. I read somewhere that you can speed it up by sorting then assigning it to the data source. Could someone please assist me with finding the best way to improve the performance of this process? recipient.component.html […]

By KP257
Published
Categorized as angular, asp.net-core-webapi, c#, http, typescript Tagged , , , ,

mat-paginator ‘NextPage’ not working (Angular 12 & .NET Core Web API) Server Side Pagination

I had to implement server side pagination in my project. The itemPerPage is working fine. But, the navigation buttons (nextPage & previousPage) are not working at all. I have tried in every possible ways from various blogs & tutorials, but I failed. I am a newbie in Angular, please let me know if I have […]

How should we create a power point presentation and download the same in Angular 8 and Web API(C#) in backend

How should we create a power point presentation based on values from database and download the same with Angular 8 in frontend and Web API(C#) in backend Source: Angular Questions

ASP.NET Core and Angular : invalid operation error on submitting form

I have a form created in Angular 12 and ASP.NET Core Web API. Here is controller portion: Controller Here is sample html: part of html Here is the component: component part And my service: sample service Output: output in browser Although service class shows data in json format submitted via form and component. On submitting […]

By Sami
Published
Categorized as angular, asp.net-core, asp.net-core-webapi Tagged , ,

angular asp.net core invalid operation error on submitting form

I have a form created in angular 12 and web api created web api created in asp.net core. On submitting form it hits the web api but does not show anything in Request object. Request.query, querystring all as null, Request.Form shows ‘Invalid operation exception’ Although service class shows data in json format submitted via form […]

By Sami
Published
Categorized as angular, angular10, asp.net-core-webapi Tagged , ,

Enable SSR in Web API Core ? Angular universal and Asp.Net Core Web Api

Our project consists mainly with two parts WEB API Core for back end and Angular 9 for front, currently we are trying to enable SSR(Server side rendering) in our project. I have been trying to find out some information regarding Angular Universal and Web Api core, but could not find . All what i have […]

Angular Response error : SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse

I want get my data from an API. The API itself works fine in postmap like this : { "status": "Success", "data": [ { "title": "asus g551 vw", "price": 500, "image": "https://localhost:44345/images/products/origin/img1.jpg", "count": 2 }, { "title": "asus vivobook", "price": 1200, "image": "https://localhost:44345/images/products/origin/img1.jpg", "count": 2 }, { "title": "acer predator", "price": 200, "image": "https://localhost:44345/images/products/origin/img1.jpg", "count": […]

ASP.NET CORE 5.0 with Angular 12 SPA

Trying to run Angular app independently – ng serve .. it comes to the standard following : Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** I changed in .NET PJ (ASP.NET CORE 5.0) in startup.cs // spa.UseAngularCliServer(npmScript: "start"); spa.UseProxyToSpaDevelopmentServer("http://localhost:4200"); If I run in VS it works fine with URL […]

By abx222
Published
Categorized as angular, asp.net, asp.net-core-webapi Tagged , ,

Angular 12 application timeout issue

I have an Angular 12 application that calls a .NET 5 Web API. If there is no activity for a period of time, the application becomes non-responsive and needs to be restarted. It seems like a timeout issue but I can’t find anything that would cause it. Can you please give me suggestions of what […]

By LanceM
Published
Categorized as angular, asp.net-core-webapi Tagged ,

.NET 5 Web API response times not consistent

I have an Angular 12 app that calls a .NET 5 Web API. The response time of the first call is initially slow (1-2 seconds) but then becomes quick (500ms). The response times remain quick but if there is a period of 10 seconds or more of inactivity, then the response times become slow (3-4 […]

By LanceM
Published
Categorized as angular, asp.net-core-webapi, azure Tagged , ,
1 10

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq