Using Toastr With SignalR

John Holland .NET, Technology Snapshot, Tutorial Leave a Comment

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.



Web Development Business

Creating a SQL Database Project for Isolated Development

Rusty Divine .NET, Databases, Problem Solving, Technology Snapshot, Tutorial Leave a Comment

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.



Getting Started Building 3D Simulations In Unity3D, Part 1

Greg Yotz .NET, Mobile, Technology Snapshot, Tutorial 2 Comments

Welcome to part one of a three-part blog series on Unity 3D. In this series, we will create a simple 3D game in Unity3D with rich controls. Part one will cover how to set up Unity3D. Part two will teach you how to control Unity3D using C#. The third and final post in this series will delve into actually making …



Golden Service Fabric Hammer

James Bradley .NET, Microservices, Service Fabric, Technology Snapshot, Tutorial Leave a Comment

I had some time before my next project started up, so David Pitt asked me to research and write a blog on Service Fabric. It sounded terrifying. First off, I’m not really what you would call articulate. I finish only half of sentences that I… well, I would hate talking to me. Secondly, I hadn’t yet had as much of a chance …



Seriate: The Glue Between SQL Server and Node.js

Chris Berry .NET, JavaScript, Node.js, Technology Snapshot 7 Comments

An example Node.js application which connects to a SQL server and serves up data via HTTP endpoints. Before leaving my last client, I was asked if it was possible for Node.js to connect to Microsoft’s SQL Server. The reasoning behind this was that the company wanted to move away from a pure Microsoft stack because of the cost and try …



Microservices à la Service Fabric

Chase Aucoin .NET, Docker, Microservices, Technology Snapshot Leave a Comment

Service Fabric is a massively progressive step for Microsoft. At the core, it is a distributed systems platform used to build scalable and reliable applications. But it gives the benefits of containerizing deployable bits, in addition to having Microservices best practices built-in. In this article, we will see how to quickly get up and running with Service Fabric, as well as why you …



SignalR Server-Side Timer

John Holland .NET, Technology Snapshot Leave a Comment

Recently, I had the fairly simple task of using SignalR to push out to logged-in users the dreaded impending “Site Maintenance” message. The Product Owners wanted to keep it simple and straightforward, since it would not be something they would be doing all that often. That said, when they would need to do it, they needed it to be easy. It was determined that …



Microservices Plus Microsoft

Microservices in the Microsoft Enterprise

Jeff Hopper .NET, Technology Snapshot Leave a Comment

Recently Keyhole wrote the white paper “Predicting The Future Of Development.” The white paper recommends enterprises move away from the Monolithic­-based architectures that “have been a common approach for the enterprise, where all application functionality is placed in a single deployable unit.” Instead the recommendation is to move towards Single-Page Applications and Microservices that “breaks up functionality into smaller runtime elements …