Microsoft Q&A

.NET

12,974 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,974 questions with .NET-related tags

Sort by: Updated
1 answer

How to reschedule my certification?

Good evening, I'm trying to reschedule my certification scheduled for tomorrow 5:15PM, but it gives me an error (image) and now I have less than 24 hours to reschedule. Please help me. Thank you Madalena Cardoso Pinto

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,972 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
17 questions
asked 2023-02-02T17:06:40.9133333+00:00
Madalena Cardoso Pinto 0 Reputation points
answered 2023-02-02T17:13:13.9166667+00:00
Michael Durkan 6,136 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a Event handler available on .Net / c++ /c# for Wireless profile added event and deleted event?

I want to register a Windows app for listening to Wireless profile changes (Addition or Deletion) performed on Windows settings or by executing netsh commands from CMD. Is there any event handler available for the same? If yes, how to register for the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
899 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
433 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,895 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
956 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things:
22 questions
asked 2023-02-01T15:48:01.6966667+00:00
Shivanand Rao A V 0 Reputation points
accepted 2023-02-02T17:04:41.7233333+00:00
Shivanand Rao A V 0 Reputation points
0 answers

BackgroundService - Is it possible to set parameter value?

Hi, I have a background service. I wonder if it is possible to set a parameter to this service from the Blazor Server application or in any other way? Thank you in advance.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,556 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.
789 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,972 questions
asked 2023-02-02T16:43:45.4+00:00
Cenk 666 Reputation points
1 answer

Get reminders based on data in a database

I want to get reminders for some Appointments that I have saved in database and they have a notificationTime property witch is the time when a notification needs to be displayed. My approach so far is to write some kind of job that runs 1 or 2 times a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
621 questions
asked 2023-01-29T17:37:55.69+00:00
Bogdan Nicoara 0 Reputation points
accepted 2023-02-02T16:41:01.51+00:00
Bogdan Nicoara 0 Reputation points
0 answers

X509Certificate Client Authentication

Hello guys, I have the following code that was working perfectly fine for 3 years already. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 …

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,972 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,192 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,831 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.
403 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,202 questions
asked 2023-02-02T14:44:17.87+00:00
Kuler Master 141 Reputation points
edited the question 2023-02-02T15:26:28.3666667+00:00
Kuler Master 141 Reputation points
19 answers

JsonConvert System.ArgumentNullException : 'Value cannot be null. Arg_ParamName_Name'

Hi, I tried to do the tree view structure. The code behind is public string TreeViewJSON { get; set; } public void OnGet() { List<TreeViewNode> nodes = new List<TreeViewNode>(); …

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,972 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,556 questions
asked 2022-07-12T14:11:32.053+00:00
sblb 831 Reputation points
answered 2023-02-02T15:23:28.7833333+00:00
无敌霸王龙 0 Reputation points
0 answers

How to get windows notifications based on condition using c# windows services?

i need program's output must show here

.NET
.NET
Microsoft Technologies based on the .NET software framework.
621 questions
asked 2023-02-02T15:05:11.5466667+00:00
sukesh kumar 0 Reputation points
1 answer

Referencing multiple projects with top-level statements

I have two projects A and B. Each project has a single top-level statement Program.cs file. I made the Program class visible from each project by enabling internals: <InternalsVisibleTo Include="MyTargetProject" /> The problem is that…

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,972 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
621 questions
asked 2023-01-30T16:34:45.33+00:00
Ernest 1 Reputation point
commented 2023-02-02T15:02:44.5466667+00:00
Ernest 1 Reputation point
1 answer

Code to auto enable "open link externally" in Facebook for android app

How to auto enable "open link externally" in Facebook for android app? Is there any permission I need to give in manifest file or something else? Thanks in advance. Regards, Anurag

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2021-08-26T10:27:18.507+00:00
Anurag 1 Reputation point
answered 2023-02-02T14:39:20.52+00:00
eugeneblue 0 Reputation points
0 answers

Insecure Storage: Android World Readable or Writeable issue

We are reports from static scanning engines of "Insecure Storage: Android World Readable or Writeable" issues for our Xamarin mobile apps. The specific paths highlighted are: /data/data/[app name]/files/.config /data/data/[app…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2023-02-02T14:19:25.06+00:00
Kavanagh, John 0 Reputation points
0 answers

SideBar Nav Menu

Hello Friends. Has anyone ever used a side nav bar menu (kind of like a bootstrap Menu) in their .Net Maui windows app? Thanks !!!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
899 questions
asked 2023-02-01T21:41:39.3+00:00
Ronald Rex 531 Reputation points
edited the question 2023-02-02T14:11:14.4066667+00:00
Ronald Rex 531 Reputation points
0 answers

Does Visual Studio for Mac 2022 Community Edition support .vb script development for .NET 6.72 desktop environment on an M1 Mac?

Writing, editing .vb scripts for a legacy Windows .NET 4.62 / .NET 4.72 desktop environment. Can Visual Studio for Mac 2022 Community Edition support this workload on Mac with M1 (ARM) "Apple silicon" processor?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
621 questions
asked 2023-02-02T13:46:50.1866667+00:00
Dean Bidgood 0 Reputation points
edited the question 2023-02-02T14:05:58.3266667+00:00
Dean Bidgood 0 Reputation points
0 answers

Unable to find OpenReadstream in image upload functionality in blazor

Hi i am trying to get image url from selected images.The challenge i am facing here is i am not supposed to touch the  OnFilesChanged methode directly.I need to create a seperate class and access the original class items.How i can get image url of each…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
789 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,972 questions
asked 2023-02-01T09:40:56.8366667+00:00
RAMAN RAGAVAN 46 Reputation points
commented 2023-02-02T13:45:39.17+00:00
AgaveJoe 17,121 Reputation points
1 answer

Hide\Show group text in ASP.NET

Hi, I want to show & Hide group box according to certain condition: ASP.net: <div id="MyDiv" runat="server" visible="true" style="margin-top: 10px; margin-bottom: 10px;"> <asp:Panel…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,192 questions
asked 2023-02-02T12:08:21.46+00:00
Bill Johnson 1 Reputation point
answered 2023-02-02T13:41:24.45+00:00
Viorel 82,741 Reputation points
2 answers One of the answers was accepted by the question author.

Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design Error 6.0 v 7.0

Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design renders following error message: PM> install-package microsoft.VisualStudio.Web.CodeGeneration.Design Restoring packages for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,556 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
596 questions
asked 2023-02-01T18:59:18.8533333+00:00
Dean Everhart 401 Reputation points
commented 2023-02-02T13:15:56.79+00:00
Dean Everhart 401 Reputation points
0 answers

Solution: Custom SignalR Endpoints (Hubs) in a Blazor Server Application using Azure B2C When Deployed to Azure

Posting this in case I need it myself... Issue: Using custom SignalR endpoints (for example a /chat hub) with Authentication in a Blazor Server application that uses Azure B2C will not work when deployed. It will work fine on your local machine (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.
789 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
72 questions
asked 2023-01-15T08:30:23.1666667+00:00
Michael Washington 791 Reputation points Microsoft MVP
commented 2023-02-02T13:14:14.0733333+00:00
jacob threadgould 1 Reputation point
1 answer

'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.)

I want to receive and display push notifications on my iPhone/iPad but I get the following message in Visual Studio for Mac: 'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.) I use .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
899 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,972 questions
asked 2023-01-30T12:24:14.4933333+00:00
Kim Strasser 361 Reputation points
commented 2023-02-02T13:06:10.27+00:00
Kim Strasser 361 Reputation points
1 answer

getting errors while migrating to MAUI

I have tried migrating existing forms project to MAUI I have used .NET Upgrade Assistant dotnet tool and ran these commands dotnet tool update --global upgrade-assistant upgrade-assistant upgrade <path to sln or csproj> --non-interactive…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
899 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
621 questions
asked 2023-02-01T05:24:37.6933333+00:00
Satya 0 Reputation points
commented 2023-02-02T12:57:21.15+00:00
Satya 0 Reputation points
1 answer

EF Core 6 - Adding records based on a condition

Hi friends, In my Blazor server application, I am inserting BulkPurchaseRequest records into DB as follows. public class BulkPurchaseRequestsRepository : IBulkPurchaseRequestsRepository { private readonly OyunPalasContext _oyunPalasContext; …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,556 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.
789 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
424 questions
asked 2023-02-01T17:33:09.4066667+00:00
Cenk 666 Reputation points
commented 2023-02-02T12:55:30.4066667+00:00
Cenk 666 Reputation points
2 answers

resource mipmap/myicon not found. How to fix this?

I have a VS 2019 Xamarin app. It had previously compiled OK and was distributable. The app's icon is poorly formed so I updated it. But now when I rebuild I get the icon changed in the Manifest to android:icon="@mipmap/myicon" and that…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 questions
asked 2021-08-12T14:19:00.83+00:00
Ronald GANS 136 Reputation points
answered 2023-02-02T12:52:23.0066667+00:00
Satya 0 Reputation points