Category Archives: Mini-Tutorial
Mastering C# – Pattern Matching
Microsoft has a wonderful tutorial on pattern matching, in which you model a lock (to raise or lower a ship when there would otherwise be a waterfall). They model the two doors and the water level. While their example is … Continue reading
Modern C# Part 3 – Switch Expressions
I admit it, I’ve struggled with pattern matching. In the next few blog posts I’ll explore this magic, starting today with switch expressions (not to be confused with switch statements).
.NET MAUI Forget Me Not – Part 6.5
I have posted the (incomplete) code at https://github.com/jesseliberty/GraniteStateForgetMeNot and a video of much of the material captured in this series is now on YouTube
Windows 8 Storing Data With SQLite
In a previous blog post, I showed the repository pattern with local or remote data storage. In this blog post, based in part on work done for my upcoming book Pro Windows 8 With C# and XAML by Jesse Liberty … Continue reading
Windows 8 Conference Buddy–Be A Sharing Target
Yesterday, we looked at being a sharing source. This was surprisingly easy. Being a target would be more complex except that Visual Studio provides a template that greatly simplifies the process.
Windows 8 Conference Buddy–Be A Sharing Source
Everybody loves to share. (At least after they are beaten into doing so in pre-school.) The ability to share from one application to another can be anything from useful to critical. Historically, we’ve seen a number of ways of doing … Continue reading
Windows 8–Let Templates Simplify the Search Contract
In a previous post, I showed a bit about how to implement the Search contract. Once you understand the changes to Package.appxmanifest and App.xaml.cs, however, you can save yourself the bother of mucking about with these, and let the template … Continue reading
Win 8 – Conference Buddy. Storing to Local or Roaming Files
In a previous post, I explained how to store data to a “known location” such as the My Documents folder. Often, however, you will want to store local data to a subfolder of AppData on the user’s disk. This is … Continue reading
Windows 8–Storing App Data
While your Windows 8 Store application is running, you want to be saving data all the time. After all, the user can switch to another application at any time, and you only have five seconds to store out your data … Continue reading
Windows 8: Creating Great App Bar Buttons
With chrome pushed out of Windows 8 Store applications, most of the navigation has been moved into the AppBar. A good AppBar has buttons that are easy to reach and easy to recognize.
Using the Grid App Template in Windows 8
Microsoft Visual Studio offers a number of templates for building Windows 8 applications. In most of my postings, we’ve been using the Blank application template, but the Grid App template is extremely powerful. Unfortunately, it is not obvious how to … Continue reading
Windows 8 Theme Transitions
Much of the animation that you want in your application is already built in. Pages and objects make their transitions smoothly. At times, however, adding a bit more animation can make the difference between a “fast and fluid” application and … Continue reading