Using Toastr With SignalR

John Holland .NET, Articles, ASP.NET, Development Technologies & Tools, Tutorial 2 Comments

When you submit data to the server within a Single-Page Application (SPA), you are not performing the usual form post of data that would generate a new page load. Rather, you send the data using AJAX and are able to parse the response returned by the API using JavaScript and can act accordingly. In the past, this would most likely come in the form of an alert or populating a div with the appropriate message. This approach did what I needed it to do, essentially notifying the user of success or failure and allowing them to move on with their work.

Enter Toastr. Now I can have a non-blocking, consistent way in which to display these messages to the user, that are styled respective to the type of message it is. This is where the story gets interesting. So with this easy to use, non-blocking, consistent way of displaying messages, you can pair it up with SignalR and provide that same messaging from the server-side.

In this blog, we will demonstrate the use of the Toastr messaging library and how, when you couple it with SignalR, it can provide you with an easy-to-use, consistent messaging alternative.

Default image for blog posts - purely decorative

Creating a SQL Database Project for Isolated Development

Rusty Divine .NET, Articles, Databases, Development Technologies & Tools, SQL, Tutorial 2 Comments

In this article you see how to create a database project that will let you quickly and consistently deploy a database to your local environment. This approach can help to solve some issues from team members interfering with each otherโ€™s work on a shared development database.

Then, in an upcoming article, we will show you how to take the next step to include this database project in your continuous integration process and deploy it to each environment up the chain to production so that you can eliminate the need for any direct interaction with database updates.

Quick Start: End-to-End Testing With Protractor

Todd Horn Angular, Articles, Development Technologies & Tools, JavaScript, Testing, Tutorial 1 Comment

As AngularJS applications become more complex, manual testing becomes unreliable and repetitive. Unit Testing is a great start for testing the code, but eventually End-to-End testing is needed for better coverage.

A great tool to use for this is Protractor, an end-to-end test framework for AngularJS applications. In this blog, weโ€™ll briefly introduce the benefits of Protractor and give you the steps needed to get started with the tool.

Keyhole Labs Releases Spring Boot Starter For Trouble Maker

Lauren Fournier Bogner Articles, Company News, Java, Spring, Spring Boot Leave a Comment

The Keyhole Labs team is excited to announce the release of a Spring Boot starter for auto-configuration of Trouble Maker.

This new auto-configuration allows Spring Boot applications to easily enable Trouble Maker. Trouble Maker randomly takes down services during normal business hours in an effort to test stability and automated recovery. It also provides an ad hoc console to test application durability on demand.

See more on the Keyhole Labs blog.

Announcing Keyhole Labs

Lauren Fournier Bogner Articles, Company News, Keyhole, Keyhole Creations Leave a Comment

We are excited to announce the creation of Keyhole Labs to the public.

Keyhole Labs is our very own think tank devoted to creating helpful, innovative software for other developers, both paid and open source.

Translation? Neat software tools and platforms that our developers create for other developers. Technically separate from Keyhole Software, but the “product and innovation” arm. And our stellar developers here at Keyhole Software are the brains of the operation.