Skip to content

Magenaut

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

c#

How can I retrieve a table from stored procedure to a datatable?

September 1, 2022 by Magenaut

I created a stored procedure so as to return me a table.

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

DB-First authentication confusion with ASP.NET Web API 2 + EF6

September 1, 2022 by Magenaut

I need to create a Web API C# application for an existing MySQL database. I’ve managed to use Entity Framework 6 to bind every database table to a RESTful API (that allows CRUD operations).

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api2, c#, ef-database-first, entity-framework Leave a comment

Convert all first letter to upper case, rest lower for each word

September 1, 2022 by Magenaut

I have a string of text (about 5-6 words mostly) that I need to convert.

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

ASP.NET – Reading and writing to the file-system, outside the application

September 1, 2022 by Magenaut

Is there a way to access the file-system outside of the current ASP.NET application, without going around giving IIS_IUSRS permissions? For example, if I wanted this line to work:

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

How to write custom actionResult in asp.net core

September 1, 2022 by Magenaut

In webApi2 i could write a custom ActionResult by inheriting IHttpActionResult.

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

Changing the cursor in ASP.NET while loading doesn’t work without a JS alert

September 1, 2022 by Magenaut

I want to change the cursor to an hourglass in my asp.net application to let my users know that the process is running. I searched for an answer and was advised to use JavaScript as follows:

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

How to turn off the logging done by the ASP.NET core framework

September 1, 2022 by Magenaut

How do I turn off the logging done by ASP.NET for each request e.g.

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

Count total rows of gridview with pagination

September 1, 2022 by Magenaut

I have a GridView with paging. When I try to count gridview row with gridview.rows.count, It gives me row count for current page only.

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

Adding A Custom Property To Entity Framework?

September 1, 2022 by Magenaut

I am using the Entity Framework for the first time and want to know if the following is possible – I have generated my classes from the DB, and have one called Category.

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

Maintain scroll position in listboxes in updatepanels, NOT the page

September 1, 2022 by Magenaut

I have a listbox inside an update panel. When I scroll down and select an item, it scrolls back to the top of the listbox. I heard that the dom does not keep track of the scroll position on a postback. Does anyone have a solution/example on how to solve this?

Categories ASP.NET, Q&A Tags asp.net, c#, listbox Leave a comment
Older posts
Newer posts
← Previous Page1 … Page147 Page148 Page149 … Page451 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