Continue the tutorial about APIs with Entity Framework Core and in particular how to implemente the PUT to update a record with dependencies.
Category: .NET
.NET (dotnet) is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
So, there are various implementations of .NET (dotnet). Each implementation allows .NET code to execute in different places—Linux, macOS, Windows, iOS, Android, and many more. This framework has two main versions:
- Framework is the original implementation of .NET. It supports running websites, services, desktop apps, and more on Windows.
- Core is a cross-platform implementation for running websites, services, and console apps on Windows, Linux, and macOS. .NET Core is open source on GitHub.
Then, Xamarin/Mono is a .NET (dotnet) implementation for running apps on all the major mobile operating systems, including iOS and Android.
The .NET Standard is a formal specification of the APIs that are common across .NET implementations. This allows the same code and libraries to run on different implementations.
Therefore, the two major components of .NET (dotnet) Framework are the Common Language Runtime and the .NET Framework Class Library.
- The Common Language Runtime (CLR) is the execution engine that handles running applications. It provides services like thread management, garbage collection, type-safety, exception handling, and more.
- The Class Library provides a set of APIs and types for common functionality. It provides types for strings, dates, numbers, etc. The Class Library includes APIs for reading and writing files, connecting to databases, drawing, and more.
Summarize, .NET (dotnet) applications are written in the C#, F#, or Visual Basic programming language. Code is compiled into a language-agnostic Common Intermediate Language (CIL). Compiled code is stored in assemblies—files with a .dll or .exe file extension.
At the end, when an app runs, the CLR takes the assembly and uses a just-in-time compiler (JIT) to turn it into machine code that can execute on the specific architecture of the computer it is running on.
APIs with Entity Framework Core: POST
Here how to change the minimal APIs with Entity Framework Core for POST and GET in order to save and retrieve an object with dependencies.
APIs with Entity Framework Core
I want to give a complete example of minimal APIs in Blazor with Entity Framework Core with complex objects.
PendingModelChangesWarning with NET9
I am creating with NET9 using Entity Framework Core that returns PendingModelChangesWarning. Here how to understand this error and fix it
NET9 is here
NET 9 is here and out today. In this post, I highlight the top updates across 8 key areas. Are you ready to migrate to NET9?
Connect MongoDB with Node.js
In this new post, I show how to connect our application to MongoDB using Node.js. Send users and test your application using an APIs client.
How to use FlexLayout with different sizes
In this new post, I want to show you via a simple project how to use in MAUI FlexLayout with children with different sizes.
Build your sentence in MAUI
How to create a simple component to build your sentence in MAUI using taps and gestures. Source code available.
Maui error Javax.Crypto.AEADBadTagException
What is the workaround when you get the error Maui error Javax.Crypto.AEADBadTagException with MAUI version 8.0.82
Sequoia doesn’t work with MAUI
Sequoia doesn’t work with MAUI. Now I can’t try my apps on iOS. It is still working for macOS. Here the solution!
Picker doesn’t work for MacCatalyst
The MAUI Picker doesn’t work for MacCatalyst. And this is quite annoying. Here an idea how implement a workaround to this issue.
Language Dropdown for MAUI
I released a new component called Language Dropdown for MAUI. This displays a dropdown with all the languages in the world with their flags
Split SQL script tool
I have created a simple C# console application as a tool to split big SQL scripts. For example, I had a problem with data seed scripts.
Display HTML with MAUI Label
I show how display HTML with NET8 MAUI Label using only the Label attributes. The source code of this post is available on GitHub
New MarkdownEditor components for JavaScript and Blazor
Today, after 2 years, I released a new Markdown Editor components for JavaScript and Blazor. The full source code is available on GitHub.
Country data library for NET8
I’m going to release a simple cross-platform offline country data library for NET8. The library is based on the ISO-3166-1 standard
Using ChatGPT library for grammar checker API
In this article, we’ll show you a way for using my new ChatGPT library for a grammar checker API with ASP.NET Core step-by-step
New ChatGPT library for C#
I release a new ChatGPT library for C# that helps with the communication and calls to the popular Open AI tool.
Language In Use is here!
Language In Use is here! I’m so excited about the presentation of my new project. My new app helps you to learn and improve your language
Maui CommunityToolkit Popup crashes applications
I use the MAUI CommunityToolkit version 9.0.1 and in particular Popup crashes my applications. I discovered why and how to avoid it
MAUI raises on iOS MT1045
When from Visual Studio you deploy a real device a MAUI application raises on iOS the error MT1045. Here what to check to fix the problem
Deep linking for NET8 MAUI
In this post everything you have to do to implement deep linking for NET8 MAUI for mobile and desktop applications
MAUI Push Notifications using Azure Notification Hub for iOS
Here the new post where I explain how to implement the Push Notifications in MAUI using Azure Notification Hub for iOS without external plugin
Set safe areas for iOS in MAUI
When you create an application for iOS in MAUI, we have to set the safe areas if we want to use the full screen for your application.
Deploy MAUI apps on a real device
Developing applications with NET8 MAUI, we want to deploy apps on a real device. Here are all the necessary steps without wasting time.