sspirit
✅ Deployment for ASP.Net Core Web API
My web application stack is Angular on frontend and asp.net core web api at backend. Any suggestions which platform I can use to deploy for free? Because this is just a showcase project for a student client. Any references to a tutorial or videos are appreciated
3 replies
✅ EF Core Relationship
I have 3 different models call Owner, Products and Warranty.
The relationship between them is that Products can be created independently, so when a user purchase a product Owner table will have foreign key ProductsId inside it. During product purchase a new Warranty is created so OwnerId will be a foreign key in Warranty table.
How do I declare this in model and the relationship at ApplicationDbContext? I'm having trouble due to wrongly created model and unable to submit the form from my Angular application.
Model become more complex after implementing navigation property which now makes me unable to create a Owner
39 replies