23,928 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,393 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 20 Reputation points
accepted 2024-04-30T10:45:27.97+00:00
wilfried kinda 20 Reputation points
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,383 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,883 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-04-30T10:37:28.2033333+00:00
Dani_S 2,726 Reputation points
2 answers

Add Items to List Randomly

I am fetching 50 questions from Api https://supaquizapi.azurewebsites.net/api/Questions Loading into list and deleting 40 questions randomly. Now I just to add 10 questions randomly to Questions List<InQuestion> res = await GetApiData(); …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,175 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,260 questions
asked 2024-04-30T08:09:59.47+00:00
Maui Learner 420 Reputation points
answered 2024-04-30T10:18:53.54+00:00
Maui Learner 420 Reputation points
1 answer One of the answers was accepted by the question author.

How to Sum, Join, Union, Group By Month And Year Using LINQ Query

I have two tables. I want to find the sum of the data in one table and the subtraction of the second table. I am trying to explain the matter by attaching an image below. Note here that I don't know which table's data will come first. Maybe the data of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,175 questions
asked 2024-04-24T09:55:08.01+00:00
jewel 801 Reputation points
accepted 2024-04-30T10:16:36.6933333+00:00
jewel 801 Reputation points
0 answers

On visual studio community 2022 These numbers circled in blue is that what you call Lines

On visual studio community 2022 These numbers circled in blue is that what you call Lines

Universal Windows Platform (UWP)
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,674 questions
asked 2024-04-30T10:01:02.8633333+00:00
Luke Ferguson 46 Reputation points
commented 2024-04-30T10:15:12.33+00:00
David Lowndes 2,350 Reputation points MVP
1 answer

Use API web app for DefaultAzureCredential

I created a key vault using .net and have added access policies which allows access for the api web application to create keys, secrets, and certificates. The goal would be able to create keys, secrets, and certificates through .net c# code. I tried…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,118 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,383 questions
asked 2024-04-24T05:49:31.9833333+00:00
Bryan Apilada 0 Reputation points
edited an answer 2024-04-30T10:15:08.1533333+00:00
Shweta Mathur 27,691 Reputation points Microsoft Employee
3 answers

Scriptmanager alert not displaying properly in same page

I am doing some simple screen add functionality and after end of saving, i am using scriptmanager.RegisterStartupScript() for save message. when i run the program, the alert have not been throwing properly. it showing same page but, without controls like…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,261 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,260 questions
asked 2024-04-29T17:12:15.2666667+00:00
Gani_tpt 1,526 Reputation points
commented 2024-04-30T10:11:40.3033333+00:00
Gani_tpt 1,526 Reputation points
0 answers

How can I prevent the device font size effect of a MAUI iOS app?

When ever I change the font size in the iOS device, that font size is effecting on the MAUI application. I want to restrict that. Thanks Vaibhav Methuku.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,883 questions
asked 2024-04-30T07:59:29.0966667+00:00
Vaibhav Methuku 60 Reputation points
commented 2024-04-30T09:56:51.57+00:00
Vaibhav Methuku 60 Reputation points
0 answers

OutputCaching issue in .NET 8.0

Hi, I have implemented the Output Caching in ASP.NET Core 8.0 and deployed the same S3 bucket and Lambda function and its exposed through AWS API gateway. After implementation output cache and I have tested the local swagger API through postman first…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,383 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,175 questions
asked 2024-04-26T11:48:11.7033333+00:00
Venkat 1 Reputation point
commented 2024-04-30T09:44:26.26+00:00
AgaveJoe 26,206 Reputation points
1 answer One of the answers was accepted by the question author.

How to add to "GraphicsView" class with “DrawableProperty" in dotnet maui

Hello! I trying drawing of the circle in center which is touched in the "GraphicsView" control. And I thought the one of the important points is how to add "GraphicsView" class with "DrawableProperty" in dotnet Maui. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,883 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,260 questions
asked 2024-04-27T01:29:11.7533333+00:00
康二郎 井上 0 Reputation points
accepted 2024-04-30T09:35:55.1866667+00:00
康二郎 井上 0 Reputation points
1 answer One of the answers was accepted by the question author.

Touch keyboard changes layout when switching between WPF TextBox controls

Hi, I'm experiencing a strange behaviour in a simple WPF app running on a tablet (Surface Pro 7, Windows 10.0.19043). The UI has several TextBox controls that have InputScope=Number defined. <Window x:Class="SimpleTouchWPF.MainWindow" …

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,674 questions
asked 2024-04-28T10:37:17.14+00:00
Sergey Efremov 0 Reputation points
accepted 2024-04-30T09:34:36.39+00:00
Sergey Efremov 0 Reputation points
3 answers

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,261 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,260 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,526 Reputation points
answered 2024-04-30T09:33:46.47+00:00
Lan Huang-MSFT 25,556 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Opening a Window Using Its Name

From my MainWindow I am trying to open another window knowing only its name. In my MainWindow ViewModel, I have: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (lpClassName As String, lpWindowName As String) As…

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,674 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,574 questions
asked 2024-03-26T09:29:31.52+00:00
RogerSchlueter-7899 1,216 Reputation points
accepted 2024-04-30T09:29:57.9366667+00:00
RogerSchlueter-7899 1,216 Reputation points
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,883 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,726 Reputation points
commented 2024-04-30T09:07:03.98+00:00
Dani_S 2,726 Reputation points
0 answers

I can't Migrate from .Net Framework 4.8 to .Net 8 (As happens to the vast majority)

I have several Asp.net, Winforms and Wpf projects and use several dll projects that are common in C#. I am trying to migrate from .Net Framework 4.8 to .Net 8. I am finding that there is a long series of basic commands that are not available in .Net and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,383 questions
asked 2024-04-30T02:55:58.0166667+00:00
zequion 91 Reputation points
commented 2024-04-30T08:47:05.5733333+00:00
Jiale Xue - MSFT 31,981 Reputation points Microsoft Vendor
0 answers

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,883 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-04-30T08:32:25.4366667+00:00
Sreejith Sreenivasan 691 Reputation points
0 answers

WPF Select All Checkbox in a DataGrid (SQL DataBinding and OBCD Command)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…

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,674 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
edited a comment 2024-04-30T07:55:29.91+00:00
Hui Liu-MSFT 38,256 Reputation points Microsoft Vendor
0 answers

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,883 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-04-30T07:46:25.4233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 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,883 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-04-30T07:36:07.38+00:00
Sreejith Sreenivasan 691 Reputation points
0 answers

Content Security Policy Violations happening for whitelisted domains only for Netherlands and Switzerland users.

I have a csp policy where I have whitelisted all the domains from which I want to load the content to my application and have added only default-src directive  which is fallback to all the other directives.   I have tested the policy on lower…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,175 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,895 questions
asked 2024-04-26T11:33:36.0766667+00:00
Gour, Ashish 0 Reputation points
commented 2024-04-30T07:32:53.42+00:00
SnehaAgrawal-MSFT 18,361 Reputation points