How to perform a data annotation validation for the input as IAsyncEnumerable in ASP.NET Core 7 API controller POST action. I tried to use the followi ...
How to perform a data annotation validation for the input as IAsyncEnumerable in ASP.NET Core 7 API controller POST action. I tried to use the followi ...
I am currently working on implementing some Apis using swagger/swashbuckle in net core 7 and implementing some error handling, I've gone down the rout ...
I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- here is a screen shot:- ...
Project type: ASP.NET Core 7 MVC web application. I'm trying to post back to the controller when the check-circle icon is clicked, but I'm getting an ...
I am trying to add a controller with routing to a Razor server-side app. I tried several things but I only see solutions for .NET 6 and cannot figure ...
I am following the tutorial for the MVC version of Contoso University at: https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/update-related-dat ...
How do you configure Brighter with ASP.NET Core 7? Brighter documentation is pretty sparse on details, sample on the internet seems outdated too. Is ...
Project: ASP.NET Core 7 MVC web application I've added an object to the HttpContext.Items collection from within a controller and I am trying to acce ...
With minimalistic API how does MapGet automatically fill parameters from querystring? With minimalistic API the following is possible: When you ca ...
Using Net Core 7 I have Razor Pages with a culture route parameter: I created a custom route constraint to check if culture has a valid value. Whe ...
In a Net 7 project I am setting localization in Program: I have two Razor Pages (Index and About): I am able to access Homepage (Index) using: ...
In the past (long away) I used Crystal Report to make reports, at this moment I am using Visual Studio 2022. I am trying to make reports for ASP.NET C ...
This project was created for ASP.NET on .NET 4.6, but now I will try to move it to ASP.NET Core 7.0. What can I write instead of this code in ASP.NET ...
I am new to Entity Framework Core 7 and ASP.NET Core 7 MVC. I am learning the concepts using the Northwind database. I am using a generic repository a ...
I have my asp.net core 7 web api app running using Program.cs and Startup.cs. I have my Integration Tests already written using CustomWebApplicationFa ...
I am trying to authenticate an Appwrite user with my ASP.NET Core 7 Web API. In the past, I used Firebase for this with which I was able to implement ...
I am working on a simple Web API that uses MySQL as database. It's pretty basic: The idea is simple. This is a middleware method that writes all re ...
I'm having issues when I try to build the application that leads me to run a package restore, but that fails, and I can't update packages either. I ...
I have a class with ~400 string properties(it's auto-generated) I would like to apply [StringLength(50)] to all properties within the class. Is that i ...
When I set the action attribute manually, the "Antiforgery" element/token is missing (not automatically generated/injected) Code (part of) in partial ...