Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
0 answers
7 views

How to provide auto scaling for CollectionView in Popup object from CommunityToolkit.Maui, after filling it by button clik event on Windows platform?

I am trying to provide auto height adjustment for CollectionView object in toolkit:Popup. In the popup there are some header, entry and button which invoke command to fill the CollectionView bellow it,...
Bartosz Zięba's user avatar
0 votes
0 answers
16 views

Service Bus Output in the Isolated Worker Model - .NET8 Function App

I have a function app that we are upgrading from the In-Process Model to the Isolated Worker Model. Below I have a dumbed-down, pseudocode version of what I am working on with the relevant method ...
Gabriel Whitehair's user avatar
0 votes
0 answers
8 views

Adding global attributes to OpenTelemetry metrics

I am using OpenTelemetry's Metrics to get information about my environment. I have several tenants that will use OpenTelemetry and will all be ingested into Prometheus and then Grafana. I would like ...
Adri's user avatar
  • 1
-1 votes
0 answers
20 views

How to hide tabpage in C#, you can't, but you can

OK You can't hide a TabPage in .NET as there is no visible property. However, you can have a MISC Tab and have several GroupBoxes on it which do have the Visible Property. Your MISC tab would have ...
Mike Sr's user avatar
  • 531
0 votes
1 answer
24 views

.NET Integration Test Singleton Service instantiated twice

I am working on a .NET SQL Server based application for which I need to write Integration tests. I am using CustomWebApplicationFactory to overide DbContextFactory to use an in-memory SQLite DB in ...
ankushbbbr's user avatar
0 votes
0 answers
4 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 ...
Jasmin Solanki's user avatar
0 votes
0 answers
16 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 ...
mharre's user avatar
  • 253
0 votes
0 answers
11 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 ...
Muhammad Usman's user avatar
0 votes
0 answers
4 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 ...
aim's user avatar
  • 1
0 votes
0 answers
17 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 ...
Shades49's user avatar
0 votes
0 answers
10 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 ...
Joseph Khoury's user avatar
0 votes
0 answers
17 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 ...
bitshift's user avatar
  • 6,570
0 votes
0 answers
23 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; ...
Luiz Bicalho's user avatar
0 votes
0 answers
37 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 ...
RobG's user avatar
  • 596
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 ...
wiki's user avatar
  • 185

15 30 50 per page