5 Steps to Getting Started with Material Design In XAML

,
July 2, 2018 / 1 Comment

Material Design In XAML (MDIX) is a beautiful theme library that brings Google’s Material Design to your Windows Presentation Framework (WPF) applications. In this tutorial, we look at how easy it is to get started and add some beautiful material design to your application.
 
If you have an existing WPF project, you can skip to step two.
Step […]
Read more

AUTHOR: CATEGORY: C#, Windows, WPF

ASP.NET Core Dynamic Routing with Constraints

,
April 19, 2018 / No Comment

Need to do more complex routing with ASP.NET Core? Try Constraints.
Constraints are a solution for serving Angular apps from a hybrid MVC application.
We recently had a unique challenge of serving up an angular app from an MVC application. This app needed to serve other MVC pages along with the angular site. Additionally, the routes that would serve the […]
Read more

AUTHOR: CATEGORY: .Net, .NET Core, Blog, C#

Senior Microsoft Full Stack Web Dev

,
April 19, 2018 / No Comment

IntelliTect hires developers that have been coding as long as they can remember, live and breathe innovative custom code and hate to be bored.
We feel that a talented developer can write code for any platform, but if you have a special fondness for Angular running on a .NET back end, even better!  If you want to be considered, please […]
Read more

AUTHOR: CATEGORY: C#, Headlines, Jobs

PowerShell Write-Error Without Writing Stack Trace

,
April 16, 2018 / No Comment

Recently, I was trying to display the errors and warning from a DotNet Build. While the warnings all displayed correctly, the errors always included the stack trace:

I was able to control the error output slightly by varying the global $ErrorView variable, but the only two options were NormalView or CategoryView, neither of which gave me the clean, message-only, look […]
Read more

AUTHOR: CATEGORY: .Net, PowerShell, Uncategorized

Interfacing with Multithreading Patterns prior to TPL and C# 5.0

,
April 9, 2018 / 2 Comments

Legacy Blog – Pre C# 5.0
Multithreading patterns are used to address the multithreading complexities of monitoring an asynchronous operation, thread pooling, avoiding deadlocks, and implementing atomicity and synchronization across operations and data access.
This is a thorough blog that combs through all you’d need to know about multithreading if you were working in a legacy version of C#. Although […]
Read more

AUTHOR: CATEGORY: .Net, C#, Uncategorized

Using Tuples for overriding Equality() and GetHashCode()

,
March 28, 2018 / No Comment

The implementation of Equals() and GetHashCode() used to be complex, but with C# 7.0 Tuples, the actual code is boilerplate.

For Equals(): It’s necessary to compare all the contained identifying data structures while avoiding infinite recursion or null reference exceptions.
For GetHashCode(): It’s necessary to combine the unique hash code of each of the non-null contained identifying data structures […]
Read more

AUTHOR: CATEGORY: Blog, C#

Timers Prior to Async/Await Pattern of C# 5.0

,
October 9, 2017 / No Comment

There are multiple ways to use Task.Delay() when a timer is required.
For scenarios prior to .NET 4.5, several timer classes are available, including System.Windows.Forms.Timer, System.Timers.Timer, and System.Threading.Timer.
The development team designed System.Windows.Forms.Timer specifically for use within a rich client user interface. Programmers can drag it onto a form as a nonvisual control and regulate the behavior from within the […]
Read more

AUTHOR: CATEGORY: .Net, Blog, C#, Toubleshooting

Getting started with Model-View-ViewModel (MVVM) pattern using Windows Presentation Framework (WPF)

,
September 19, 2017 / No Comment

The Windows Presentation Framework (WPF) is built to take full advantage of the Model-View-ViewModel (MVVM) pattern. Though it is possible to create WPF applications without using the MVVM pattern, a little investment in learning can make building WPF applications much simpler.
If you are just getting started with WPF I would suggest taking a look at this getting started guide.
Read more

AUTHOR: CATEGORY: C#, WPF

Deploying your app with Squirrel

,
July 18, 2017 / No Comment

Application deployment made easy
 
Many .NET developers are familiar with ClickOnce, Microsoft’s simple deployment solution for quickly packaging and deploying software that is easy for end-users to install. However, these conveniences come with limitations.

There are only a couple automatic update situations. To show custom UI when an update is available, requires disabling the automatic updates and […]
Read more

AUTHOR: CATEGORY: .Net, Blog, C#, DevOps, NuGet, Windows

Updating Sql Database to use Temporal Tables with Entity Framework Migration

,
July 6, 2017 / No Comment

In a couple of recent applications that IntelliTect developed for clients, we decided to use SQL Server Temporal Tables in order to track changes in the database over time. The apps we were working on were ASP.NET Core web applications, using Entity Framework Core (EF).  While we could have simply modified the databases using queries against the database server directly, […]
Read more