Questions tagged [.net]
Do NOT use for questions about .NET Core - use [.net-core] instead. The .NET framework is a software framework designed mainly for the Microsoft Windows operating system. It includes an implementation of the Base Class Library, Common Language Runtime (commonly referred to as CLR), Common Type System (commonly referred to as CTS) and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++/CLI.
217
questions
0
votes
0
answers
3
views
How to add excludecodecoverage attribute at namespace level?
I have one project which containg 3 foplders Models, Services and Core where in models folders contains POCO class which i dont want to include part of coverege so how can we do that? I know that ...
0
votes
0
answers
10
views
.NET 8 / Blazor WASM Rendering Issues with Identity Server
I was tasked with experimenting with Duende Software's Identity Server for a future project. Something strange is happening with the rendering of components which causes the app to lose all of the ...
0
votes
0
answers
8
views
.Net MAUI Map elements Tabbed event
i am working on .net maui map, drawing circles using mapElement but struggling to find the an event/command that triigers when clicked on a circle.
In xamarin forms we handle circle element cliked
...
0
votes
0
answers
3
views
Reference to IExceptionHandler interface not being resolved from Microsoft.AspNetCore.Diagnostics
I am adding a global exception handling project to my solution and have installed the Microsoft.AspNetCore.Diagnostics NuGet package. Although the package is recognized and listed in the project's ...
0
votes
0
answers
13
views
Multi-Collection Views - Display .NET MAUI CollectionView within a CollectionView
I am developing a c# .NET Maui application that creates a bowling app that maintains a recap of scores for bowling team. The requirements are that it is a general application that supports leagues ...
0
votes
0
answers
9
views
Identity server redirection problems on the same browser instance
I have a problem when I use many account in the same instance of browser.
In the first connection from my site to the client site, the authorize endpoint is invoking, and I have in the log: "No ...
0
votes
0
answers
13
views
Generic way of handling call to multiple api endpoints that use JWT
Setting up an application to call one of a handful of different client api endpoints, each of which use JWT. However, as of now I dont know the specifics of how the specific client might implement ...
0
votes
0
answers
19
views
I created a c# Roslyn source generator and a test, the generator works but the test doesn't find the same source
I created a simple source generator that works fine
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
...
0
votes
0
answers
31
views
Access denied trying to execute c# console application
First up, I'll admit I'm a total noob at this. I'm just trying to learn, but it gets hard when I hit this kind of problem. Google hasn't provided any answers so I thought I'd ask here.
I built my ...
0
votes
0
answers
5
views
The top XML element 'ReservationControlInformationDetailsTypeI' from namespace '' references distinct types
I used svcutil to generate proxy class. I used this proxy class to communicate with Amadeus web services, But when compiling the web service, the error is generated and it is given below.
The top XML ...
0
votes
0
answers
16
views
Ghostscript Log Creation
I have an application where I am using ghostscript to convert image to pdf. I am using dll of ghostscript and using it in a .Net web api. And ghostscript software is also installed in the server, ...
-3
votes
0
answers
15
views
Convert a html data or string to XSLT and then to pdf or is there any other way to do in C# [closed]
Can someone help me to figure out how we can convert a html data or string to XSLT and then convert to pdf or is there any other way to do in C#.I need to map the values we have in html to pdf. Please ...
0
votes
0
answers
12
views
opentelemtry exports previous custom metrics every 10 sec
I have a .NET application configured to export custom metrics using the OpenTelemetry SDK to Application Insights. I’ve noticed that even when metrics aren’t updated, OpenTelemetry still pushes the ...
0
votes
0
answers
13
views
What is the Mapperly equivalent of AfterMap method in Automapper?
I'm trying to replace AutoMapper with Mapperly in our project due to the latter's performance. However, I'm facing difficulty while replacing AutoMapper with Mapperly because I can't find any ...
0
votes
0
answers
6
views
How can I resolve the error named "callElasticsearch" in APM?
Good morning,
I have all the observability of the company in ElasticSearch using APM and now appears an error named "callElasticSearch" with this message:
How can I manage that not appears ...