Skip to content

Magenaut

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

asp.net-core

How do I properly serve images from the wwwroot to razor pages in a “Page” subfolder?

September 3, 2022 by Magenaut

I have a JavaScript function that creates a fading slideshow. It uses images in the directory:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, c#, razor-pages, visual-studio-code Leave a comment

Consistent input model validation error reporting

September 3, 2022 by Magenaut

Let’s say I have the following input model:

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

Upload File in ASP.NET MVC 6

September 3, 2022 by Magenaut

I’m having trouble ironing out the file/image upload in ASP.NET MVC 6. Most tutorials appear to be outdated, and even some of the new ones seem to reference things that don’t make sense.

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

Asp.net core WebAPI route with optional parameter only not working

September 3, 2022 by Magenaut

I’m trying to create a GET-Route which takes 4 optional Parameter. There are no required Parameter.

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

Using System.IO.MemoryStream to handle relatively large zip archives

September 3, 2022 by Magenaut

I’m fairly new to System.IO streams, and are therefore not entirely sure when and how I should use the different streams.

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

Passing selected dropdown string value from table in view to controller

September 3, 2022 by Magenaut

I’m working on ASP.NET Core web application where I have a table in my view that displays all requests. each record with drop-down populated with all analysts successfully from my database, So the manager can assign the analyst from drop-down then approve the request.

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

Get an object from a service to allow test to run using xUnit and Moq

September 3, 2022 by Magenaut

This is probably due to my lack of understanding as I’m new to xUnit and Moq but I’m trying to test a post method in my controller, however in the controller, I have this line of code:

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

Are there a way to block queries that come to another server?

September 3, 2022 by Magenaut

I made a Json web token to protect my services but now somebody has made a lot of queries on my data base using my login service. Are there a way to block queries that come to another server?

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

Calling Twilio Voice API with Blazor

September 3, 2022 by Magenaut

I am working on a project with blazor server and I am trying to make a voice call using Twilio.

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

External login not working Identity server 4 asp.net core

September 3, 2022 by Magenaut

External service configuration not working with identity server 4.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-identity, c#, identityserver4 Leave a comment
Older posts
Newer posts
← Previous Page1 … Page20 Page21 Page22 … Page47 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