Skip to content

Magenaut

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

asp.net-core

How to redirect to a Controller/Action passing any URL parameters?

September 4, 2022 by Magenaut

I am trying to implement “returnUrl” functionality in my aspnetcore app but I am struggelling to find a way to dynamically pass the parameters to an action.

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

How to get two different username’s from joining two tables in EF Core?

September 4, 2022 by Magenaut

I need to display data on table where createdBy and updatedBy properties display two different usernames taken from the Users table.

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

Change color tr in asp.net

September 4, 2022 by Magenaut

@foreach(var item in model){ <tr id ="nameoftr"> <td> asd </td> @if(item.num > 5) { <script>document.getElementById('nameoftr').className = 'blinkAction';</script> } </tr> } i tried like this to change class of the tr but only the first row affected but there are many >5 rows. i tried the if block under the tr block the result was same. … Read more

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

No route matches the supplied values for HTTP POST

September 4, 2022 by Magenaut

I am making a POST method. The following code takes in an object, takes the data from the object that it wants, then formats it into a new object and saves that to the database. I use the following code:

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

Edit Method in ASP.Net Core MVC why ‘data-id’ in javascript always contains 1 i want if i select item 2 so data-id is 2

September 4, 2022 by Magenaut

i want ‘data-id’ according to selected item, if i select item 2 so data-id is 2′

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

Unknown column ‘ValidationRequired’ in ‘field list’ MySQL

September 4, 2022 by Magenaut

I have .Net Core project with code-first approach.

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

SignalR client-server connection issue

September 4, 2022 by Magenaut

I have been trying to find out the issue for the whole day and couldn’t figure it out.
This is my SignalR Hub (BlazorServerAppHub.cs)

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

Average of the difference of two DateTime objects with GroupBy in LINQ query

September 4, 2022 by Magenaut

I am developing an ASP.NET Core 3.1 project. I want to group Services in Tickets based on the average of the difference between CreatedTime and ModifiedTime of Tickets.

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

Cannot Solve “Configuration Does not Exist…” Error

September 4, 2022 by Magenaut

I’m just trying to apply Option Pattern and I coded that in ConfigureServices:

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

How to encapsulate the child libraries classes being accessed c#?

September 4, 2022 by Magenaut

I have 3 projects.
project 1 uses reference of project 2 and project 2 uses reference of project 3.Now this is what I want.
as with above scenario project 1 can also use classes of project 3 which I not want to do so. so how I can encapsulate classes of project 3 to be used only in project 2 and not in project 1.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, c#-3.0, c#-4.0 Leave a comment
Older posts
Newer posts
← Previous Page1 … Page10 Page11 Page12 … 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