Tech Tips, Tricks & Hacks

for 3D printing, hardware, software, home automation and programming

  • HOME
  • Categories
    • 3D Printing
    • Active Directory
    • Azure
    • Electric Vehicles (EV)
      • EV Charging
      • Škoda Enyaq iV
    • Hardware
      • Amazon Echo / Alexa
      • Raspberry Pi
      • Sky / Sky+ / Sky HD / Sky Q
    • Home Automation
    • IIS
    • Mobile Devices
      • Apple iPhone and iPad
      • BlackBerry
      • Dumb devices
    • Office 365
    • Operating Systems
      • Windows 10
      • Windows 11
      • Windows Server 2003
      • Windows Server 2008
      • Windows Server 2012
      • Windows Server 2016
      • Windows XP
    • Power BI
    • Programming
      • .net
      • C#
      • Command Prompt
      • CSS
      • HTML
      • PowerShell
      • vb.net
    • SEO
    • Software
      • Mircosoft Exchange Server
      • Microsoft Office
      • Microsoft SQL Server
      • Microsoft Teams
    • Telecoms
    • Virtualisation
    • Window Media Services
  • Contact
Recent posts
  • [ 28 May 2022 ] Installing UniFi network controller in a Docker container on a Raspberry Pi Raspberry Pi
  • [ 25 February 2022 ] How to create a webhook in Microsoft Teams Microsoft Teams
  • [ 27 January 2022 ] Count duplicate rows in Power BI using DAX Power BI
  • [ 13 January 2022 ] Setting up a Windows Sandbox on Windows 11 Windows 11
  • [ 10 January 2022 ] Group values in ranges in Power BI using DAX Power BI
Homec#

c#

C#

C# Detect HTTPS in a load balanced environment

5 January 2018 Richard Wallace 0

Detecting HTTPS in your asp.net c# web app is fairly straight forward in a normal environment with a single server solution, as you can see from the below example: if (HttpContext.Current.Request.IsSecureConnection) { Response.Write(“Using HTTPS”); } […]

.net

How to put an asp.net website in maintenance mode

14 May 2017 Richard Wallace 0

If you need to take your website offline, for any reason (eg. database maintenance, site move etc), you can do so very easily by just creating one .htm file and dropping in the root folder […]

C#

How to create a 301 Redirect in c# and vb.net

24 April 2017 Richard Wallace 0

If you need to redirect a page to another page or site, it’s best to use a 301 redirect to help retain some of your SEO work. It’s believed that a 301 redirect will reduce […]

Latest posts

  • Installing UniFi network controller in a Docker container on a Raspberry Pi
    28 May 2022 0
  • How to create a webhook in Microsoft Teams
    25 February 2022 0
  • Count duplicate rows in Power BI using DAX
    27 January 2022 0
  • Setting up a Windows Sandbox on Windows 11
    13 January 2022 0
  • Group values in ranges in Power BI using DAX
    10 January 2022 0
  • PowerShell – loop through files using wildcards in the filenames
    22 December 2021 0

Popular posts

  • Sky Q Hidden Engineers Menu
    25 April 2017 13
  • OctoPrint – Flashforge Creator Pro 2
    1 March 2021 12
  • Change your Sky Q AirPlay / Bluetooth name
    4 October 2017 5
  • Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space
    26 April 2017 3
  • How to configure Pi-hole
    3 December 2020 2
  • Sky Q, using voice commands to run apps​
    27 October 2020 2
About me

I’m Richard Wallace, an IT professional with more than 20 years experience in IT and web design.

This blog has been setup to share some of my knowledges, hacks, hints and tips.

Follow me
  • Instagram
  • Linked In
  • Twitter
  • YouTube
  • Contact
  • Cookie Policy
  • Privacy Policy
  • Terms & Conditions

Copyright © 2021 | Richard Wallace