Questions tagged [.net-8.0]
Use this tag for questions specifically related to version 8.0 of the .NET platform. Use only If your question is version specific. For questions about .NET 5+ / .NET Core generally, use the [.net-core] tag.
.net-8.0
1,747
questions
0
votes
0
answers
9
views
Named HTTP Client for Graph API - ASP.NET Core 8 web app
I'm creating a web application in ASP.NET Core 8.0 and I require to use a named HTTP client for updating the signed in user details (e.g. phone number, display name, email..).
I require to use HTTP ...
0
votes
0
answers
13
views
Quickfix/n App - Kafka - Missing messages in Kafka
First of all if I need to separate the post in multiple questions please tell me how to do it by preserving the diagram and general information. thanks
I implemented a dropcopy fix reader and ...
0
votes
0
answers
8
views
How to use Teechart Maui in a .net for ios project
I implemented successfully Teechart for Xamarin.ios (Xamarin native) in my mobile app a few month ago.
Now we have migrated our Xamarin.iOS native app to ".Net for iOS" (without MAUI).
I see ...
0
votes
1
answer
41
views
ASP.NET Core MVC - Redirect to Access Denied Page on 403
I have a relatively simple ASP.NET Core MVC intranet app that was originally written in .NET Core 2.0, but which I'm trying to update to .NET 8.
I'm not making any other changes to it (yet), all I'm ...
1
vote
0
answers
31
views
Minor version not working with Asp.Versioning in .Net 8.0
Using .Net 8.0
We were using deprecated Microsoft.AspNetCore.Mvc.Versioning. Now we are migrating and removing it and using below 2 packages:
PackageReference Include="Asp.Versioning.Mvc" ...
0
votes
1
answer
24
views
QuickGrid Blazor .NET 8 - wordwrap title to next line
I want to use QuickGrid with Blazor on .NET 8. I have columns with small digit data, but long titles to describe the data properly.
At the moment, if I want the title to be displayed, I need to make ...
0
votes
0
answers
13
views
UnmanagedCallersOnly symbols not visible in .net AOT compiled executable
Function in AOT executable:
[UnmanagedCallersOnly(EntryPoint = "Add")]
static int Add(int a, int b)
{
return a + b;
}
C++ loader code:
#include <stdio.h>
#include <stdlib.h>
...
0
votes
1
answer
33
views
.NET 8 Windows Service Example won't start (System.IO.IOException)
I'm trying to create a .NET 8 Windows Service.
Have followed this guide:
https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service
All is good until I try to start it, Event Viewer ...
0
votes
1
answer
17
views
The required antiforgery header value "RequestVerificationToken" is not present
I'm trying to implement CSRF between a Next.js frontend and a .NET backend API.
First, the frontend app gets a CSRF token from the API. The API returns a cookie with the antiforgery token.
antiforgery....
0
votes
0
answers
26
views
Any pitfalls in upgrading a WPF application from .Net 6 to .Net 8?
We're looking to upgrade some large WPF solutions from .Net 6 to 8, and my understanding is that the process should be straightforward (changing the projects' target framework). But are there any ...
0
votes
0
answers
22
views
MVC pages are not running with ReactTS
We have a web application which runs on .NET 8 (recently we migrated from 5 to 8).
Now the team is planning to build new screens in ReactTS and merge these screens with the existing .NET 8 web ...
0
votes
0
answers
15
views
How do I creat a dot net project template when when used within VS 2022 creates the project under a specific directory structure under the solution?
I want to create a .NET project template when it is used within Visual Studio 2022 to create a solution and project at the same time.
My solution will be in the root folder. I want the project to be ...
0
votes
1
answer
41
views
How to maintain Authentication State with Blazor 8 Server Interactive
I have a setup a full example project here with a kludge where I have to manually call it to grab the state on every page. The problem is if the user refreshes the page then it will redirect to login ...
1
vote
1
answer
40
views
Using FromBody with custom model binding in .NET Core 8
X is an entity that can execute some actions on through calling API.
Each action has its own input model, but one generic controller endpoint like this:
[HttpPost("{id}/execute-action")]
...
-1
votes
2
answers
51
views
.NET 8 Rate Limiting via Policy
I am trying to run the .NET 8 Rate Limiting Middleware, with a global rate limit, as well as a specific policy for certain endpoints. The global policy is working as expected, but I cannot get the ...