See Keyhole at Dev Up 2019

Keyhole Software Articles, Community, Company News, Keyhole Leave a Comment

We are pleased to announce that Keyhole Software is a Gold Sponsor of the 2019 St. Louis Developer Conference! This will be the fifth year of Keyhole Sponsoring. 

Formerly known as the St. Louis Days of .NET and rebranded as Dev Up during the 2015 conference, the 12th annual edition will bring together regional and national IT experts to share their knowledge for technology. 

The Dev Up conference is October 14-16, 2019 at the Ameristar Casino in St. Charles, Missouri. Monday, October 14th features all-day hands-on sessions called “Pre-Compilers” which are optional. The main conference takes place on October 15th & 16th and features over 140 technical training sessions geared toward all levels of experience.

Integrating Azure Functions with Cosmos DB SQL API in .NET Core 2.2

Zach Gardner .NET Core, API Development, Articles, Azure, Cloud, Development Technologies & Tools, SQL, Tutorial Leave a Comment

I am working on a project that leverages both Azure Functions as well as Cosmos DB. In trying to get both of these components wired together, I found that there are very few examples that work with the most recent versions of these components. I also saw examples that could work at a small scale, but don’t show industry-standard best practices, and would lead to performance issues if deployed in an environment with any meaningful traffic.

To that end, I put together this blog post showing how to set up an Azure Functions project in .NET Core 2.2 to integrate with Cosmos DB’s SQL API using its native tooling.

Spring Batch Testing & Mocking Revisited with Spring Boot

Jonny Hackett Articles, Development Technologies & Tools, Java, Spring, Spring Batch, Spring Boot, Testing 3 Comments

Several years ago, 2012 to be precise, I wrote an article on an approach to unit testing Spring Batch Jobs. My editors tell me that I still get new readers of the post every day, so it is time to revisit and update the approach to a more modern standard.

The approach used in the original post was purely testing the individual pieces containing any business logic. Back then, we didn’t have some of the mocking capabilities that we have today, so I went with an approach that made sense at the time.

However, there have been a few improvements in the past several years. One of those improvements has been the ability to Mock beans within a Spring Context. That’s where the @MockBean annotation comes to the rescue.

Development: .NET Web API Cost Analysis App with Angular

Keyhole Software .NET, Angular, Energy & Public Sectors, JavaScript, New Development

Keyhole Consultants worked with a team of client business managers and developers to develop an internal client application that focused on bi-reporting, cost analysis, and price forecasting for connecting wind, solar, and fossil fuel projects to the United States power grid.

The goal of the project was to take data that was strewn around the company and create one system of record that the company could use to forecast if current and future projects were going to be profitable. This custom application synchronized 150 employees across five different departments.

Using C#, XAML + Uno Platform to Build One Codebase, Cross-Platform Apps

Rukesh Shrestha Articles, C#, Development Technologies & Tools, Mobile 1 Comment

For more than a decade, we have been developing applications with C# and XAML. Throughout that time, the pair has really only been known for Desktop (WPF) and UWP applications.

Later came Xamarin, which utilizes C# as a unified language to share between all platforms. Then Xamarin.Forms was introduced, which was different in that it utilized XAML to develop the user interface with a single codebase for cross-platform (iOS, Android, UWP).

This progression has excited all the WPF developers out there. The only remaining platform left was web development. At one time, Silverlight was the option, but it was deprecated because of heavy loading and security concerns of browser plug-in solutions.

Then came the WebAssembly [also known as Web Assembly Modules (WASM)] that web browsers can directly execute without having to parse a source file.

In this post, we will discuss how to create a rich user browser interface using the cross-platform Uno Platform and WebAssembly technology. The example application will walk through building Models, ViewModel and View under a shared project that is common to all different platform-specific projects.