Martin's Margin

Aggregator

Hours from Now Calculator: Time in Hours Minutes Later Ago

2 weeks 3 days ago
On this hours from now time calculator, you can calculate time from the number of hours and minutes from now. Enter hours, minutes and select the time later from now or before from now (ago), the calculated time will be displayed on the below of calculator. If hours from now result is bigger than a day, number of days will be shown.
martinto

Automatically request and use Let’s Encrypt certificates in Dotnet Core

1 month 2 weeks ago
Let’s Encrypt is the “free, automated, open Certificate Authority” that wants every website to use encryption by default, by making it easy and — importantly — free. These are laudable goals and there is really no downside to using it. Except for the easy part… Unless you are lucky enough to use a hosting provider that configures these certificates for you, or use a software platform that has this built-in, then it might be easy. For a dotnet project running on Azure, I did not find an easy solution. Until Microsoft creates a checkbox for this in Azure (they really should), I’ll show how to request and install a free certificate at startup of an AspNet Core application yourself.
martinto

Best Email Forwarding Service for 2019 (Free and Premium)

2 months 1 week ago
A lot of us manage multiple email accounts, and I personally like routing everything to one place so I don’t have to bounce between different providers or tabs all day long. This is a list of the best solutions for an email forwarding service.
martinto

Using strongly-typed entity IDs to avoid primitive obsession (Part 1)

2 months 2 weeks ago
Have you ever requested an entity from a service (web API / database / generic service) and got a 404 / not found response when you're sure it exists? I've seen it quite a few times, and it sometimes comes down to requesting the entity using the wrong ID. In this post I show one way to avoid these sorts of errors by acknowledging the problem as primitive obsession, and using the C# type system to catch the errors for us.
martinto

ASP.NET Core SignalR JavaScript client | Microsoft Docs

2 months 3 weeks ago
The SignalR JavaScript client library is delivered as an npm package. If you're using Visual Studio, run npm install from the Package Manager Console while in the root folder. For Visual Studio Code, run the command from the Integrated Terminal.
martinto

Communicate the status of a background job with SignalR • Jerrie Pelser's Blog

2 months 3 weeks ago
I was looking for a simple SignalR sample application that demonstrates how to report the progress of a background job, but I was unable to find anything. About three years ago I wrote a blog post explaining how you can communicate from an Azure WebJob to your website with SignalR, so I decided, since I was unable to find something for the modern versions of ASP.NET Core and SignalR, to write a new version of that blog post.
martinto

Google will now let you use your Android phone as a physical security key - The Verge

3 months 1 week ago
Google announced today that any phone running Android 7 or higher can now be used as a physical security key for two-factor authentication, giving you an even more secure way to log into Google apps than several other existing 2FA methods that Google provides right now. So when if you want a physical device to verify your login, you don’t have to buy a dongle — you can just use your phone.
martinto

Blog: How to Setup Your Own Mail Server that Will Deliver | Online Domain Tools

3 months 2 weeks ago
There are many reasons why you might want to have your own SMTP server. But there are also many reasons why lots of businesses outsource email sending to third party services. One of the big problems with having your own SMTP server is that it is quite hard to set the whole thing up to get a solid delivery rate. What does it mean? It means that if you just naively install an SMTP server and try to send emails through it, many of your emails will not be delivered. Moreover, you will not even know that your emails did not reach their recipients. If you have decided that you want your own SMTP server, this article will help you reach a solid delivery rate – i.e. your emails will be delivered to existing mail boxes and will not get deleted as spam. If something is not configured perfectly, your emails can be lost completely without a notice, moved to Junk folders, or not accepted for a delivery. So, if you are asking following questions: How to deliver an email? How to setup MX server? How to increase the delivery rate? Just keep reading.
martinto

Using Let's Encrypt for Internal Servers | Turtle Blog

3 months 2 weeks ago
As this meant that there was more things that needed to be managed by the environment I was very pleased when Let’s Encrypt launched which allowed free SSL certificates. However it did not work immediately for internal systems because the challenge method needed to be able to access a website on a public address! I was not prepared to punch a hole through my firewall every 90 days. But now there is a DNS challenge for Let’s Encrypt.
martinto