Microsoft Q&A

.NET

20,663 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,663 questions with .NET-related tags

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

MAUI: Listview button is partially visible on UI even with HasUnevenRows

I am facing a weird issue with listview. I have a button in my listview and it is not completely visible on UI like below screenshot: My code: MainPage.xaml: <?xml version="1.0" encoding="utf-8" ?> <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,864 questions
asked 2023-09-26T15:24:10.56+00:00
Sreejith Sreenivasan 371 Reputation points
commented 2023-09-27T07:11:49.3266667+00:00
Sreejith Sreenivasan 371 Reputation points
0 answers

Xamarin Android: Obtain the IMEI from a device with Android 10

One of our customers is updating his Android devices to version 10.0 (API 29). The app that our customer uses is manually installed via APK on each device. The app is NOT released via public stores. Each device is NOT associated with any physical person,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
asked 2023-09-26T14:01:48.5333333+00:00
Carugati 0 Reputation points
commented 2023-09-27T07:03:45.1166667+00:00
Carugati 0 Reputation points
2 answers

Conditional validation depending which MVC button pushed

I have a scaffolded form in MVC with two buttons, Save and Submit. I want conditional validation: Save, no validation; Submit, validation. In the cshtml I have: ... <td> @Html.EditorFor(model => model.DSCRPTN, new { htmlAttributes = new…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
987 questions
asked 2023-09-25T13:56:00.5533333+00:00
J Fisher 0 Reputation points
commented 2023-09-27T07:02:52.1866667+00:00
Lan Huang-MSFT 17,806 Reputation points Microsoft Vendor
0 answers

SignalR Configuration On Proxy DNS Server For NGINX

Good Morning I am Facing Issue in SignalR Configuration , Let me Explain My Functionality Work Perfectly In Dev & UAT Environments But it's Not Working On Production, Client Use Private/ Public DNS For Showing Application & We are using NGINX For…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 questions
asked 2023-09-27T05:17:44.8766667+00:00
Kuldeep Singh 0 Reputation points
commented 2023-09-27T06:31:48.3166667+00:00
JasonPan - MSFT 2,611 Reputation points Microsoft Vendor
0 answers

Getting error Android Target SDK version 33 in Vs2022 Xamarin Forms

Attribute receiver#com.google.firebase.iid.FirebaseInstanceIdInternalReceiver@exported value=(true) from AndroidManifest.xml:20:89-112 is also present at AndroidManifest.xml:39:93-117 value=(false). Suggestion: add…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
asked 2023-09-26T06:22:26.2966667+00:00
Raja Chinnadurai 0 Reputation points
commented 2023-09-27T06:31:19.2733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 54,086 Reputation points Microsoft Vendor
1 answer

Can't setup the software Microsoft Identity Extensions-64.msi in OS:windows server 2019

I can't setup the software: Microsoft Identity Extensions-64.msi in OS:windows server 2019, the error can display in the attachments picture; What's the website URL can download the software Windows Identity Foundation ? Help me please,thank you very…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,978 questions
SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
1,970 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 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,793 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,060 questions
asked 2023-09-26T08:13:18.3866667+00:00
pxesoft198007 20 Reputation points
commented 2023-09-27T06:28:32.6566667+00:00
Tianyu Sun-MSFT 20,686 Reputation points Microsoft Vendor
1 answer

Unable to get Tab bar and Flyout together in the shell.

Is there any way to get both Tab bar and Flyout in the Shell in. NET MAUI. Documentation says it is not possible, is there any way to create a custom Flyout or Tab bar in the same Shell.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,864 questions
asked 2023-09-26T08:36:41.57+00:00
Jibin Jacob 0 Reputation points
answered 2023-09-27T06:27:28.68+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,411 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MAUI: The content page and pop up pages are breaking in normal running

I am facing a weird issue in my new MAUI project. When LIVE running in visual studio all of my pages are working fine. But when I open the app normally, the app is breaking on some of the pages, but no issue in LIVE running. The same pages are working…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,864 questions
asked 2023-09-25T15:29:08.9033333+00:00
Sakshi Poojary 40 Reputation points
commented 2023-09-27T06:25:32.2233333+00:00
Sakshi Poojary 40 Reputation points
2 answers

VS 2022 .net6 core C#. Application.StartupPath is different at run time.

Hi, I am trying to capture my project home directory: string exeFolder = Application.StartupPath; While i test app i am getting path with MyPath"bin\Debug\net6.0-windows". in result i cannot access my report folder with reports. Is there a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,630 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 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,980 questions
asked 2023-09-23T00:46:59.4233333+00:00
Ed Januskis 46 Reputation points
edited the question 2023-09-27T06:17:57.7766667+00:00
Qing Guo - MSFT 551 Reputation points Microsoft Vendor
0 answers

Finding parent form and tablelayoutPanel

hello , private void TDlloading_error_Load(object sender, EventArgs e) { HideButtonsInParentFormTableLayoutPanel(); } private void HideButtonsInParentFormTableLayoutPanel() { // Access the parent…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,630 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,980 questions
asked 2023-09-26T10:44:39.0333333+00:00
Shaifali jain 200 Reputation points
commented 2023-09-27T06:17:48.9733333+00:00
Jiale Xue - MSFT 10,696 Reputation points Microsoft Vendor
1 answer

In Blazor MAUI with a shared UI library, navigation doesn't work

In a shared blazor library, login page and sample page are defined. Here is the Minimum Reproducible Example: https://github.com/johnmangam/ShellNavigation/ Login.razor @page "/login" @inject NavigationManager navigationManager <button…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,864 questions
asked 2023-09-22T16:27:50.62+00:00
John Mangam 0 Reputation points
commented 2023-09-27T06:12:38.62+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
0 answers

Unable to run MAUI Android app

Hi, Why I am suddenly getting this error when trying to run MAUI's Android app? /Users/jassim/Downloads/MyApp: Error JAVA0000: Error in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,864 questions
asked 2023-09-24T20:56:07.6633333+00:00
Jassim Al Rahma 26 Reputation points
commented 2023-09-27T06:12:04.69+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
1 answer

JWT Bearer Authentication Load to API fails

I created API with JWT Token , I know I need to pass credentials but just for test purposes I used get method instead of post. https://github.com/KalyanAllam/VisitsApi Where Auth Controller generates the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 questions
asked 2023-09-27T05:57:10.0133333+00:00
Dotnet Engineer 280 Reputation points
answered 2023-09-27T06:11:27.94+00:00
Zeeshan Nasir Bajwa 571 Reputation points
3 answers

Transfer the WebApi application to another PC, test it, without a development environment?

Hello, @AgaveJoe https://learn.microsoft.com/en-us/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-modules The target machine needs a host like IIS to host Web API. We have no idea how your…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,636 questions
asked 2023-09-24T16:42:14.5033333+00:00
Markus Freitag 3,361 Reputation points
edited a comment 2023-09-27T05:45:45.09+00:00
Markus Freitag 3,361 Reputation points
1 answer One of the answers was accepted by the question author.

Call Webapi JWT

I created API with JWT Token https://github.com/KalyanAllam/VisitsApi Where Auth Controller generates the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 questions
asked 2023-09-25T13:18:05.5+00:00
Dotnet Engineer 280 Reputation points
accepted 2023-09-27T05:40:44.17+00:00
Dotnet Engineer 280 Reputation points
0 answers

I'm going nuts over this. I can write to a cookie, and then read it again. But at some point, i want to update the value it holds. Whenever i get the cookie again, i get the initial value, not the updated one. Below is the code i use for write/update and

cookies are not updating hwen i update the clain or updating a permission in do net 6 public class UpdateCookieAuthenticationEvents : CookieAuthenticationEvents { public override async Task…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 questions
asked 2023-09-26T11:46:43.92+00:00
usha 0 Reputation points
edited the question 2023-09-27T05:37:20.85+00:00
Jiachen Li-MSFT 19,676 Reputation points Microsoft Vendor
1 answer

MVC CORE GET API FAILS

Call to api https://visitsapi.azurewebsites.net/api/Auth/ fails getting 404 error Please visit here for github code https://github.com/KalyanAllam/JWTApiCall/ The source code for https://visitsapi.azurewebsites.net/api/Auth/…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 questions
asked 2023-09-26T16:47:03.1233333+00:00
Dotnet Engineer 280 Reputation points
answered 2023-09-27T05:32:18.5233333+00:00
Dotnet Engineer 280 Reputation points
0 answers

How to use 'manual entry' as the Input type as default from the TimePicker for Android

Hello After clicking on the TimeEdit opens a popup where the default style looks like this But I want to use 'manual entry' as the Input type the default Please help me ti have an option for this!!!!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,864 questions
asked 2023-09-26T05:45:31.6133333+00:00
Hakob Hovhannisyan 21 Reputation points
commented 2023-09-27T05:27:41.3566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
3 answers

WPF Tabcontrol Resizing Issue

Hi All, I have a Tabcontrol inside grid which is inside WPF page. I want Tabcontrol to resize to complete width and height of page. I have set grid height and width to "*" and horizontalalignment and verticalalignment of tabcontrol to…

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,477 questions
asked 2023-09-25T16:12:14.4066667+00:00
Pratham Jain 161 Reputation points
commented 2023-09-27T05:20:26.9266667+00:00
Hui Liu-MSFT 21,451 Reputation points Microsoft Vendor
2 answers

c# Graph Api > 5..0.15 Content.GetAsync() not working any more

// https://learn.microsoft.com/en-us/answers/questions/1025116/how-to-download-a-mail-graph-api-c?orderby=oldest Stream mimeContentStream = await _graphClient.Users[{someUseriD}].Messages[{aMessageId}].Content.GetAsync(); string mailFile =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,052 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
906 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,980 questions
asked 2023-08-11T09:45:01.1066667+00:00
Uwe Schöneis 10 Reputation points
answered 2023-09-27T05:11:24.74+00:00
Uwe Schöneis 0 Reputation points