Microsoft Q&A

.NET

20,536 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,536 questions with .NET-related tags

Sort by: Updated
1 answer

How to create HTTP Error Handling for the PUT method?

Hi, I would like to know how create HTTP Error Handling for the PUT method and rendering the information to user in UI. I guess that it's also possible to make GLobal HTTP Error Handling for all methods! I've created the put method which, when two users…

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,100 questions
asked 2023-09-20T15:57:55.88+00:00
sblb 1,141 Reputation points
edited an answer 2023-09-21T07:33:21.7466667+00:00
Ping Ni-MSFT 0 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

App crashes on physical device but works in simulator

Hi App works in iPhone simulator from Visual Studio on mac. App also runs on local physical device from Visual Studio for pc (after using this hack https://gist.github.com/mattjohnsonpint/37d3ac06a563c41618fc933bf7282d66). However app crashes on physical…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 questions
asked 2023-09-12T16:56:39.7733333+00:00
-- -- 796 Reputation points
edited an answer 2023-09-21T07:27:52.77+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,326 Reputation points Microsoft Vendor
0 answers

splash screen is not observed in iOS 16.6 with xamarin.forms when we upgrade or reinstall the new version

Splash screen is not observed in iOS 16 and above versions with xamarin.forms project when we upgrade or reinstall the new app version.It is showing white screen.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,141 questions
asked 2023-09-20T13:02:27.97+00:00
M Lavanya (ext) INHY 0 Reputation points
commented 2023-09-21T07:22:18.43+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,326 Reputation points Microsoft Vendor
1 answer

minimum rows to display in datagridview

hello , is there a way by which i can set that there must be minimum number of rows is available to display in datagridview regardless of the data it has or not .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,617 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.
8,936 questions
asked 2023-09-20T15:09:51.38+00:00
Shaifali jain 60 Reputation points
commented 2023-09-21T07:21:46.4633333+00:00
Shaifali jain 60 Reputation points
3 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,014 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,758 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 25 Reputation points
commented 2023-09-21T07:13:32.8966667+00:00
Tianyu Sun-MSFT 20,666 Reputation points Microsoft Vendor
0 answers

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 351 Reputation points
edited a comment 2023-09-21T07:11:32.02+00:00
Sreejith Sreenivasan 351 Reputation points
1 answer

Lost in the Transition to .NET MAUI and Maui Graphics

Hello everyone, I am writing to seek help with creating a graphics using .NET MAUI with Maui Graphics or SkiaSharp. I have recently migrated from Xamarin Forms to .NET MAUI and from SkiaSharp to Maui Graphics. Unfortunately, I have lost some of my…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,141 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 questions
asked 2023-09-14T03:34:39.9666667+00:00
Yusuf 636 Reputation points
commented 2023-09-21T06:44:44.0933333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,506 Reputation points Microsoft Vendor
0 answers

How to customize everyone Tab in TabBar

For example, I want create Shell with TabBar. BG of TabBar must be blue, and BG of Current Tab in TabBar must be orange. How can I do it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 questions
asked 2023-09-21T06:41:01.4666667+00:00
Иван Константинов 0 Reputation points
0 answers

Windows 11 update - KB5030219 - Unable to enter issue on the WebView2 browser text box keyboard.

On my computer system Windows11, after updating security patch KB5030219, I created a UWP application using Visual Studio Enterprise 2022. After using WebView2 component in the application to access the URL that requires x509 certificate authentication,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,014 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.
8,936 questions
asked 2023-09-21T06:02:07.68+00:00
QZ ouyang 0 Reputation points
commented 2023-09-21T06:39:28.7966667+00:00
Junjie Zhu - MSFT 9,441 Reputation points Microsoft Vendor
0 answers

How to fix the 'An unhandled error has occured. Reload. x'

Because of this, i cant click nor navigate my components

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,100 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 questions
asked 2023-09-21T06:08:32.7733333+00:00
Neil Hyakkimaru 0 Reputation points
commented 2023-09-21T06:32:56.6566667+00:00
Tiny Wang-MSFT 1,141 Reputation points Microsoft Vendor
0 answers

How to get user name for Blazor server applications (EasyAuth)?

I configured azure app service using EasyAuth. I tried to get the user name in the article below, but the username was returned null. The EasyAuth is working…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,540 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,100 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,596 questions
asked 2023-09-21T06:31:02.0733333+00:00
takeolexus 60 Reputation points
1 answer

Maui android .net 8 issue

Hello all. my app built ok on .net 7 and I want to build it in maui .net 8 what I need to do. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 questions
asked 2023-09-20T09:33:13.4233333+00:00
Haviv Elbsz 1,186 Reputation points
answered 2023-09-21T06:27:04.4866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,506 Reputation points Microsoft Vendor
1 answer

c# aot try-catch not work

I used c# aot to compile lib for go use. An exception occurs in lib and the process crashes. I hope the process doesn't crash and that bugs can be reported. How can I keep the process from crashing. If it crashes, is there any way to find the location of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,014 questions
asked 2023-09-20T07:45:26.5166667+00:00
Dan Yang 0 Reputation points
edited a comment 2023-09-21T06:18:56.9933333+00:00
Minxin Yu 6,726 Reputation points Microsoft Vendor
0 answers

Intune App SDK Xamarin Bindings for Android not support after Android 9.0?

Hi Team,  We have a Xamarin Forms app in production that supports Intune. We used MAM policies for Intune support, and they are working. Now it's failing on the Android platform because the device ID isn't retrieving to Intune. Therefore, the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,141 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
160 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
3,291 questions
asked 2023-09-21T06:03:15.7366667+00:00
Kathirvelu M (KEO) 0 Reputation points
edited the question 2023-09-21T06:12:56.8533333+00:00
Kathirvelu M (KEO) 0 Reputation points
1 answer

HttpListener used on Xamarin.IOS app. "Safari cant open the page because it couldn't connect to the server" error only on iOS 17 devices.

Our project uses the latest Xamarin and our app has a function that creates a HTTP server to store a html and config file, and we use SfSafariViewController to view the contents on the html file. However, after the release of iOS17, this function does…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,141 questions
asked 2023-09-20T06:21:25.29+00:00
ZNXJH 0 Reputation points
answered 2023-09-21T06:03:20.01+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,326 Reputation points Microsoft Vendor
3 answers

The type or namespace name 'Notes' could not be found

Hi, How to resolve such issue, to the line below? using Notes.Models;

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,141 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,758 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.
8,936 questions
asked 2023-09-16T06:33:54.24+00:00
Peter_1985 2,116 Reputation points
commented 2023-09-21T05:57:30.4533333+00:00
Peter_1985 2,116 Reputation points
1 answer

What is the alternate IDE in place of Visual Studio MAC to support the .NET8 in the MAC system for the development of native .NET SDK style IOS projects ?

Hi Team, As we already know Visual Studio for MAC is going to retire in Aug 31, 2024. We are working on Migration of Xamarin Native Projects(Xamarin.Android and Xamarin.IOS) to .Net-Android /.Net-IOS Style Projects. What will be the alternate IDE for…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,141 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,014 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,758 questions
asked 2023-09-18T05:53:58.22+00:00
Sheetal Rodrigues 0 Reputation points
commented 2023-09-21T05:29:04.4733333+00:00
Sheetal Rodrigues 0 Reputation points
3 answers

How to made ORACLE SQL request with ASP on IIS Windows server ?

I will connect my ORACLE database to an IIS intranet server, working with ASP.NET

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,630 questions
asked 2023-09-20T12:55:45.4166667+00:00
Villommet Jean-Luc 0 Reputation points
answered 2023-09-21T05:27:17.8066667+00:00
Olaf Helper 33,346 Reputation points
2 answers

FilePicker in .Net MAUI iOS version

I am developing an application on this platform. I'm using a file picker. It works great on Android. It also works on the Apple simulator. However, the application cannot be installed and launched on a physical apple device. I am following the Microsoft…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,014 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,833 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.
8,936 questions
asked 2023-09-19T07:15:14.1466667+00:00
Влад Тигинян 20 Reputation points
edited an answer 2023-09-21T05:17:40.1833333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,506 Reputation points Microsoft Vendor
0 answers

Why does Azure.Core depend on 7 year old libraries?

Exactly as described in the title. Why does Azure.Core the Azure sdk for .net depend on packages that themself state they are only required for everything before .net core 3. Github issue: https://github.com/Azure/azure-sdk-for-net/issues/38857

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,014 questions
asked 2023-09-20T17:51:25.2966667+00:00
Stephan van Rooij 61 Reputation points MVP
edited the question 2023-09-21T05:12:08.5566667+00:00
PRADEEPCHEEKATLA-MSFT 65,586 Reputation points Microsoft Employee