Yet Another Podcast – De Sanctis on APIs

Today I spoke with Valerio De Sanctis, author of Building Web APIs with ASP.NET Core.

Posted in Essentials | Tagged | 59 Comments

Writing Unit Tests with ChatGPT

Just posted on Packt: Writing Unit Tests with ChatGPT

Posted in Essentials | 34 Comments

About that dozen programmer must-haves

I wrote this blog post in September of last year, and looking at it today I realized that I don’t use a couple of these anymore:

1) Resharper: the overhead was borderline too much and most of the refactoring power I used is now cooked into Visual Studio

2) Beyond Compare: never did get the hang of using this for git conflicts. Still searching for the right thing

3) OneNote – lost a lot of data with this and switched back to Evernote. Very happy with the change.

Finally, I still use Git Copilot but would move it to the top of the list. Integrated with Intellisense, it is by far the biggest productivity booster I know of. Can’t wait for CoPilot X!

Posted in Essentials | 33 Comments

New Job!

I have changed jobs within my current company (CNH Industrial). I will no longer be doing mobile programming (for the first time in six years) and will be building APIs and back-end code!

I think you can expect fewer articles on mobile/ .NET MAUI programming, and more on ASP.NET Core, Azure Functions, APIs, Architecture, Microservices, etc.

I’m also scoping out writing a book which may include the following topics:

  • Creating the back end (SQL Server & SQL)
  • Azure (Docker, Azure Functions) & Localhost
  • Designing and creating the Minimal API (architecture, end points, etc)
  • Creating the front end ( .NET MAUI )

The book would assume only that you have some C# experience. We’d also cover tools, setup, and best practices. All of this would be in the context of a non-trivial application.

I’d be very interested in hearing your thoughts on such a book. Please feel free to send me email at jesseliberty@gmail.com.

Posted in Essentials | 15 Comments

.NET MAUI Videos Free

I’ve posted my .NET MAUI For Xamarin.Forms Programmers and Advanced .NET MAUI videos on YouTube.

Posted in .NET MAUI | Tagged , , , | 25 Comments

Prague Comes To Boston

I’ll be presenting at Boston Code Camp on

  • .NET MAUI For Xamarin.Forms Developers
  • Advanced .NET MAUI

This is a free, one-day event on Saturday, April 29, in Burlington, MA.

Posted in .NET MAUI | 18 Comments

Advanced .NET MAUI Topic: Visual State

With the release of my newest book, .NET MAUI For C# Developers, I’m pleased to present occasional posts on advanced topics. If you are just starting out, however, you may want to take a look at my previous 15 part series in which I learn .NET MAUI or my second series that uses the app (Forget Me Not) that we’ll be using here. Finally, you can find my presentations on .NET MAUI and advanced .NET MAUI on YouTube, here.

Managing Visual State

Every VisualElement has a Visual State. For example, does the VisualElement have focus? Is it selected? Xaml allows you to change the presentation of that VisualElement (e.g., a button) based on that state.

Continue reading
Posted in .NET MAUI | Tagged , , | 536 Comments

Presented in Prague

I presented on .NET MAUI For Xamarin.Forms Programmers and Advanced .NET MAUI in Prague last week, and it was great (Prague, not the presentations).

All went well, but touring Prague was terrific. The city was founded in the 10th century and the architecture reflects a millennium of development. The city is immaculate and while only about ⅓ of the people I tried to talk to spoke English, many of those who did spoke it perfectly. The mass transit system is fantastic and the sites are literally awesome.

I’m very grateful to have had this opportunity.

Speaking at .NET MAUI Update
Posted in .NET MAUI, Essentials, Presentations | 20 Comments

.NET MAUI For C# Developers

In Stores Now!

Very excited about this book. Feedback is very welcome at jesseliberty@gmail.com.

Thanks!

Posted in Essentials | 472 Comments

Yet Another Podcast – NDepend

Excited to have Patrick Smacchia of NDepend on to discuss this amazing tool for creating world-class .NET applications.

Use Cases
Videos
Download NDepend

Posted in Essentials | Tagged | 27 Comments

XAML vs C#

My latest book: Learn .NET MAUI — An Essential Guide for C# Developers will be released March 31, 2023.

Given the existence and likely enhancements to the .NET MAUI Community Markup Toolkit for C#, and that many people will come to MAUI with little or no XAML (or will know XAML and hate it), I was tempted to show all of the code in C#.

But the truth is that most extant User Interface code is in XAML and anything you can do in C# you can do in XAML. So, at least for the first edition, the majority of the code is in XAML with one full view recreation in C#

Here is the Table of Contents:

  1. Assembling your tools and creating your first app
  2. What we will build: Forget Me Not
  3. XAML and C#
  4. MVVM And Controls
  5. Advanced Controls
  6. Layout
  7. Understanding Navigation
  8. Storing and retrieving data
  9. Unit Tests
  10. Consuming a REST API
  11. Advanced Topics

I’m eager to hear your ideas about this decision.

Thanks.

Posted in Essentials | 32 Comments

.NET MAUI Triggers

Triggers in .NET MAUI are not that different from triggers in Xamarin.Forms, but since this is not a frequently used feature, I thought I’d provide a quick deep-dive into their usage.

Triggers allow you to declare, in your XAML, how a control should appear based on data changes. You can combine state triggers with Visual State, a topic I’ll cover in a subsequent blog post.

This is the first of a series of short pieces based on material in my forthcoming book .NET MAUI For C# Developers (Packt* Publishing) which we are targeting for publication in early April.

Continue reading
Posted in Essentials | 4,198 Comments