Skip to content

Magenaut

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

c#

Async Void, ASP.Net, and Count of Outstanding Operations

September 2, 2022 by Magenaut

I am trying to understand why an async void method in an ASP.Net application can result in the following exception, while it appears that async Task will not:

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

Giving application elevated UAC

September 2, 2022 by Magenaut

I have an application which needs the UAC elevation.

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

Get text/value from textbox after value/text changed server side

September 2, 2022 by Magenaut

I have a FormView with data(DataSource,DataBind) that I fill with value='<%# Eval("Name") %>' , but after I’m changing the text in TextBox and press update button I see the same value that before, I cant see new value that I have typed.

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

how to generate a unique token which expires after 24 hours?

September 2, 2022 by Magenaut

I have a WCF Webservice which checks if the user is valid.

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

HttpContext.Current.Session is null in Ashx file

September 2, 2022 by Magenaut

I saw some questions (Here and Here) but they do not answer my question.
I am trying to call Ajax using “ajax.ashx” file, and in function to access Session.
For some reason, the value of the Session object itself is null.

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

What is the meaning of thread-agility in ASP.Net?

September 2, 2022 by Magenaut

I am reading an article about HttpContext and CallContext and see thread-agility.
What does it mean?

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

On postback, how can I check which control cause postback in Page_Init event

September 2, 2022 by Magenaut

On postback, how can I check which control cause postback in Page_Init event.

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

Stop SQL query execution from .net Code

September 2, 2022 by Magenaut

I’m executing one stored procedure from the ‘.net’ code. Since there is a lot of data, it is taking too much time to execute. Is there any way to stop this execution from the c# code?

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

how to call a variable in code behind to aspx page

September 2, 2022 by Magenaut

i know i have seen this but cant recall the correct way of doing it… basically i have a string variable called “string clients” in my .cs file.. but i wasn’t to be able to pass it to my aspx page something like

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

Create thumbnail image

September 2, 2022 by Magenaut

I want to display thumbnail image in a gridview from file location. How to generate that of .jpeg file?
I am using C# language with asp.net.

Categories ASP.NET, Q&A Tags asp.net, c#, gridview, thumbnails Leave a comment
Older posts
Newer posts
← Previous Page1 … Page94 Page95 Page96 … 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