Microsoft Q&A

.NET

12,839 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,839 questions with .NET-related tags

Sort by: Updated
1 answer

How to use UIWebView in the Xamarin.Forms iOS part?

Hi, I have a Xamarin.Forms application. I integrated Airwatch SDK (WorkspaceOne.Forms) into the iOS part. Now, I am trying to app tunneling with Airwatch SDK. For this reason I have added ModernHttpClient Handler to all of the HttpClients on my project.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
asked 2023-01-26T11:10:54.5066667+00:00
Pelin Konaray 266 Reputation points
edited a comment 2023-01-27T06:50:13.1266667+00:00
Pelin Konaray 266 Reputation points
1 answer One of the answers was accepted by the question author.

Maui android<helpview /> control issue

Hello all. because there is no helpview control. Is someone here can give me a way to add help to my application. Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-23T10:25:17.8233333+00:00
Haviv Elbsz 441 Reputation points
accepted 2023-01-27T06:38:03.3533333+00:00
Haviv Elbsz 441 Reputation points
0 answers

Connect programmatically to a wifi network

Hi, I'd to know how can I connect do a wifi network with hide ssid programmatically? Thanks. Renan Paiva

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-26T14:35:19.6533333+00:00
Renan Paiva 1 Reputation point
commented 2023-01-27T06:27:25.2766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 10,981 Reputation points Microsoft Employee
1 answer

Ghodi Booking For Marriage Near Me

Wedding season is upon us and if you're looking for a unique ride to make a grand entrance, look no further than the Ghodi Wala! This traditional horse-drawn carriage is a popular choice for weddings in India, and it's easy to see why. The Ghodi Wala is…

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,293 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
386 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
369 questions
PowerPoint Management
PowerPoint Management
PowerPoint: A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.Management: The act or process of organizing, handling, directing or controlling something.
175 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,608 questions
asked 2023-01-27T06:23:24.7366667+00:00
Bandbaajabarat04 0 Reputation points
answered 2023-01-27T06:23:43.09+00:00
Bandbaajabarat04 0 Reputation points
1 answer

Changing IIS application pool identity causes issues

Hello, I am currently in the process of changing the user running the application pool for my IIS .NET 6 website. I am switching it from a domain user to another domain user with identical rights and group memberships. Although my website appears to be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
Internet Information Services
asked 2023-01-26T12:15:24.2466667+00:00
randylaheydev 0 Reputation points
commented 2023-01-27T06:18:52.2133333+00:00
Sam Wu-MSFT 5,126 Reputation points Microsoft Employee
0 answers

Upload a File One drive using MS Graph API in C#

when I am Uploading a File using Onedrive MS graph API in C# the file get Uploaded but every time i got a mail to that one drive account. I have set all notifications off from the one drive settings but still i am getting an email on every time file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
551 questions
asked 2023-01-26T18:56:59.4+00:00
Pradyut Sinha 6 Reputation points
edited the question 2023-01-27T05:59:45.54+00:00
XuDong Peng-MSFT 4,571 Reputation points Microsoft Employee
2 answers

Multiple authentication schemes do not work on Azure (app fails to start)

I try to work with two app registrations that uses one app service. appsettings.json "AzureAdInternal": { "Instance": "https://login.microsoftonline.com/", "Domain": "demo.example.com", …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,293 questions
asked 2023-01-20T12:55:41.74+00:00
Jörg Auberg 20 Reputation points
commented 2023-01-27T05:56:11.41+00:00
JasonPan - MSFT 1,066 Reputation points Microsoft Employee
2 answers

Unable parse Json

Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 questions
asked 2023-01-26T19:22:34.45+00:00
Pradyut Sinha 6 Reputation points
edited an answer 2023-01-27T05:55:24.6833333+00:00
QiYou-MSFT 856 Reputation points Microsoft Employee
0 answers

Executing Stored Procedures based on condition in Razor Pages

Hi, I have a function that executes two stored procedures based on a condition. Stored procedure for the first condition works fine, but stored procedure for the second condition fails. public async Task<JsonResult>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
421 questions
asked 2023-01-27T05:38:24.0033333+00:00
Blooming Developer 191 Reputation points
edited the question 2023-01-27T05:50:05.0766667+00:00
PercyTang-MSFT 1,106 Reputation points Microsoft Employee
1 answer

Loop through Controls in ScrollView and Get the Data

Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-20T21:11:41.77+00:00
Jassim Al Rahma 1,046 Reputation points
edited a comment 2023-01-27T05:44:37.8+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,086 Reputation points Microsoft Employee
2 answers

MFA\2FA website authentication

would like to setup MFA authentication for users accessing my site on the internet. is there a way to embedd in my web site a start up code is there any solution ready for that perpse the site is public , so meany clients can ping it so ...

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
573 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 questions
asked 2023-01-25T08:21:43.1+00:00
Eyal 0 Reputation points
edited an answer 2023-01-27T05:38:42.4666667+00:00
SurferOnWww 636 Reputation points
0 answers

Exception "Scheme already exists" when trying to implement multiple authentication schemes

For a Azure app service that uses two different app registrations for internal and external users I want to implement multiple authentication schemes. I use a ASP.NET Core web application (.NET6) with the following app…

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,293 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
asked 2023-01-26T11:56:01.52+00:00
Jörg Auberg (Admin) 0 Reputation points
edited the question 2023-01-27T05:12:22.5633333+00:00
ajkuma 13,366 Reputation points Microsoft Employee
2 answers

In C# Blazor Server How Can I Send a 404 From A Static Method?

After much work, I finally found a way to get the IP Address of the client in Blazor Server. To do this, I had to use a site called ipify: <script> function GetAddress() { var script = document.createElement("script"); script.type…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
781 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.
6,905 questions
asked 2023-01-26T15:17:28.5433333+00:00
Data Juggler 146 Reputation points
answered 2023-01-27T03:58:25.25+00:00
Zhi Lv - MSFT 18,311 Reputation points Microsoft Employee
1 answer

500 internal server error in Windows server 2012 with IIS 8 for ASP.net core 6 mvc

I know this is a common errors but i am getting desperate and frustrated. I have published to folder my ASP.net Core 6 MVC application and deployed in a server running Windows 2012 and IIS 8 and I am getting the server error 500. I have tried going…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,132 questions
asked 2023-01-27T02:50:11.1333333+00:00
cebuhax0r 21 Reputation points
edited an answer 2023-01-27T03:00:37.6166667+00:00
Az Torial 0 Reputation points
0 answers

visual studio 2022 android project create dll and not apk ?

Hello, I have on my computer visual studio 2017 with xamarin and all works fine. I've installed visual studio 2022 and now , when i try to create a android projects and build it create a dll not an apk ... How to find a solution with this ? All android…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
593 questions
asked 2023-01-20T15:07:35.49+00:00
cristopheB 476 Reputation points
commented 2023-01-27T02:50:57.23+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 10,981 Reputation points Microsoft Employee
0 answers

xamarin android emulator android > 9 ? how to make ?

Hello all, I have vs 2022 entreprise installed on my computer all works fine with emulator below android 9 .. i can push my app , debug ans so on .. I've try to make an android 10 / 11 and so on but impossible to start it ,, Of course i have the sdk who…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
asked 2023-01-26T09:28:50.3866667+00:00
cristopheB 476 Reputation points
commented 2023-01-27T02:46:48.3566667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,086 Reputation points Microsoft Employee
1 answer

BrowserLaunchOptions's Style

Hi, Is it possible to set the properties of the BrowserLaunchOptions in the Resources's Style file? Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-05T22:54:32.547+00:00
Jassim Al Rahma 1,046 Reputation points
commented 2023-01-27T02:22:01.74+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 10,981 Reputation points Microsoft Employee
4 answers

How to loop through JSON data?

Hi, I am calling an api and this is the return data. Could you please help me to loop through the JSON data? The JSON string - { "Outputdata": { "@xmlns": "http://xmlns.oracle.com/apps/pa/.......", …

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.
6,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 questions
asked 2023-01-25T17:43:30.51+00:00
Paul 0 Reputation points
commented 2023-01-27T02:02:48.7666667+00:00
QiYou-MSFT 856 Reputation points Microsoft Employee
1 answer

How to configure Auto update in MAUI application ?

Hi, Consider we have developed a MAUI application, for deployment of this MAUI application in multiple machine we created a setup file / package following this link -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-20T05:42:27.7633333+00:00
Sanket Vinod Solanki 0 Reputation points
commented 2023-01-27T01:53:10.0833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 10,981 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to clear text box records before or after downloading a file in ASP.NET web application

using (FileStream fs = File.Create(dataDir + xmlFileToConvertTo)) { Byte[] info = new UTF8Encoding(true).GetBytes(xmlData); fs.Write(info, 0, info.Length); …

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.
6,905 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
386 questions
asked 2023-01-26T04:58:36.0633333+00:00
Roefatin, Ridzuan 20 Reputation points
commented 2023-01-27T01:34:34.4033333+00:00
Roefatin, Ridzuan 20 Reputation points