Skip to content

Magenaut

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

asp.net-core

Returning CSV from .NET Core controller

August 27, 2022 by Magenaut

I’m having trouble having a .NET Core API Controller endpoint resolve to a CSV download. I’m using the following code which I pulled from a .NET 4.5 controller:

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

How can versioning be done in ASP.NET Core Web Api

August 27, 2022 by Magenaut

In previous asp.net web api, I implement DefaultHttpControllerSelector to specify how I want the request to locate my controller. I often have different controllers with different names but intended for same processes. The only difference is that one is of higher version than the other.

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

No authentication handler is configured to handle the scheme: Automatic

August 27, 2022 by Magenaut

I updated ASP.NET 5 framework beta-8 packages with RC ones on previously working application. After I got it running next error occured in the startup process:

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

Asp.net Core localization with json files

August 27, 2022 by Magenaut

I’m trying to find a good tutorial about asp.net localization. In the official documentation, the explanation are about .resx files and I want to use json files. If someone have a good tutorial on how to write the middleware to do that. Thanks Answers: Thank you for visiting the Q&A section on Magenaut. Please note … Read more

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

How can i configure JSON format indents in ASP.NET Core Web API

August 27, 2022 by Magenaut

How can i configure ASP.NET Core Web Api controller to return pretty formatted json for Development enviroment only?

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

Select box binding in blazor

August 27, 2022 by Magenaut

I am trying to bind CountryId in the model to the value of a selected item of SelectList in Blazor. All of the Country items come in a list like {CountryId, CountryName} object. I do the code like so:

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

How to use jquery in ASP.​NET Core

August 27, 2022 by Magenaut

I created a ASP.NET core template and wrote a jquery script. When I look at the page I see that jquery is loaded into the page, but the script doesn’t run. I looked at the ASP.NET docs page and my layout.cshtml looks the same, so are there extra steps I must take to get jquery working?
How to use jquery in ASP.​NET Core
Home page

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

Unable to track an entity of type because primary key property ‘id’ is null

August 27, 2022 by Magenaut

After I upgraded to Asp.Net Core 3.0 I am getting the following error for my Identity class when attempting to create a user:

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

ASP.NET Core 404 Error on IIS 10

August 27, 2022 by Magenaut

I have a problem with ASP.NET Core web application running on IIS 10.
I am developing a Single Page Application with AngularJS.

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

How to include XML comments files in Swagger in ASP.NET Core

August 27, 2022 by Magenaut

I need Swagger generate API documentation include UI to test operations.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, c#, swagger-ui Leave a comment
Older posts
Newer posts
← Previous Page1 … Page39 Page40 Page41 … 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