You’re working on your cool new web site. You have Angular consuming a custom .NET Core REST API. But there’s a problem. Angular isn’t getting data. Hmm.
I’ve had this problem. The situation was that the API returned an error page but not the expected HTTP status code. The API was configured to return a friendly error page which had a status code of 200.
In this article, I’ll review some of the more common HTTP status codes that you will encounter as a developer.
One book on my bookshelf that I keep coming back to is Modern Web Development by Dino Esposito. I saw Dino’s presentation on Pluralsight and was so impressed that I bought and read this book.
Dino covers a number of topics in this book. My goal here is not to do a chapter-by-chapter summary of this book. Rather, my goal is to have you buy and read the book. While I am an affiliate with Amazon, you don’t need to click the ad to buy this book. In fact, you don’t need to even buy the book from Amazon. I just want you to read it. The book is way better than the presentation on Pluralsight.
A guy I know is big in the internet security circle. He has given talks to major government agencies about the internet. He had a hand in exposing some major flaws in commonly used software.
One day I bumped into him and he was in a bit of a mood. Turns out he found a huge security flaw in a company’s software. His specific comment was “This is why you don’t hire anybody from coding camps.” The security flaw: SQL Injection.
I started using SASS with my last project. I have to say, this is an awesome tool and I’m sad I waited so long to get on the SASS bus.
SASS stands for Syntactically Awesome StyleSheets and is in the same category as LESS. Both LESS and SASS allow you to create CSS files from a more concise, feature rich file. The magic behind both of these is that they allow for using variables. Yes, you can set variables for your colors.
Here is the scenario: I have data that I want to encrypt when displaying it. The data is used to access a user’s account; so, it makes sense that this data is encrypted when used on the web page.
How do I encrypt the data? I’m using
Microsoft.AspNetCore.DataProtection to do the encrypting.
In this article, I won’t go into much detail about how the DataProtection namespace works. I’ll just show a simple way to implement it.
Page 1 of 4