24,013 questions with .NET-related tags

Sort by: Updated
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,195 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,197 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
edited the question 2024-05-07T07:54:56.51+00:00
JasonPan - MSFT 4,366 Reputation points Microsoft Vendor
0 answers

How to apply Width and Height of Text on CanvasDevice's DrawText, that means some text width is too small some text too high how to calculate this and apply

//JSON file "Templates": [ { "TemplateID": "1", "TemplateName": "WHITE", "CardFeeder": "A", "Sides": [ { "Side":…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
asked 2024-05-07T02:46:56.3133333+00:00
Saranya Karthik 40 Reputation points
commented 2024-05-07T07:48:34.69+00:00
Junjie Zhu - MSFT 15,061 Reputation points Microsoft Vendor
2 answers

How to fire .net analyzers also running project

Hi guys, I'm in trouble with .net analyzers; they works fine building the project but they aren't fired running the project. I don't found any solution either on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,627 questions
asked 2024-04-12T08:20:03.8366667+00:00
Fabrizio Mancin 0 Reputation points
answered 2024-05-07T07:47:56.8366667+00:00
Fabrizio Mancin 0 Reputation points
0 answers

How can I find the Text (width/length/ending point) in CanvasDevice via CanvasDrawingSession

fontFamilyName = $"ms-appx:///Assets/HelveticaNeue-Bold.ttf"; CanvasTextFormat FNtextFormat = new CanvasTextFormat { FontSize = CardTheme.FN.FS, …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
asked 2024-05-07T06:55:28.0533333+00:00
Saranya Karthik 40 Reputation points
commented 2024-05-07T07:35:54.9333333+00:00
Roy Li - MSFT 32,071 Reputation points Microsoft Vendor
0 answers

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-07T07:26:52.1+00:00
Sreejith Sreenivasan 691 Reputation points
2 answers

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,836 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
edited a comment 2024-05-07T07:19:29.1233333+00:00
KOZ6.0 4,895 Reputation points
2 answers

running asp.net intranet application on localhost asking for authentication

I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,195 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-07T07:15:41.7566667+00:00
SurferOnWww 1,916 Reputation points
1 answer

When i run a default maui blazor app it not showing output Whats the reason for that? this is the error message i got The program '[12180] MauiApp2.exe' has exited with code 2147942405 (0x80070005).

Windows 10 pro version 22h2 os biuld 19045.4291 Visual Studio enterprise 2022 17.9.6 This is my pc and visual studio versions that im using. When i run a default maui blazor app it not showing output Whats the reason for that? this is the error message…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
4 questions
asked 2024-05-07T04:52:00.16+00:00
s. Nilothaman 0 Reputation points
answered 2024-05-07T07:00:19.53+00:00
SiddeshTN 2,630 Reputation points Microsoft Vendor
0 answers

Use streaming in ASP.NET Core SignalR can stream video in room in realtime?

I read this article [Use streaming in ASP.NET Core SignalR] When client A play the video, I will convert the blob file to the byte array. and then send it to the server using streaming in SignalR as described in the article. staying at client B in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,195 questions
asked 2024-05-07T06:59:55.42+00:00
Hoài Nam Nguyễn 41 Reputation points
1 answer

"owl carousel" not working when appending data dynamically using jquery

I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
875 questions
asked 2024-05-06T04:31:47.04+00:00
Ashok Kumar 161 Reputation points
commented 2024-05-07T06:42:56.0533333+00:00
Lan Huang-MSFT 25,866 Reputation points Microsoft Vendor
1 answer

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-05-07T06:38:01.6666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,746 Reputation points
commented 2024-05-07T06:30:32.36+00:00
Dani_S 2,746 Reputation points
1 answer One of the answers was accepted by the question author.

Upgrading to .Net 8 results in errors when referenced by a project targeting '.NetFramework=4.61'

I am using the upgrade assistant to upgrade the framework, but it's resulting in many errors. Is there any documentation available that explains step-by-step how to fix the errors that occur during the framework upgrade process?

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
4 questions
asked 2024-04-29T22:40:37.7233333+00:00
Ziya Ganjili 20 Reputation points
edited the question 2024-05-07T06:23:03.62+00:00
Pradeep M 475 Reputation points Microsoft Vendor
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,672 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-07T06:20:59.83+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,195 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
edited a comment 2024-05-07T06:14:08.4733333+00:00
Abhishek, Burra 0 Reputation points
0 answers

How to use condition to compare two things for dropdown and an empty field in wpf?

Hi Team Need to use a condition will check if combo box(truck-empty) for selected item and when an empty field(topseal and bottomseal), needs to validate for both. Meaning when a user selects this combo box for truck-empty condition must met only here,…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,678 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
asked 2024-05-06T20:20:32.45+00:00
Gcobani Mkontwana 20 Reputation points
commented 2024-05-07T06:07:34.7533333+00:00
Gcobani Mkontwana 20 Reputation points
1 answer One of the answers was accepted by the question author.

Detect Scrolled to end of webview to enable a button in maui

I have a custom renderer like this where ScrollWebView is my custom control from webview with IsBottomReached property. I tried registering this Renderer in mauiprogram class, then it started crashing with an exception of "Specified cast is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-05-03T03:37:30.4166667+00:00
Keerthana Krishna 20 Reputation points
commented 2024-05-07T06:01:55.9366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
0 answers

Editor is vanish when I move to full screen

Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,746 Reputation points
commented 2024-05-07T06:00:31.14+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
0 answers

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
commented 2024-05-07T05:55:09.74+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
2 answers

Deployment problem - error MSB4186: Invalid static method invocation syntax

I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
asked 2024-04-11T14:05:02.25+00:00
Michael B 25 Reputation points
commented 2024-05-07T05:42:44.1733333+00:00
PMonteIT 21 Reputation points