Do navigation properties have to be explicitly set in EF Core?
So let’s say I have two models:
So let’s say I have two models:
I previously asked this question but it was closed for duplication owing to this thread (SignalR – Sending a message to a specific user using (IUserIdProvider) *NEW 2.0.0*) – but this doesn’t show the JavaScript as made clear in my title.
Hi I’m trying to build my first API wit ASP.net Core and have been following this tutorial: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-3.1&tabs=visual-studio
I use a model class to create an object. My code works well but it has code repeat. imagine this code below: ModelA objectA = new ModelA { x = A-B <= 0 ? 0 : A – B, y = C – D > 0 ? C-D : int.MinValue }; This code below creates … Read more
NET MVC web application with connection to database (Postgresql) and I have to deploy it to Heroku. Do I have to migrate this project to ASP.NET Core somehow or it is possible to deploy as it is?
I have .NET Core back end, that receive DTO as form-data.
I’m trying to figure which way is the best way of storing data acessible only for the user that is logged in.
I am trying to call webservice through httpwebrequest. Successfully added XML document and headers but still getting error Internal Server Error 500 . Same xml doc copied from debugging mode is working fine on postman. My code is
I am developing a database using a code-first approach with entity framework.