Skip to content

Magenaut

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

web-config

Adding tracelistener to web.config

August 26, 2022 by Magenaut

I want to use below code with a website. Which config sections I should add to web.config to log the output into a file or windows eventlog ?

Categories ASP.NET, Q&A Tags asp.net, logging, tracelistener, web-config Leave a comment

What happens if I don’t specify targetFramework=”4.0″?

August 26, 2022 by Magenaut

In my ASP.Net 4.0 web.config I had the following attribute:

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

When is web.config read?

August 26, 2022 by Magenaut

I’m doing research for an article on the ASP.NET Pipeline, but none of the resources I’ve covered so far adequately explain when the machine level, and application level, and possibly even sub-application level, web.config files are read.

Categories ASP.NET, Q&A Tags asp.net, configuration-files, web-config Leave a comment

Session Timeout Limit in ASP.NET?

August 26, 2022 by Magenaut

I’m amending a Session time out in the Web.Config for an ASP.NET application written in C# and currently I have the timeout set to 120 minutes as shown below:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc-2, web-config Leave a comment

Get value from web.config applicationSettings into ASP.NET markup

August 25, 2022 by Magenaut

I might be completely off track by now, so I will just ask this here so someone can help me.

Categories ASP.NET, Q&A Tags asp.net, configsection, expressionbuilder, markup, web-config Leave a comment

Encrypting web.config using Protected Configuration pointless?

August 25, 2022 by Magenaut

I must be missing something…

Categories ASP.NET, Q&A Tags .net, asp.net, encryption, security, web-config Leave a comment

Having classic ASP read in a key from appsettings in a web.config file

August 25, 2022 by Magenaut

OK so here’s the situation. I’ve got a classic ASP website running inside an MVC 4 application. I need the classic ASP website to be able to get a key from the appsettings section of the web.config file.

Categories ASP.NET, Q&A Tags asp-classic, asp.net, asp.net-mvc, web-config Leave a comment

How to redirect http to https and www to non-www via web.config?

August 25, 2022 by Magenaut

I would like to use web.config to redirect all requests on my asp.net site to https:// with non-www. That is:

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

Using ExecuteURL as 404 handler in web.config will bypass URL Rewrite (ie.. outboundRules) while using other responseModes won’t

August 25, 2022 by Magenaut

I have the following rule in web.config designed to identify and rewrite outbound session cookies with both the secure and httpOnly flags:

Categories ASP.NET, Q&A Tags asp.net, iis, session-cookies, url-rewriting, web-config Leave a comment

How can I retrieve an assembly’s qualified type name?

August 25, 2022 by Magenaut

How can I generate a assembly qualified type name?

Categories ASP.NET, Q&A Tags asp.net, c#, configuration, powershell, web-config Leave a comment
Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 … Page18 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