Skip to main content

All Questions

0 votes
1 answer
808 views

Routing from an angular front end to an asp.net core 3.1 backend

So here is my backend .csproj. Im doing a front end spa in angular connecting to my backend in memory database. I can connect to my database from the URL of my back end application like in the image. ...
Nuno Marques's user avatar
1 vote
1 answer
1k views

How to get access to Role of CurrentUser in angular UI ? using Abp v2.9

Currently I am using ABP version 2.9 (DonetCore, Angular, Mongo) project template. I need to have a logic to redirect user to different path based on user ROLE. What I see from the source [here], ...
Harry Sarshogh's user avatar
-1 votes
1 answer
658 views

Http Post to a .NET Core 3.1 C# controller from Angular 8 component

I am attempting to post a string from my angular component into my C# controller. I am able to call the method in my controller but the string passed in is always null. Controller [Route("[...
PerkCity22's user avatar
1 vote
1 answer
79 views

is there a way to set default custom routes for asp.net core with angular project template

I am using asp.net core 3.1 with angular template and am trying to make a website that automatically re-routes to the root of the website appended by 5 random letters (like discord in a way) for ...
Kanna Kim's user avatar
1 vote
0 answers
335 views

How to target Clientapp file if its outside currentdirectory ASP.NET CORE WEB API ANGULAR 8

How do I make my webApi run my client app if the folder is outside the webapi folder ? /repos/project/webApplication is the main folder , inside it has two more. The webapi vs project /repos/...
MMilanov's user avatar
  • 164
1 vote
1 answer
2k views

Angular SPA on .NET Core 3.0 Web API Connection issues

I made an API with a swagger interface, on localhost:5599. If I do a GET to localhost:5599/api/owner i get a JSON of owners, everything works. Next step I want to take is make an Angular interface, ...
BHANG's user avatar
  • 354
0 votes
2 answers
3k views

Angular select value string parsing to integer

I am trying to fetch selected value from angular select control to an Asp.net Core 3.0 WebApi. when i debugged i found that, the selected value is in string format, but my data model accept integer. I ...
knowledge seeker's user avatar
4 votes
1 answer
4k views

Upload File(s) with Additional Information (Angular 8 to C# Core 3)

I finally figured out how to upload files from Angular 8 frontend to C# .Net Core 3.0 backend API Controller. But to get what I fully need, I also have a class that defines the file contents (e.g. # ...
Chris's user avatar
  • 355
0 votes
0 answers
58 views

In a .NET Core 3.0 Angular Project, what's the standard for exporting form control values into a docx form?

I have a .NET Core 3.0 project, building an Angular web app. This app has a fairly complicated form system. In the past this form was actually housed inside of Access, and then VB was used to dump ...
Adam Raetz's user avatar
3 votes
1 answer
3k views

ASP.NET Core 3 - Angular SPA PWA

I'm trying to create an Angular SPA in ASP.NET Core 3. So I started a new project, used the Angular template and updated all packages to version 8.2.9 of Angular. So far so good, got a nice CI/CD ...
Eduard Keilholz's user avatar
0 votes
0 answers
2k views

Nesting mat-menu in child Component: Can't bind to 'matMenuTriggerFor' since it isn't a known property of 'button'

I can't get mat-menu working in a Angular with asp.net core 3.0. I'm using the template from visual studio: asp.net core 3.0 + angular with individual user accounts. Tried the code directly in my ...
QuanDar's user avatar
  • 1,355
2 votes
2 answers
4k views

Login to Angular SPA with asp .net core 3 API without redirect outside of SPA

I have been looking into making an Angular SPA with dot net core 3 back end for API calls, I would like to secure the API and SPA with a login. In all the examples I have found (such as the new core ...
JensB's user avatar
  • 6,791
3 votes
1 answer
3k views

identity server with plesk: Couldn't find a valid certificate with subject 'CN=SigningCertificate'

Im working with a web hosting server and they have a plesk interface. I'm getting an error when I try to deploy my asp net core api with angular. Actually it is a basic net core 3.0 template with ...
Cem's user avatar
  • 357
4 votes
1 answer
549 views

Keeping login/registration in JS, not razor views when scaffolding Core 3 project with Angular

Also happens with react and scaffolding a new project in VS. Any login/registration uses razor layout/views and everything else uses angulars. New to angular, but having 2 versions of a sites layout ...
VirtualLife's user avatar
6 votes
1 answer
1k views

Model binding stopped working after migrating from .NET Core 2.2 to 3.0-preview-9

I have an Angular front-end app and an ASP.NET Core back-end app. Everything was fine until I decided to migrate from ASP.NET Core 2.2 to 3.0-preview-9. For example, I have a DTO class: public class ...
Dusan Radovanovic's user avatar

15 30 50 per page