Continue the tutorial about APIs with Entity Framework Core and in particular how to implemente the PUT to update a record with dependencies.
Search Results for: entity framework
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.
Audit with Entity Framework Core
How to implement an efficient audit system with Entity Framework Core? In this post I explain what to do and the source code is on GitHub
Database Connection Resiliency in Entity Framework Core: update
In this post I’m talking about Database Connection Resiliency in Entity Framework Core, an update to my previous post about transaction operations
Database Connection Resiliency in Entity Framework Core
How to implement database connection resiliency using an inbuilt or custom execution strategy using Entity Framework Core
Transactions with Entity Framework Core
In the last couple of weeks, I was talking about Entity Framework Core for creating a model or call stored procedures. But how to use transactions?
Entity Framework Core and calling a stored procedure
With Entity Framework Core you are able creating a model from the database and also calling a stored procedure.
ASP.NET MVC 4 and Entity Framework Database Migrations
ASP.NET MVC 4 was released in beta by the Microsoft ASP.NET MVC Developer Team and it comes with a number of really cool features: Bundling and Minification Support of CSS and JavaScript, Database Migrations using Entity Framework 4.3, Web APIs, Mobile Web with support for jQuery Mobile, Real Time Communication via SignalR, and Asynchronous Support. The Database Migrations using Entity Framework Code-First is really cool and is very much like Rails where you can change your code and then via Package Manager add migrations and update your database as your…
Blazor integration with Identity Server
I share the code for a Blazor integration with Identity Server and BFF. All browsers don’t allow to share or save an authentication token
Secure Blazor WebAssembly with IdentityServer4
I’m going to explain how to secure a Blazor WebAssemble application with IdentityServer4. Also, how to secure API calls
Authentication in ShinyProxy with IdentityServer
In this post I explain how to use the authentication in ShinyProxy with IdentityServer and set up roles for each application.
Integration with Identity in AdminLTE project
I continue to add more features to the integration of AdminLTE with Identity and IdentityServer in AdminLTE in an ASP.NET Core project
Implement security workflow with Identity Server
The goal of this post is to implement security workflow with Identity Server 4 and C# among projects and services. With a bunch of examples, I’m going to show, practically, how to do it.
Adding an external Microsoft login to IdentityServer4
This article shows how to implement a Microsoft Account as an external provider in an IdentityServer4 project using ASP.NET Core Identity with a SQLite database. Setting up the App Platform for the Microsoft Account To setup the app, login using your Microsoft account and open the My Applications link https://apps.dev.microsoft.com/?mkt=en-gb#/appList Click the Add an app button. Give the application a name and add your email. This app is called microsoft_id4_enrico. After you clicked the create button, you need to generate a new password. Save this somewhere for the application configuration.…
Code First From Database’ Template not showing in Visual Studio Entity Data Model Wizard
According to Microsft in this article is should see an option ‘Code First From Database’ when adding a new item to the project under ‘ADO.NET Entity Data Model’ in step 3. Where is it the component for Code First like following picture? For installing in Visual Studio 2012 or 2013 this functions you can download the install for this link https://www.microsoft.com/en-us/download/details.aspx?id=40762
PendingModelChangesWarning with NET9
I am creating with NET9 using Entity Framework Core that returns PendingModelChangesWarning. Here how to understand this error and fix it
Creating a Model for an Existing Database
Creating entity & context model automatically in C# for an existing database is called Database-First approach with Entity Framework Core
Log record changes in SQL server in an audit table
How to implement a log record changes in SQL server in an audit table and Entity Framework. This is the easy explanation and the code
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
Custom User Management with NET8 and Blazor
In this new series of posts, I will show how to create custom user management with NET8 and Blazor based on Microsoft Identity.
Minimal APIs in NET6
From now on, we can create minimal APIs in NET6 that allows us to write in few lines of code powerful APIs. I collect all my understanding
Universal PredicateBuilder for Expression
In this new short post, I’ll show you how to create a universal PredicateBuilder for Expression in C# to merge 2 or more expressions with Linq
How testing the Application code
In testing the application code I’m going to be showing you how we can effectively test the different parts we’ve created in the so far
Architecting ASP.NET Core applications
I want to explain how architecting ASP.NET Core applications for enterprise projects based on clean architecture principles