MvvmGen 1.1.0 and the New Special Edition: PURE CODE GENERATION

MvvmGen 1.1.0 and the New Special Edition: PURE CODE GENERATION

In the last blog post I introduced you to MvvmGen, the new MVVM library built with a strong focus on C# Source Generators. Some of you asked in the comments of the blog post and also per email if a…

In the last blog post I introduced you to MvvmGen, the new MVVM library built with a strong focus on C## Source Generators. Some of you asked in the comments of the blog post and also per email if also the library could be generated, so that there is no runtime dependency.

Today, I’m happy to announce that this is now possible. Check out the requested special edition on NuGet: MvvmGen.PureCodeGeneration. This edition generates everything for you, not only the ViewModels, but also the full library. That means, there is no runtime dependency for your application. Let’s look at this edition in this blog post, and let me also show you what’s new in version 1.1.0.

Before we look at the details, let’s look at the structure of the normal MvvmGen NuGet package.

The Normal MvvmGen NuGet Package

When you reference the MvvmGen NuGet package in your project, you’ll get two things:

a) A development dependency: The ViewModelGenerator, which generates your ViewModels

b) A runtime dependency: The MvvmGen.dll

The MvvmGen.dll contains MvvmGen‘s ViewModelBase class, the EventAggregator, the DelegateCommand, and all the attributes like ViewModel and Property that you use to decorate your ViewModel classes. When you look at the following screenshot, you can see in the Solution Explorer the ViewModelGenerator and also the MvvmGen.dll.

.net c# maui mvvm mvvmgen uwp

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

jQuery Ajax CRUD in ASP.NET Core MVC with Modal Popup

In this article, we’ll discuss how to use jQuery Ajax for ASP.NET Core MVC CRUD Operations using Bootstrap Modal. With jQuery Ajax, we can make HTTP request to controller action methods without reloading the entire page, like a single page application.

.NET Conf 2020 Demos & Sessions for .NET 5 + Virtual Events!

This year’s .NET Conf was the largest one yet, with over 80 live sessions across three days that were co-organized and presented by the .NET community and Microsoft.

Dicey Issues in C/C++

C/C++ problems. If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends.

How to Run C/C++ in Sublime Text?

C and C++ are the most powerful programming language in the world. Most of the super fast and complex libraries and algorithms are written in C or C++. Most powerful Kernel programs are also written in C. So, there is no way to skip it.

How to send emails in C#/.NET using SMTP

Hello Everyone, In this tutorial, we will learn how to send emails in .NET/C# using SMTP. SMTP.