Skip to content

Magenaut

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

asp.net

C#, ASP.NET core | SqlException: Incorrect syntax near the keyword ‘TOP’

September 4, 2022 by Magenaut

I was experimenting in ASP.NET Core with getting data from my small database.
I want to select 2 random rows from my table, but I can not get it to work.

Categories ASP.NET, Q&A Tags asp.net, c#, data-layers, sql-server Leave a comment

How does wok relative time in different time zones?

September 4, 2022 by Magenaut

I am confused about using datetimes in databases and applications for international users. My application is developed asp.net web api and c# programming language.

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

How do you structure physical and logical/solution folders?

September 4, 2022 by Magenaut

After a lot of reading and wading through finnicky solutions to this problem, it’s bizarre that projects are structured in this way and yet there doesn’t seem to be a straight forward way of creating it.

Categories ASP.NET, Q&A Tags .net, asp.net, visual-studio 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

ASP.NET MVC unit testing WEB API Post method: Request.RequestUri throws an exception

September 4, 2022 by Magenaut

I want to test Web api 2 post method, which looks like this:

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

How to register apicontroller & controller route

September 4, 2022 by Magenaut

I need to use the following route for all the basic controller of my project :

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

Cannot connect to azure nuget feed when creating a container

September 4, 2022 by Magenaut

I have been trying to get docker to pull from a private nuget feed which is hosted within Azure Devops, but I consistently get a 401 unauthorized error. I have looked a numerous other answers and resources, but all of which have not helped. My dockerfile script is the following

Categories ASP.NET, Q&A Tags asp.net, azure, azure-devops, docker, docker-compose 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

ASP.Net – returning null & 0 in Select

September 4, 2022 by Magenaut

I am attempting to use a Select statement in my Asp.Net app. Rather than filter the excluded fields out, it sets them to Null or 0. Is this by design or something I’m doing wrong?
Code is below:

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

How to remove all instances inside a list where a contained list does not contain all values given? help please

September 4, 2022 by Magenaut

So I am trying to set up a searching system, for which I need to go through each ‘book’ in a list and remove each one that does not match the given ‘genres’. each book contains a list of genre ID’s.

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