Skip to content

Magenaut

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

asp.net-core

asp.net CORE Migrations generated empty

August 24, 2022 by Magenaut

I’m trying to follow a tutorial to add a migration(a second one) generated from IdentityDbContext and IdentityUser .

When I run dotnet ef migration add <NAME> it being add, but UP and DOWN are empty.

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

Asp.Net 5 (core) RC1: How to log to file (rolling file logging) [DNX Core 5 compatible solution]?

August 24, 2022 by Magenaut

How can I log to file in Asp.Net 5 RC1? I couldn’t find any solution with Microsoft.Extensions.Logging. Is there any solution which is compatible with .Net Core 5 (DNX Core 5.0)? I also was trying to use Serilog but Serilog doesn’t support core 5 yet.

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

ASP.NET 5 (vNext) web project: library conflict upgrading from beta4 to beta6

August 24, 2022 by Magenaut

I upgraded DNVM with dnvm upgrade -Unstable. Running dnvm list shows this to be active: 1.0.0-beta6-12120.

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

Model bound complex types must not be abstract or value types and must have a parameterless constructor

August 24, 2022 by Magenaut

I have the following problem, I created an application to add game categories and the games themselves to the database. I created a relationship and unfortunately when I add to the database I get an error.

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

Is it safe to use HttpClientFactory?

August 24, 2022 by Magenaut

In my asp.net core MVC application, I’m using HttpClientFactory to create HttpClient object for requests to API server.

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

Retrieve sections from config.json in ASP.NET 5

August 24, 2022 by Magenaut

Let’s say I have a config.json like this:

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

How to use ConfigurationBinder in Configure method of startup.cs

August 24, 2022 by Magenaut

asp.net mvc 6 beta5

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

ASP.NET Core: asp-* attributes use request payload over model?

August 24, 2022 by Magenaut

It seems that in ASP.NET Core, the value in asp-* attributes (e.g. asp-for) is taken from the request payload before the model. Example:

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

Problems with Directory Services and Account Management in ASP.NET Core

August 24, 2022 by Magenaut

I have a ASP.NET Core API project and I’d like to utilize DirectoryServices and DirectoryServices.AccountManagement namespaces.

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

Serve static file index.html by default

August 24, 2022 by Magenaut

I’ve got a very simple angular app project that needs to do nothing more than serve static files from wwwroot. Here is my Startup.cs:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core Leave a comment
Older posts
Newer posts
← Previous Page1 … Page44 Page45 Page46 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