Video: What’s New in ASP.NET Core 2.2

,
April 24, 2019 / No Comment

Who doesn’t like new features?
Michael Stokesbary, senior software architect and trainer at IntelliTect and C# instructor at Eastern Washington University, was excited about the performance enhancements made to ASP.NET Core 2.2. He wrote a blog about the simplified web API authentication and decided to share what he learned in even more detail with the Spokane .Net User Group on […]
Read more

AUTHOR: CATEGORY: .NET Core, Blog

Effortlessly Scaffold Your App with Docker – Part 1

,
March 5, 2019 / No Comment

Dockerize your next ASP.NET Core, Postgres and Angular app to easily get up and running.
Abstract
In this tutorial, you’ll learn how to use Docker to set up a fresh .NET Core project connected to a PostgreSQL database. As we’ll find, Docker will take care of all the heavy lifting when it comes to installing these packages and coordinating their […]
Read more

AUTHOR: CATEGORY: Blog

Securing Web APIs in .NET Core 2.2

,
December 10, 2018 / No Comment

Microsoft will simplify Web API authentication in a soon-to-be-released update!
This week’s release of ASP.NET 2.2 gave us some performance enhancements, ability to do health checks on the application and code analyzers to help you improve your web API discoverability. Expect an out of band release that creates a dependency on IdentityServer in the near future.
Microsoft will be […]
Read more

Potential New Features of C# 8.0 Exposed

,
November 7, 2018 / No Comment

Can’t satisfy your thirst for C# knowledge?
Hang around Mark Michaelis long enough and you’ll get up to speed in no time!
Mark has been traveling within the US, and as far as Scandinavia, spreading the C# love. You might have seen him at Visual Studio LIVE! events in Chicago or San Diego or at .Net User Group meetups in […]
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

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

Error: “Predefined type ‘System.ValueTuple’ is not defined or imported”

,
April 10, 2017 / No Comment

As soon as you start programming tuples in C# 7.0, you are likely to encounter the compiler error, “Predefined type ‘System.ValueTuple’ is not defined or imported.”
 
This issue is easily corrected. When encountered, the error will look like this on the code editor:

The issue is that the C# 7.0 compiler is trying to generate the underlying […]
Read more

Locking a Block of Code With an Integer

,
June 27, 2016 / No Comment

I was talking with a developer recently who was convinced that you could use a static integer variable to lock a block of code merely by casting it to an object, like this

First it must be noted that an integer cannot be used by itself in a lock statement because it is a value type. But when you […]
Read more

AUTHOR: CATEGORY: .Net, Blog, C#

Visual Studio Keyboard Shortcuts Wrap-up (MSDN Flash – Feb. 2, 2009)

,
January 23, 2009 / 1 Comment

In this edition, I am going to wrap up a few loose ends with a selection of miscellaneous keyboard shortcuts and links to a summary keyboard shortcut poster.
Debugging:
I realize that none of you would write bugs, but in case you meet someone that does or perhaps on occasion you need to debug some code in order to explain […]
Read more

AUTHOR: CATEGORY: .Net, Headlines

Visual Studio Keyboard Shortcuts for Editing (MSDN Flash -Jan. 19, 2009)

,
January 3, 2009 / 2 Comments

Knowing all the keyboard shortcuts for editing shows off our programming prowess, just like it would it did for programmers that could use VI.   Rather than describing the well known ones like CTRL+F and CTRL+H, I am going to review some that are more unique to Visual Studio Programming:
Find

CTRL+I/CTRL+Shift+I
Incremental Search: Turns on incremental search so that […]
Read more

AUTHOR: CATEGORY: .Net, Headlines