Skip to content

Magenaut

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

c#

Programmatically clear cache profile in asp.net core

August 25, 2022 by Magenaut

I have setup a cache profile in my asp.net core web api as follows:

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

How to debug Crashed Dump File?

August 25, 2022 by Magenaut

I run Debug Diagnostic tool on my windows server 2008. It created dump files.
Because my asp.net application gives an exception time to time.

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

To disable autopostback for Calender Control in ASP.net

August 25, 2022 by Magenaut

Iam trying to use System.Web.UI.WebControls.Calender.

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

Recursively traversing controls In OnInit disables GridView RowCommand and loses Viewstate

August 25, 2022 by Magenaut

If I recursively traverse the controls of a page, the RowCommand event is no longer fired by LinkButtons in a GridView. In fact, it looks like the ViewState for the GridView is lost. Why? How can I work around this?

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

Compiling HTML body for mail in c#

August 25, 2022 by Magenaut

I am using the following codes for users to send me a quote to my email.

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

Stack overflow error in C# set/get

August 25, 2022 by Magenaut

I was working on a public comments part of an application on Friday when I got a stack overflow error, which confused me so I thought I’d ask for help. And searching the web using the expression ‘stack overflow’ is a bit self-defeating! I wanted to do an HtmlEncode on the set statement of the … Read more

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

How to get number of words on a web page?

August 25, 2022 by Magenaut

I need to get total number of WORDS on a web page. I know about the System.Net.WebClient class. But it’s DownloadString() method return the whole HTML markup where as what I need is only the TEXT so that I can figure out the number of words. Any ideas/suggestions welcome. Answers: Thank you for visiting the … Read more

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

SqlDependency.Start(connectionString) return every time false

August 25, 2022 by Magenaut

I set All right to acces the DataBase

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

.Net RegularExpressionValidator matches differently than Regex class

August 25, 2022 by Magenaut

When I use the .Net RegularExpressionsValidator control the Validation expression matches EXACT text. When I say this I mean, for the string I give it to validate, if it deviates from the regex pattern at all the string does not validate.

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

DataGrid to CSV file

August 25, 2022 by Magenaut

I am binding a DataTable to a DataGrid, everything is working fine.
My next step is to export the DataGrid data to a CSV file, comma delimited.

Categories ASP.NET, Q&A Tags .net-3.5, asp.net, c#, csv, datagrid Leave a comment
Older posts
Newer posts
← Previous Page1 … Page373 Page374 Page375 … 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