Skip to content

Magenaut

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

c#

Scope of static variables in ASP.NET sites

August 27, 2022 by Magenaut

If running multiple ASP.NET applications in the same application pool, how many instances will I have of a class’ static variable?

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

Server.MapPath to go two folder back from root

August 27, 2022 by Magenaut

Here is how I do it:

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

StackTrace/StackFrame don’t return expected info in a production environment

August 27, 2022 by Magenaut

I use the following method in my ASP.NET web application to receive the stack trace for an exception:

Categories ASP.NET, Q&A Tags asp.net, c#, debugging, stack-trace, visual-studio-debugging Leave a comment

Best way to make website for multiple languages

August 27, 2022 by Magenaut

I have made a website using(Asp.net, c#) and its content in English.
Now i have a requirement to make this website in such a way that is support multiple languages ie (German,French).
Lable/Textbox/ string all values will display respective selected languages
While searching i came to know there are some ways like

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

Specifying relative file location in web.config for use by standard C# class library

August 27, 2022 by Magenaut

I’m struggling to find a way of specifying a file location in web.config appSettings that avoids using hard-coded paths but allows a non-‘web aware’ C# library to find a file.

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

ASP.NET + C# HttpContext.Current.Session is null (Inside WebService)

August 27, 2022 by Magenaut

this is how I initiate the session

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

How can you force the browser to download an xml file?

August 27, 2022 by Magenaut

This is my problem.
I load xml from my database and push it to the client using code.
But the problem is that the browser automatically opens that xml instead of offering it as a download.

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

How to delete rows from DataTable with LINQ?

August 27, 2022 by Magenaut

I have the following code to delete rows from DataTable:

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

how to write javascript in asp.net in code behind using C#

August 27, 2022 by Magenaut

How can I write JavaScript code in asp.net in code behind using C#?

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

send message by viber or whatsapp programmatically

August 27, 2022 by Magenaut

I have a system with some members. my members should receive one message each day. I want to send this message via Viber or whatsapp (or if there are others app like them). But I dont want to send messages one by one. I want to send by asp.net c# code. Is there any document … Read more

Categories ASP.NET, Q&A Tags asp.net, c#, viber, whatsapp Leave a comment
Older posts
Newer posts
← Previous Page1 … Page310 Page311 Page312 … 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