24,012 questions with .NET-related tags

Sort by: Updated
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
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

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,194 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-07T06:42:40.1266667+00:00
Anjali Agarwal 1,386 Reputation points
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
edited the question 2024-05-07T06:38:27.61+00:00
Jiale Xue - MSFT 33,751 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,671 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,194 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
0 answers

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
edited the question 2024-05-07T05:18:33.2066667+00:00
Rakesh Gurram 2,925 Reputation points Microsoft Vendor
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 an answer 2024-05-07T04:38:27.8533333+00:00
KOZ6.0 4,895 Reputation points
1 answer

How to pass values from a Razor page to an Asp.Net MVC controller

I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
asked 2024-05-07T02:32:23.82+00:00
Sherpa 161 Reputation points
answered 2024-05-07T04:14:52.1333333+00:00
SurferOnWww 1,916 Reputation points
1 answer

How to fix Error CS0029 Cannot implicitly convert type 'void' to 'System.Collections.Generic.List<Vase.Models.Person>'

var user = from u in conn.Table<Person>() querywhere u.name == "WALE" select u; return user.FirstOrDefaultAsync().Wait(); I got error in the bold line. i cant figure what i did wrong pleas help

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 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
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-05-07T00:20:57.27+00:00
Gbenga Banuso Odumosu 0 Reputation points
answered 2024-05-07T03:54:27.85+00:00
0 answers

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

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-05T17:01:04.1133333+00:00
Gani_tpt 1,566 Reputation points
edited a comment 2024-05-07T03:49:13.46+00:00
SurferOnWww 1,916 Reputation points
3 answers

Where Can I Find the Remoted iOS Simulator for Windows PC?

Where can I find the Remoted iOS Simulator for Windows PC?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point
answered 2024-05-07T03:33:28.7833333+00:00
R9I1 1 Reputation point