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.
339,291
questions
1
vote
0
answers
11
views
Does `ReadAsMultipartAsync` use preloaded buffer data?
If I use Request.Content.LoadIntoBufferAsync() to limit the buffer size, does Request.Content.ReadAsMultipartAsync() read the content from this preloaded buffer, or does it read the content fresh?
...
0
votes
0
answers
8
views
MAUI .NET 8 - Absolute layout height size is not same as in Portrait and Landscape mode
In my MAUI project, I used AbsoluteLayout to define a UI design. However, I found that AbsoluteLayout height proportional is the same as in Portrait and Landscape.
The height size differs, For example,...
0
votes
1
answer
23
views
Login failed: 530 User cannot log in. FTPS Azure connection failing with web app
I created my first .Net api and I would like to upload it in a Azure web page using Github actions and FTPS. However, I keep getting error when trying connect to the ftps server.
This is what I type ...
0
votes
0
answers
15
views
gRPC request aborted when sending large request
We have three services: an API, an orchestrator and finally an order service.
A REST request is sent to the API, it then calls the orchestrator service with gRPC, and the orchestrator calls several ...
0
votes
0
answers
8
views
Stop Visual Studio launching browser at Dev Tunnel address
I have a .Net 6.0 web application project and I've added a Dev Tunnels to the Visual Studio (2022 Version 17.11.0 Preview 1.1) project.
When running the project, I want to launch the browser at the ...
0
votes
0
answers
8
views
Dynagraph library for a C# .NET option
Is there any way I can create a dynagraph on C# and .NET for a Windows application? I have tried to search ready library but I didn't found any one? And if this is not available then any idea how can ...
0
votes
0
answers
14
views
Make wwwroot folder and file writable after publish in a Maui Hybrid Blazor application
I have a nuget package for print pdf, but the path of the pdf file has to be in wwwroot folder
Nuget Package Print
So i generate the pdf and save it to the wwwroot file and then call the print service,...
0
votes
0
answers
15
views
Improving Location Accuracy in .NET MAUI User Tracking Application
I'm developing a user tracking application using .NET MAUI, but I'm encountering significant issues with location accuracy. The captured latitude and longitude often show incorrect positions, even ...
0
votes
1
answer
19
views
Autodesk Platform Services (Forge) .NET SDK OssClient.DeleteObjectAsync() & OssClient.GetObjectDetailsAsync() NullReferenceException
I can successfully create a new object in the specified bucket using a local file as shown. This can be verified using the OSS Manager Tool
.
But, I'm unable to get the details for that object or to ...
0
votes
0
answers
8
views
.NET identity database model confusion regarding Roles and Claims
I'm using ASP.NET Identity to implement authentication and authorization in my web API app. I'm a bit confused with the good old Roles vs Claims question, and I have not yet found a clear answer.
From ...
0
votes
0
answers
9
views
find Cosmos RU in custom dimension of Application Insight
I am looking to get RU usage and saw the post How to get RU of a query in Dependencies through Application Insights Analytics Tool? but yet the response header is not coming in the custom dimension.
...
0
votes
0
answers
31
views
Getting Windows user's name in "Firstname Lastname" format when user is part of a group
I'm trying to get the name of the currently logged in Windows user in the format "John Doe". I'm not sure if there's an accepted term for this, but think, the name you see when you bring up ...
0
votes
0
answers
36
views
Running .net app on new server: You must install or update .NET to run this application
Having problems getting our .net 7 apps to run on a new Windows 2022 server. Installing exactly what MS says here does NOT solve the issue. I know people have asked this a million times, and I ...
0
votes
1
answer
14
views
Migration from Polly to Microsoft.Extensions.Http.Resilience - Extend ShouldHandle
I want to migrate from Polly to the Microsoft.Extensions.Http.Resilience AddStandardResilienceHandler. My shortened Polly code is the following:
services.AddHttpClient<MyService>()
....
0
votes
2
answers
43
views
Azure DevOps Pipeline Fails During Package Publishing Step for .NET 8 Project
I have a .Net 8 Project running in an Azure Function App and I am using via Azure devops pipeline as CICD. Everything runs fine without issue. Now I am having some problems. I have not made a code ...