Skip to content

Magenaut

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

.net-core

Authentication failed because the remote party has closed the transport stream in localhost when using https

September 4, 2022 by Magenaut

First of all, I use .net core 2.1 to develop a single page application(angular 5). Following the link
https://www.hanselman.com/blog/DevelopingLocallyWithASPNETCoreUnderHTTPSSSLAndSelfSignedCerts.aspx

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

If a nuget Package is .Net Standard 2.0 supported then can we use that package in asp.net as well as asp.net core?

September 3, 2022 by Magenaut

I am working on the migration of asp.net app to .net core , I have only list of packages(Not the code) used so need to know that if a package is .Net Standard 2.0 supported then the same package can be used in .net core 3.0?

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

IsCancellationRequested is always false

September 3, 2022 by Magenaut

I am calling same function in parallel using Task.Whenall().I And am trying to add functionality to stop execution using CancellationTokenSource .
CancellationTokenSource return true when I call Token.Cancel() but afterwards it changes to false and therefore token.IsCancellationRequested is always false.

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

Download file through WebApi returns JSON

September 3, 2022 by Magenaut

I’m using Visual Studio 2019, WebApi project, .NET Core 3.1

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

In .net core how to download a static file with special extension in web root?

September 3, 2022 by Magenaut

After reading this article and this one can not handle Serve files in web root (.net core 3.1).

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

Dotnet-core defaulting to 2.0 framework ubuntu

September 3, 2022 by Magenaut

I am intergrating a c# project to use AWS codebuild with a ubuntu linux OS. All target frameworks are 3.1. For some reason when running this on AWS codebuild it looks for 2.0? When following the link it throws to resolve the error Microsoft clearly states to use 3.1

Categories ASP.NET, Q&A Tags .net-core, amazon-web-services, asp.net, aws-codebuild, c# Leave a comment

The type UserDBContext cannot be used as a type parameter ‘TContext’ in the generic type of method ‘AddApiAuthorization’

September 3, 2022 by Magenaut

I’m trying to set up Authorization using Identity for my React ASP.NET Core app. I’m following the ASP.NET Core docs: Docs

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

A named connection string was used, but the name ‘tumoDB’ was not found in the application’s configuration. .Net core 3.0 REST API

September 3, 2022 by Magenaut

Hi Could you please assist,i have run a scafold from my database using the below PM command and it works fine and the DB context is created.

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

Dapper only returns Null values

September 3, 2022 by Magenaut

I am facing a problem using Dapper.
I have two models:

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

The type or namespace name ‘Application’ does not exist in the namespace ‘WebApplication1.Models’

September 3, 2022 by Magenaut

Hi I am new to Net Core and I am following this tutorial from PragimTech. In extending IdentityUser Part(77) of tutorial when I create new Class for ApplicationUser in order to extend from IdentityUser I face a Compile error saying

Categories ASP.NET, Q&A Tags .net-core, asp.net, asp.net-core, asp.net-mvc, c# Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page7 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