Microsoft Q&A

.NET

20,788 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,788 questions with .NET-related tags

Sort by: Updated
0 answers

If I publish Blazor WASM, and try to access any newly created routable component such as "/test", I am getting 404

Hi, I have Blazor WASM project, I've added new component called "Test.razor", it routes to @page "/test" If I run project through Visual Studio and try to access component through route, it works properly. e.g.…

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,116 questions
asked 2023-10-04T18:52:39.6266667+00:00
Rikam Palkar 41 Reputation points
1 answer

How to quickly make a temporary separate login/password form to display a closed website on the Internet?

Hi! The site (Net.Core 6) already has a working authentication, but it can only be used if temporary login is allowed. This site needs to be temporarily hidden for everyone on the Internet.It is necessary to make a temporary entrance to the site through…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
asked 2023-10-04T14:01:39.5833333+00:00
Volk Volk 301 Reputation points
edited an answer 2023-10-04T18:49:52.69+00:00
Bruce (SqlWork.com) 44,966 Reputation points
1 answer

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,889 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 406 Reputation points
edited a comment 2023-10-04T18:30:26.79+00:00
Rob Caplan - MSFT 5,227 Reputation points Microsoft Employee
1 answer

Binding library with xcfranework

How to use xcframework in xamarin ios binding library

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,168 questions
asked 2023-10-02T22:28:48.4033333+00:00
Rishabh Pandey 0 Reputation points
commented 2023-10-04T17:33:27.5866667+00:00
Rishabh Pandey 0 Reputation points
2 answers One of the answers was accepted by the question author.

Background worker not setting textbox.backcolor in UI thread

[windows forms, dotnet 4.8.1 VB] I have several applications that use a common non-indexed "message log" database file to communicate - works great! Each application tells the dashboard app when it starts, reports progress, completes, and is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,643 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
3,094 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,322 questions
asked 2023-10-03T16:55:24.0233333+00:00
JBDayrelton 20 Reputation points
commented 2023-10-04T17:16:22.2333333+00:00
JBDayrelton 20 Reputation points
0 answers

How to override methods using Maui Handlers

I have a question, when I used Xamarin there was an option to override control's methods using Renderers. Now. MAUI has the concept of Handlers. How can I migrate that functionality to MAUI? I see there's code to change the control's appearance…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,168 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,889 questions
asked 2023-10-04T16:38:57.1966667+00:00
Junior Saravia 20 Reputation points
edited the question 2023-10-04T16:39:24.6933333+00:00
Junior Saravia 20 Reputation points
1 answer

Determine "Recommended" display resolution settings

Got the code that gets a list of the monitors (using EnumDisplayDevices) along with getting all the settings (using EnumDisplaySettings) for each monitor working just fine. However, when I right click my desktop and adjust the resolution one of the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,927 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 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,043 questions
asked 2023-10-02T16:02:33.03+00:00
Dave Cotton 41 Reputation points
commented 2023-10-04T16:02:45.52+00:00
Dave Cotton 41 Reputation points
2 answers

NuGet Package restore failed...The underlying connection was closed.., error in VisualStudio ultimate 2012

Hi, Below is machine and VS details: Windows 7 Visual studio Ultimate 2012 Version 11.0.61219.00 Update 5 Microsoft .NET framework version 4.5.50709 Project: MVC 4 project - C# Everything was working fine till today; But my…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
991 questions
asked 2022-10-01T17:10:31.447+00:00
bharat 1 Reputation point
answered 2023-10-04T15:52:32.28+00:00
Bruce (SqlWork.com) 44,966 Reputation points
1 answer

key for ticket in asp ticket store for login

I am doing app with login with ticket store. Problem is that I wish to obtain new key to be in cookie each time it is used. So I wish new key after each use. I tried to log out and log in controller to get new key but it fails to work. It gives me same…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
asked 2023-09-24T17:17:09.4166667+00:00
jacek.sniadecki2022 0 Reputation points
commented 2023-10-04T15:48:37.5033333+00:00
jacek.sniadecki2022 0 Reputation points
1 answer

Push notification on MAUI application using FCM

I am trying to implement push notification on my MAUI application using FCM. I follow this blog and I did everything as per the blog. They suggest to install only 2 NuGet packages, Plugin.Firebase and Plugin.Firebase.Crashlytics. (I installed it by…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,889 questions
asked 2023-09-29T10:06:12.68+00:00
Sreejith Sreenivasan 406 Reputation points
edited a comment 2023-10-04T15:23:19.7233333+00:00
Sreejith Sreenivasan 406 Reputation points
1 answer

Custom Filters (CustomAuthenticationAttribute) in MVC CORE

I created custom filter in MVC5, please suggest if there is some equivalent in MVC…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
asked 2023-09-28T14:22:16.5666667+00:00
Dotnet Engineer 385 Reputation points
commented 2023-10-04T14:44:27.6133333+00:00
Dotnet Engineer 385 Reputation points
0 answers

Generating conditional email content

For the content of the email, I'm trying to add content based on the response to a form question. This is what I have & Power Automate doesn't like it. If possible, I want the No response to result in a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,643 questions
asked 2023-10-04T14:24:07.2166667+00:00
Shana Kelso 0 Reputation points
1 answer

Execute msix with administrator privileges and run script

I am developing a Windows application with .NET MAUI and I am building the msix with Visual Studio, as stated in the .NET MAUI documentation: https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-visual-studio-folder I don't know if it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,889 questions
asked 2023-10-03T07:51:25.6666667+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2023-10-04T14:19:49.6066667+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
0 answers

How to quickly make a temporary separate login/password form to display a closed website on the Internet?

Hi The site (Net.Core 6) already has a working authentication, but it can only be used if temporary login is allowed. This site needs to be temporarily hidden for everyone on the Internet. It is necessary to make a temporary entrance to the site…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
asked 2023-10-04T13:58:46.0366667+00:00
Volk Volk 301 Reputation points
0 answers

AMM0000 Error at AndroidManifest.xml in .Net MAUI app

Hi all, Pleas help advising the fix as the Visual Studio compiler cites error AMM0000 at line : <uses-sdk tools:overrideLibrary="com.microsoft.maui" android:minSdkVersion="19" /> in AndroidManifest.xml in .Net MAUI app after I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,889 questions
asked 2023-10-04T13:53:56.9733333+00:00
TD D 0 Reputation points
0 answers

Inquiry Regarding Customizing Tooltip Presentation for Macro Expansions

I am currently working on a development project that involves extensive use of macros, and I have found that the tooltips generated by the "Visualize Macro Expansion" feature do not always provide the desired level of readability and formatting…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 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,834 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,201 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
112 questions
asked 2023-10-04T13:44:14.9933333+00:00
Adrian P 0 Reputation points
0 answers

how to create binding library or consume framework from third party Framework library in xamarin forms

i wanted to create binding library or consume third party xcframework library in xamarin forms. please provide any document or support if you have.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
asked 2023-10-04T12:52:05.7966667+00:00
Rishabh Pandey 0 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET Web Core with .NET Core 7.0 Error While Generating Scaffolding

In an ASP.NET core project built on .NET Core 7.0 I am trying to scaffold the login page with the following steps: I right click on the project, and select Add -> New Scaffolded Item I select Identity and Click on Add Then I choose…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
asked 2023-10-03T16:04:46.3866667+00:00
Hochgurtel, Brian D 0 Reputation points
accepted 2023-10-04T12:28:59.3666667+00:00
Hochgurtel, Brian D 0 Reputation points
1 answer

Android App Bundle is signed with the wrong key issue on Google Play Store

Hi, I encountered the following problem while attempting to update my previous release of a Xamarin App on the Google Play Store. "Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,168 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
426 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,043 questions
Microsoft Entra Private Access
Microsoft Entra Private Access
Microsoft Entra Private Access provides secure and deep identity-aware, Zero Trust network access to all private apps and resources.
6 questions
asked 2023-10-04T12:05:58.89+00:00
Sanjay Kumar Jha 91 Reputation points
answered 2023-10-04T12:22:46.7633333+00:00
MojiTMJ 395 Reputation points
1 answer

How do I move a folder with site resources to another disk?

Hi! The question is simple, but I couldn't find an answer to it. I have IIS on Windows Server 2022. There is a website in the C folder:\inetpub\wwwroot\site.com , which is made on Net technology.Core 6. There is a website in the folder…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
10,655 questions
asked 2023-10-04T11:36:51.9366667+00:00
Volk Volk 301 Reputation points
edited an answer 2023-10-04T12:01:25.13+00:00
AgaveJoe 685 Reputation points