Skip to content

Magenaut

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

asp.net

How can I get gzip compression in IIS7 working?

September 3, 2022 by Magenaut

I have installed Static and dynamic compression for IIS7, as well as setting the two web.config values at my application Virtual Folder level. As I understand it, I don’t need to enable compression at the server, or site level anymore, and I can manage it on a per folder basis using my web.config file.

Categories ASP.NET, Q&A Tags .net-3.5, asp.net, compression, gzip, iis-7 Leave a comment

How can I get a MAC address from an HTTP request?

September 3, 2022 by Magenaut

Can someone give me some pointers on picking up the user’s MAC address from an HTTP request?

Categories ASP.NET, Q&A Tags asp.net, mac-address Leave a comment

ASP.NET Core with IIS – HTTP Verb Not Allowed

September 3, 2022 by Magenaut

We have an ASP.NET Core 2.0 web site that also presents a couple of simple Web API methods for UI enhancement purposes.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-core-webapi, iis Leave a comment

ASP.NET custom error page – Server.GetLastError() is null

September 3, 2022 by Magenaut

I have a custom error page set up for my application:

Categories ASP.NET, Q&A Tags asp.net, custom-error-pages, exception, web-applications Leave a comment

Dynamically Rendering asp:Image from BLOB entry in ASP.NET

September 3, 2022 by Magenaut

What I want to achieve is this. I want to give the user the ability to upload an image file, store the image in BLOB in SQL Server, and then use this image as a logo in other pages of the site.

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

How do I create a Dto in C# Asp.Net from a fairly complex Json Response

September 3, 2022 by Magenaut

I have called an Api and received this response using RestSharp. I have no control over the structure of the Json response.

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

Can I set up HTML/Email Templates with ASP.NET?

September 3, 2022 by Magenaut

I’m working on a site that will send out a significant number of emails. I want to set up both header and footer text, or maybe even templates to allow the users to easily edit these emails if they need to.

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

Can we use multiple forms in a web page?

September 3, 2022 by Magenaut

So far, all the web pages I met contain at most one <form> tag. Why not multiple ones? I can not think of reasons why multiple forms can’t coexist within the same web page.

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

When should I use # and = in ASP.NET controls?

September 3, 2022 by Magenaut

I have been using ASP.NET for years, but I can never remember when using the # and = are appropriate.

Categories ASP.NET, Q&A Tags asp.net, data-binding Leave a comment

Custom header to HttpClient request

September 3, 2022 by Magenaut

How do I add a custom header to a HttpClient request? I am using PostAsJsonAsync method to post the JSON. The custom header that I would need to be added is

Categories ASP.NET, Q&A Tags asp.net, c#, dotnet-httpclient, http-headers Leave a comment
Older posts
Newer posts
← Previous Page1 … Page144 Page145 Page146 … Page944 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