How to use telnet to test ssl/https websites As I wrote recently, I had some issues with SSL on one of my sites. As part of the troubleshooting process I wanted a way to confirm that the site was responding properly on port 443 (the secure default SSL port) and that the SSL certificate was […]
Redirect from HTTPS to HTTP using an htaccess file
I ran into some issues recently where I needed to redirect HTTP to HTTPS for all requests on my site. It took a surprising amount of Google searching and tinkering to find a solution. Ultimately the solution was pretty simple, so I figured I’d share it here and hopefully same other people some time. So, backstory, […]
htaccess, Linux, nginx, redirect, web hostingASP.NET 5 and MVC 6
I’m super-excited about ASP.NET 5 and MVC 6! I first taught myself to program in the early 80s. I taught myself again in the mid-90s. Then I started OrcsWeb and spent more time do “systems stuff” (I’m both an MCSE and RHCSA) and “business stuff” (yeah, it takes a lot of time to run a […]
ASP.NET, Development/CodingRazor Hello There Sample!
This is my version of a Hello World application. I don’t want to just write “Hello World!” to the screen in a web page because, well, that’s just too basic. So what I’ll do is write a very simple form, post the form back to itself (the same page), collect data from the form, then […]
Sending Email Code Sample (Razor, C#)
A *really* common and popular thing to do with web pages it to send email. That email might be a feedback form, or an order confirmation, or a variety of other functions. Below is the complete contents of a page I named SendEmail.cshtml. I’ll throw it out there right at the start in case you […]
Changes are not allowed while code is running
Got this error today while tinkering with some code in Visual Studio 2013: “Changes are not allowed while code is running”. I did click run earlier to check on something, but I had closed out the browser. So, to me, the code wasn’t running. But really it was. I scratched my chin for a second […]
Visual StudioCSS Style Overlaps, Duplicates, and Priorities
I sent most of this past weekend trying to get a nice looking responsive table to work. At first I tried to mess with it from scratch. Then someone recommended I look into Twitter Bootstrap. Wow, am I glad I looked into Bootstrap because that has saved a ton of frustration. Okay, so I have […]
css, Hosting, Learning, tip, TroubleshootingGit install error – Couldn’t update submodule git!
I’ve had issues getting Git running on my development instance. The first installation appeared to go through but Git wasn’t working – it threw random errors trying to get a clone. So I uninstalled then tried re-installing but each time I got an error message of “Couldn’t update submodule git!” Thankfully, after scouring the web […]