23,161 questions with .NET-related tags

Sort by: Updated
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

In MS Graph SDK 5.36.0 version, I can create folder in SharePoint. But when I update to MS Graph SDK 5.41.0 version, I can not create folder in SharePoint anymore. It throw an error…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,014 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,211 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,563 questions
asked 2024-03-02T02:47:19.0466667+00:00
Jackie Dinh 0 Reputation points
edited the question 2024-03-04T00:26:16.8866667+00:00
Emi Zhang-MSFT 20,501 Reputation points Microsoft Vendor
1 answer

Why I get this Chrome console error

Hi, I keep encountering the below Chrome console error while it sounds like my code is correct. What should I do?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,024 questions
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,325 questions
asked 2024-03-03T08:07:16.7833333+00:00
Saeed Pooladzadeh 221 Reputation points
edited an answer 2024-03-04T00:11:35.5466667+00:00
Bruce (SqlWork.com) 52,831 Reputation points
1 answer

Could not install iOS workload

I'm facing this issue when trying to pair between VS Windows and Mac to debug using the iOS device. I tried this approach, but it didn't work out.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-03-01T15:33:06.2+00:00
Huynh Than 20 Reputation points
answered 2024-03-03T23:17:10.76+00:00
ADAM HEDLEY 0 Reputation points
1 answer

NET8.0 MAUI - MediaElement - Error when trying to stream Audio files stored on AWS S3

Hi I am using MediaElement to Play audio files stored on AWS S3 buckets, using streaming. Everything is correctly setup and I am populating the MediaElement Source property with the url of the Audio file stored in my S3 bucket. I get the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 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.
9,983 questions
asked 2024-02-27T20:43:12.21+00:00
Riffy 271 Reputation points
answered 2024-03-03T23:04:43.2+00:00
Riffy 271 Reputation points
0 answers

App will run through visual studio but not via exe

I am developing a maui app in VS 2022, Debug and Release will run fine when launched via VS. However, when I go to the apps bin folder, it will not launch, I click on the .exe and nothing happens. I tried copying the bin/release and debug folders to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,231 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 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.
9,983 questions
asked 2024-03-03T22:43:14.8333333+00:00
Phunction 201 Reputation points
3 answers

User.FindFirst(ClaimTypes.NameIdentifier) doesn't retrieve anything

I'm trying to make an update user endpoint and to get the user i use the return user.FindFirst(ClaimTypes.NameIdentifier)?.Value; method but when i call this my controller update user endpoint it doesnt return any value the user variable which it is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,024 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.
9,983 questions
asked 2022-09-19T14:10:45.663+00:00
Asjad Butt 61 Reputation points
commented 2024-03-03T18:36:27.41+00:00
Vinay Kumar Suboji 0 Reputation points
2 answers

I am failing to install SQL Server 2022 because of a missing RegEntry file, Im getting this error 'Cannot find registry key 'SOFTWARE\Microsoft\Microsoft SQL Server\160\ConfigurationState'.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,321 questions
asked 2023-09-06T05:20:12.7833333+00:00
Dave Budah 0 Reputation points
commented 2024-03-03T18:11:33.31+00:00
Erland Sommarskog 99,546 Reputation points MVP
0 answers

Need help with Graphics.DrawString font size for printer output

I have a Windows desktop application that creates labels to print to a laser printer.  I am using Visual Studio v17.8.6 and the template is .NET Framework. I am new to using graphics and unsure what is the best solution to use to print to the laser…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,805 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.
9,983 questions
asked 2024-03-01T19:21:59.1166667+00:00
Pat Hanks 40 Reputation points
edited a comment 2024-03-03T17:20:33.5+00:00
KOZ6.0 4,330 Reputation points
2 answers One of the answers was accepted by the question author.

How can I display a PDF file in MAUI?

I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui), and I have used the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2023-09-21T04:30:21.89+00:00
韓 金倫 20 Reputation points
edited an answer 2024-03-03T14:11:19.96+00:00
VitVov 0 Reputation points
2 answers

Push Notification with Azure Notification Hub and documentation

I'm trying to add push notification in my .NET8 MAUI application. I was looking at the Microsoft documentation and the function public override void RegisteredForRemoteNotifications is probably what I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-02-23T08:26:48.8733333+00:00
Enrico Rossini 126 Reputation points
answered 2024-03-03T12:58:57.4166667+00:00
Enrico Rossini 126 Reputation points
0 answers

Maui - Using Timer in multi main page navigations

Hi, Here is my code: Did I used in correcy way ? Thanks in advance, private IDispatcherTimer _indicatorTimer; public MainPage(string navigateTo) ``` { ```scala InitializeComponent(); currentContentViewHolder.Children.Clear(); if (navigateTo…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-03-03T10:46:21.53+00:00
דני שטרית 2,266 Reputation points
edited the question 2024-03-03T10:47:06.7233333+00:00
דני שטרית 2,266 Reputation points
0 answers

Maui app in NET 8 craches

Hi, I used maui app , distributed as exe and run on windows 10. (VS Version 17.8.4) in NET 8. Faulting application name: GssdDesktopClient.Maui.exe, version: 1.0.0.0, time stamp: 0x65680000 Faulting module name: KERNELBASE.dll, version:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-02-28T12:47:29.5666667+00:00
דני שטרית 2,266 Reputation points
edited a comment 2024-03-03T10:15:26.13+00:00
דני שטרית 2,266 Reputation points
0 answers

Maui-collection view filtering/sorting/grouping/paging

Hi, How is can be done ? Can you please provide sample ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-01-30T22:06:34.56+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-03T09:14:08.26+00:00
דני שטרית 2,266 Reputation points
0 answers

Unhandeled exception not fire when there is fatal exception

Hi, Unhandeled exception not fire when there is fatal exception And make the http query. In debugger it works only when it syronous https call.. I comment all code in realse and add code that write to log and is not working.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-02-01T10:47:49.6666667+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-03T09:04:50.5033333+00:00
דני שטרית 2,266 Reputation points
1 answer

Maui- - indicator ifserver is conected

Hi, I want to show if server is conected or not . How is can be done ? which control to use, button is clickable and i want it will be clickable? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,619 questions
asked 2024-02-29T09:40:59.6466667+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-03T08:09:54.1266667+00:00
דני שטרית 2,266 Reputation points
2 answers

Blazor AI imge generator

Hi, I'm trying to make an online AI image generator with blazor. It sounds like everything is correct but the app does nothing. Can you please guide me? Below you can see my code: @page "/" @using System.Net.Http.Json @using…

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,325 questions
asked 2024-02-26T13:08:05.7933333+00:00
Saeed Pooladzadeh 221 Reputation points
commented 2024-03-03T06:39:01.83+00:00
Saeed Pooladzadeh 221 Reputation points
1 answer

How to add title for div class container instead of using h3 tag ?

I work on asp.net razor page i face issue i can't add title for div class container and title must be with top border  exactly as field set and legend  so how to apply title to be part from top border using html and css and jquery  <table…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,024 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,186 questions
asked 2024-02-27T22:34:15.96+00:00
ahmed salah 3,216 Reputation points
answered 2024-03-03T03:27:53.31+00:00
hossein jalilian 200 Reputation points
1 answer

Create QR code image of same size

Hi, I have qr code data of different size & qr code versions are also different respective of data size. Is it possible to print/create all QR code image of same size(height & width)? I tried setting height & width in encoding options but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 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.
9,983 questions
asked 2024-03-01T13:41:45.8566667+00:00
Yugank Narula 0 Reputation points
answered 2024-03-03T02:39:30.13+00:00
hossein jalilian 200 Reputation points
0 answers

Odd bug in visual basic, simple slot game, math is wrong

I created a simple slot game with vb.net. It is behaving very oddly. Bot the rules for the game and the source code are provided in the game. Any help in explaining why its behaving the way it is, is appreciated. Zip file containing release executable…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 questions
asked 2024-03-02T23:57:05.5433333+00:00
leelad34_ 0 Reputation points
edited the question 2024-03-03T02:29:09.0966667+00:00
leelad34_ 0 Reputation points
1 answer

How to deploy my app to Web App?

I have created a test .Net 6 app (open Visual Studio and create a standard web app and ran it). Next in Azure DevOps i set up my repository and alll looks the way i would expect it to. I would now like to deploy this app to a Azure Web App which should…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,024 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,534 questions
asked 2024-02-23T12:58:35.4233333+00:00
Keith Viking 20 Reputation points
commented 2024-03-03T00:50:58.1333333+00:00
Ryan Hill 24,546 Reputation points Microsoft Employee