Skip to content

Magenaut

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

ASP.NET

Integration testing web services against a testing database

August 24, 2022 by Magenaut

I’m currently building a .net web application that uses WCF web services to allow a Flex front end to access the database.

Categories ASP.NET, Q&A Tags asp.net, linq, linq-to-sql, unit-testing, wcf Leave a comment

User control inside update panel causing full page postback

August 24, 2022 by Magenaut

I have a user control with linkbuttons (used for paging) and a repeater inside an update panel. The paging works correctly, but is causing a full page postback every time I click through to the next page.

Categories ASP.NET, Q&A Tags asp.net, partial-postback, postback, updatepanel Leave a comment

How to copy List in C#

August 24, 2022 by Magenaut

I want to copy a List of Objects, but i keep getting references between the objects.

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

User.IsInRole returning false

August 24, 2022 by Magenaut

My ASP.NET app is using windows authentication. If I run the following code:

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

System.IndexOutOfRangeException on SQLDataReader Value Using C#

August 24, 2022 by Magenaut

I have a SQLDataReader that returns three integers. However, there are occasions when two of the integers will return null values.

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

ASP.NET Mvc Api: Set cookie then 302/303 Redirect loses the cookie

August 24, 2022 by Magenaut

I have an API action that returns a HttpResponseMessage.
API address is like: http://localhost/login?authcode=xxx

Categories ASP.NET, Q&A Tags api, asp.net, cookies, http-redirect Leave a comment

Is it possible to use ASP.NET application caching in web API?

August 24, 2022 by Magenaut

For example, in a ASP.NET page you would do something like

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

Setting ASP.NET Button attributes client side and read attribute value server side

August 24, 2022 by Magenaut

How can I retrieve a Button custom attribute after the attribute value has been changed using javascript?

Categories ASP.NET, Q&A Tags asp.net, c#, custom-attributes, javascript, postback Leave a comment

Json.Net How to deserialize null as empty string?

August 24, 2022 by Magenaut

I have string property in my class_ for example

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

Convert an image to base64 and vice versa

August 24, 2022 by Magenaut

I want to convert an image to base64 and back to image again.
Here is the code which i tried so far and the error also. Any suggestions please?

Categories ASP.NET, Q&A Tags .net, asp.net, c# Leave a comment
Older posts
Newer posts
← Previous Page1 … Page858 Page859 Page860 … 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