Skip to content

Magenaut

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

asp.net-core-webapi

async-await in asp.net core web api (not MVC)

September 5, 2022 by Magenaut

I have this http post controller method to insert a new text message to db. Here I want to change this method to async method. I tried but still couldn’t do it. Can anyone help me? 🙂

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

Polymorphic Model Binding with Generic Type Parameter

September 5, 2022 by Magenaut

I have models like this:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-3.1, asp.net-core-webapi, c# Leave a comment

.Net Core Api cannot access original value on model validation failures

September 5, 2022 by Magenaut

I cannot access the original value that didn’t pass the model validation. I would suspect AttemptedValue and/or RawValue in ModelStateEntry to contain the original value, however both properties are null.

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

.NET 5 storing sensitive data

September 4, 2022 by Magenaut

I have .Net Web API service that has the opportunity to save SQL integration.
For ex.:

Categories ASP.NET, Q&A Tags .net, asp.net, asp.net-core-webapi, azure-keyvault, c# Leave a comment

How to connect Django and .net core project as a single application?

September 4, 2022 by Magenaut

I want to connect Django project and .NET core project because I want it take advantage of good library available in python so I will make one strong .NET core project.so through some lite on it.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-webapi, c#, django, python Leave a comment

Custom Authorization Attribute Fails To Work When Entered JWT Token in Request Header

September 4, 2022 by Magenaut

The code gives 401 Unauthorized response when I send a request without JWT token. everything looks good up to this point.

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

ERROR DI (AggregateException: Some services are not able to be constructed)

September 4, 2022 by Magenaut

I beginner in .NET , I learn to follow tutorial but I Have this Message error when run program

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

400 badrequest when passing int instead string in web api .net core 3.1

September 4, 2022 by Magenaut

I need custom message for my request.

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

How to check existing in DB for any matching Room, BookDate and RoomId?

September 4, 2022 by Magenaut

How to check if there exists an entry in the database? Debugging shows that the result returns null.

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

DinkToPdf including image in HtmlContent

September 4, 2022 by Magenaut

I have a pdf invoice created using .Net Core 3 Web API and DinkToPdf library.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-webapi, c#, dinktopdf Leave a comment
Older posts
Page1 Page2 Page3 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