Hopefully this will save someone else a headache or two or three when it comes to getting a .NET Core API to play nice with an Android Emulator. Environment Setup Windows 10 Visual Studio 2017 .NET Core API is using IIS Express Swagger Installed Android Emulator/Android Device connected to computer Android Emulator Setup Each instance…
Product Owner Anti-patterns … Oh My!
I recently came across an article on Product Owner Anti-Patterns, you can find the article at https://www.knowledgehut.com/blog/agile/product-owner-anti-patterns-should-be-aware-of. Here is a partial list of the ones I found relevant: Busy or Missing Product Owner, not being part of the Development Team Expressing the backlog in technical user stories instead of focusing on business-related user stories Writing detailed…
Oh No! My Azure SSL Certificate Expired!
This has happened twice already this year, and I always forget what to do to fix the problem! Our sites “appear” to go down, really the browser just complaining that the site is unsafe, but nonetheless, needs to get fixed immediately. Takes me about an hour to remember what to do, thankfully, in this case,…
Force Pull Request to Master Branch in VSTS
Login to VSTS. Navigate to the master branch for the project you want to force pull requests. Click on the ellipsis and select Branch policies. These are the settings I prefer. I like to have at least one reviewer, and our team size is small enough that it’s OK, maybe not best practices, for the…
How to Export Bitbucket Repositories to VSTS
Should be simple enough. Unfortunately I could not get the importer to work in VSTS. So here is what I did. Made sure I had the latest master branch and all remote branches I wanted to include. Change the origin. Open up Powershell, or your favorite command line tool. Run git remote set-url origin YOUR_VSTS_ORIGIN_URL. It…
Adventures with ASP.NET MVC: EasyMDE
For my jQuery projects, I have started using plugin easyMDE as my defacto Markdown Editor https://github.com/Ionaru/easy-markdown-editor, which is a fork of simpleMDE located at https://github.com/sparksuite/simplemde-markdown-editor – which hasn’t been updated in over two years. For my latest project, I was able to get easyMDE easily implemented in my ASP.NET MVC application on a Create operation, but the…
JSON Web Tokens
This site https://jwt.io is a great resource to view the contents of a JSON Web Token. I was having problems with a token complaining that it was not valid, only to discover that, for some reason, I was receiving an outdated or expired token. So I took the expiration value and converted it to a…
React and Environment Variables
Create-react-app 1.0.0 added support for automatically reading configuration files for the three pre-defined environments: development, test, and production. As before, default (lowest priority) values may be defined in .env, and the value of NODE_ENV is set automatically based on the script used: start → development test → test build → production The 1.0.0 release adds…