Skip to content

Magenaut

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

http

How to make the .net HttpClient use http 2.0?

September 2, 2022 by Magenaut

I have an asp.net web api hosted on IIS 10 (windows server 2016). When I make a GET request to this from a Microsoft Edge browser, I see that HTTP 2.0 is used in IIS logs

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

asp.net c# redirecting from http to https

September 2, 2022 by Magenaut

So in my code I want to detect if my login page is being called http, and redirect it to https.

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

Default redirect for Error 404

September 1, 2022 by Magenaut

I want to introduce a functionality in my ASP.net website that, whenever a request is received for an unknown URL on my domain, the user is redirected to my error_404.htm page in the root of the application.

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

IE 8 and client-side caching

September 1, 2022 by Magenaut

Background story:

Categories ASP.NET, Q&A Tags asp.net, caching, http, iis, internet-explorer Leave a comment

IIS and Static content?

September 1, 2022 by Magenaut

According to Ultra-Fast ASP.NET: Chapter 3 – Caching:

Categories ASP.NET, Q&A Tags asp.net, caching, header, http, iis-7 Leave a comment

Maximum default POST request size of IIS 7 – how to increase 64kB/65kB limit?

September 1, 2022 by Magenaut

I have created a RESTful POST web service in ASp .net C# with IIS hosting the service.

Categories ASP.NET, Q&A Tags asp.net, http, iis, post, rest Leave a comment

Response.Redirect HTTP status code

August 31, 2022 by Magenaut

Why is it that ASP/ASP.NET Response.Redirect uses a HTTP-302 status code (“Moved Temporarily”) even though in most cases a HTTP-301 status code (“Moved Permanently”) would be more appropriate?

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

Get application path without using httpcontext. (asp.net)

August 31, 2022 by Magenaut

How to do it?

Categories ASP.NET, Q&A Tags asp.net, http, httpcontext, iis Leave a comment

Why is using a URL containing a colon considered as a “potentially dangerous request”?

August 31, 2022 by Magenaut

Someone (probably a bot) sent a request with the following URL to my ASP.NET 4.0 web forms application (running on IIS 7.0):

Categories ASP.NET, Q&A Tags asp.net, asp.net-4.0, http, security, url Leave a comment

What is the non-standard HTTP verb “DEBUG” used for in ASP.NET/IIS?

August 31, 2022 by Magenaut

I am reading a report from a “web application security” company, whom have been scanning a few websites of the company I am working for. It appears from the report – which seems written without any human involvement – that several attempts where made to break our sites using requests like this:

Categories ASP.NET, Q&A Tags asp.net, debugging, http, iis, security Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page10 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