Skip to content

Magenaut

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

asp.net-core

Issue adding reference to class library project in ASP.NET 5 (Core)

August 30, 2022 by Magenaut

Hi firstly i know vaguely similar questions have been asked before, but they are outdated now, I am using Visual Studio 2015 rtm and ASP.NET 5 beta 6.

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

.Net Core 2.1 – Cannot access a disposed object.Object name: ‘IServiceProvider’

August 30, 2022 by Magenaut

I just migrated .NET Core 2.0 to .NET Core 2.1. Everything went fine, but when I try to login now I get the folowing error:

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

How to add Mime Types in ASP.NET Core

August 30, 2022 by Magenaut

When developing an application using .NET Framework 4.6 (MVC4/5), I used to add custom mime types in the web.config file, like this (this is the actual mime types I need to add in my app):

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

How to use NPM and install packages inside Visual Studio 2017?

August 30, 2022 by Magenaut

I have a simple Visual Studio solution, running ASP.NET Core v2 and building a React app.

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

Is it possible to reference .net framework 4.7.2 class library from an ASP.NET Core MVC project?

August 30, 2022 by Magenaut

I have an ASP.NET MVC 5 project which works well and it also references a .NET Framework 4.7.2 Class library which produces some CrystalReports. CrystalReports does not support .NET Core, so the class library will stay with full .NET Framework.

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

Form key or value length limit 2048 exceeded

August 30, 2022 by Magenaut

I am using asp.net core to build API. I have a request that allow user to upload profile image using this code

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

Access App key data from class libraries in .NET Core / ASP.NET Core

August 30, 2022 by Magenaut

To access App Keys in a class library, do we need to do the following code in every class library and class where we need to access a AppKey?

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

How to remove the redirect from an ASP.NET Core webapi and return HTTP 401?

August 30, 2022 by Magenaut

Following the answer on this question, I have added authorization on everything by default, using the following code:

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

How do I apply the OutputCache attribute on a method in a vNext project?

August 30, 2022 by Magenaut

What is the correct way of using the following in a vNext application on an async method:

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

HttpClient in ASP.NET 5.0 not found?

August 30, 2022 by Magenaut

Using VS2015 and asp.net 5, when I try to compile my site using an instance of System.Net.HttpClient, it tells me:

Categories ASP.NET, Q&A Tags .net, asp.net, asp.net-core, c#, dnx Leave a comment
Older posts
Newer posts
← Previous Page1 … Page32 Page33 Page34 … 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