No Edge Software

Software development for the 21st century.

Because writing software for the 20th century would just be silly.

Latest from the Blog

Simple Bootbox message with callback

bootbox.js is a nice simple replacement for alerts. Here’s a quick extension that shows a message by hiding any existing boxes, then showing the new one. Since it’s using Bootstrap’s event-based modals, you have to wait for one to finish loading before closing it or expecting it to be open.

Claims Authorization Example

Startup.cs appsettings.json _Layout.cshtml AccessDenied.cshtml Login.cshtml Login.cshtml.cs Admin.cshtml Admin.cshtml.cs Others Repeat for AdminOrCityAdmin.cshtml, PhoenixAdmin.cshtml, UserAccount.cshtml, Zero.cshtml, with the appropriate Authorize attributes representing the policies. Notes Adding the key location and app name to the Startup file gives you the ability to put the keys in a file share and share them among multiple servers in a…