Skip to content

Magenaut

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

asp.net-core

Cannot consume scoped service ‘MyDbContext’ from singleton ‘Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor’

September 1, 2022 by Magenaut

I’ve build a background task in my ASP.NET Core 2.1 following this tutorial: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-2.1#consuming-a-scoped-service-in-a-background-task

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

IFormFile is always empty in Asp.Net Core WebAPI

September 1, 2022 by Magenaut

I have a problem here when I am trying to push data with angularjs controller. But what ever I do (IFormFile file) is always empty. There are only some examples with razor syntax but no examples how to do it with angular or jquery.

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

ASP.NET Core Localization with help of SharedResources

September 1, 2022 by Magenaut

Hi I have a question about the SharedResources file. It is glanced over in the tutorial here: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization, and I’m not sure if I get it correctly.

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

Nesting TagHelpers in ASP.NET Core MVC

August 31, 2022 by Magenaut

The ASP.NET Core TagHelper documentation gives the following example:

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

No executable found matching command dotnet-projectmodel-server

August 31, 2022 by Magenaut

I’m getting this error when opening .NET Core projetcs in VS 2015 Community:

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

ASP.NET 4.5 throws 502.5 as a virtual application in Azure Web App under a ASP.NET Core 2.0 application

August 31, 2022 by Magenaut

This IS a duplicate from “Running MVC Web app targeting .net 4.6.1 in a virtual directory under a ASP.NET core web app. Is it possible?” but it is not resolved and OP said he solved it by creating an additional app. So I post it again.

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

Can System.Web be used with ASP.Net Core with Full Framework

August 31, 2022 by Magenaut

We are running serveral sites based on different .Net versions.

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

Run ASP.NET 5 (MVC 6) using .NET Core on IIS

August 31, 2022 by Magenaut

I have just created a quick ASP.NET 5 MVC 6 app on Visual Studio.NET 2015 RC and would like it to run on my IIS web server on Windows 7.

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

C# ASP.NET Core Serilog add class name and method to log

August 31, 2022 by Magenaut

I recently added logging to my ASP.Net Core project. Currently the log writes to a .txt file in this format:

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

Equivalent of Html.RenderAction in ASP.NET Core

August 31, 2022 by Magenaut

I am trying to switch to ASP.NET Core from my small ASP.NET MVC 4 application.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-mvc, renderaction Leave a comment
Older posts
Newer posts
← Previous Page1 … Page29 Page30 Page31 … 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