Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

asp.net

Do navigation properties have to be explicitly set in EF Core?

September 4, 2022 by Magenaut

So let’s say I have two models:

Categories ASP.NET, Q&A Tags asp.net, entity-framework Leave a comment

How to allow JavaScript to receive a message sent to a specific user (or self) using Signal R?

September 4, 2022 by Magenaut

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.

Categories ASP.NET, Q&A Tags asp.net, javascript, jquery, signalr Leave a comment

ASP.NET Core Web API unsupported Media type

September 4, 2022 by Magenaut

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

Categories ASP.NET, Q&A Tags api, asp.net, c# Leave a comment

c# How to optimize repeated codes on inline if statement

September 4, 2022 by Magenaut

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

Categories ASP.NET, Q&A Tags asp.net, c#, conditional-operator, model-view-controller, optimization Leave a comment

ASP.NET MVC web application deployment to heroku

September 4, 2022 by Magenaut

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?

Categories ASP.NET, Q&A Tags asp.net, c#, heroku, model-view-controller Leave a comment

Send data as multipart/form-data

September 4, 2022 by Magenaut

I have .NET Core back end, that receive DTO as form-data.

Categories ASP.NET, Q&A Tags angular, asp.net, asp.net-core, multipartform-data Leave a comment

User data in MVC

September 4, 2022 by Magenaut

I’m trying to figure which way is the best way of storing data acessible only for the user that is logged in.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-mvc Leave a comment

Unable to consume web services using c# but working on postman

September 4, 2022 by Magenaut

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

Categories ASP.NET, Q&A Tags asp.net, c#, postman, web-services, webrequest Leave a comment

Is it possible to merge a image1.gift and image2.jpg with .net or javascript?

September 4, 2022 by Magenaut

I want to merge two Images one of them is gif like this:
Is it possible to merge a image1.gift and image2.jpg with .net or javascript?

Categories ASP.NET, Q&A Tags asp.net, javascript, plugins, web Leave a comment

Entity Framework – Code First – Foreign Key Constraint

September 4, 2022 by Magenaut

I am developing a database using a code-first approach with entity framework.

Categories ASP.NET, Q&A Tags asp.net, c#, ef-code-first, entity-framework Leave a comment
Older posts
Newer posts
← Previous Page1 … Page70 Page71 Page72 … Page944 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress