23,184 questions with .NET-related tags

Sort by: Updated
2 answers

VS Go to error line in catch()

When an error occurs in a block that is inside a try{}catch{}, how can I go back to the line that produced it?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,197 questions
asked 2024-03-05T02:42:45.32+00:00
zequion 91 Reputation points
answered 2024-03-05T10:27:39.0966667+00:00
zequion 91 Reputation points
0 answers

No Internet page change

I have a no internet page, and I check if the connection comes up again. public partial class App : Application { private readonly AppShell _appShell; private readonly NoInternetPage _noInternetPage; public App(AppShell appShell,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-04T17:54:57.5566667+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-03-05T10:27:04.6333333+00:00
Eduardo Gomez 3,216 Reputation points
1 answer One of the answers was accepted by the question author.

rethinking user flow

I am coding my user flow but this time I am going to dynamically create the menu. So, in my shell, I have two pages. Startup Page Login Page The startup page is responsible for checking for the token and redirect the user. public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-02T15:31:31.4966667+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-03-05T10:24:34.6766667+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Best way to store Encryption Key and IV(Initialization Vector) with AES

As a result of the Veracode security scan, the Encryption Key and IV were found to be hard-coded in the code. For encryption, we are also using the old TripleDES algorithm. In this case, we must remove the hard-coded key and IV and also update to the AES…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,197 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,187 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,989 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
282 questions
asked 2024-03-05T10:20:14.8933333+00:00
Pughazendhi Chandrakasan 1 Reputation point
1 answer

Maui && worker service ,mange token.

Hi. I have app consist of two parts: 1.Client - maui 2.Service- worker service. They both share token come from API that created on client in one of the screen and saved in DB per user. The service consume it and when the token not active any more it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,197 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-02-29T08:00:44.9733333+00:00
דני שטרית 2,346 Reputation points
commented 2024-03-05T10:11:13.33+00:00
דני שטרית 2,346 Reputation points
0 answers

How to resolve error 0x80073701 during Features Installation on Microsoft Windows Server 2019 Datacenter OS

Hello, I am encountering Error 0x80073701 while attempting to install certain features on Azure VM running Microsoft Windows Server 2019 Datacenter OS. This error appears when I try to install everything together or with each feature separately. Is…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,347 questions
Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,187 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
419 questions
asked 2024-03-04T15:15:44.6066667+00:00
Diego de Torres 0 Reputation points
commented 2024-03-05T10:01:32.3566667+00:00
Sam Wu-MSFT 6,781 Reputation points Microsoft Vendor
0 answers

Migration from new Xamarin project to .NET MAUI.Android failed to load assembly/dll

Hallo all I create new project Mobile App (Xamarin.Forms) + link and USE my own dll (signed netstandard2.0 dll) Run OK in Android emulator I migrate this new project with tool "upgrade-assistant upgrade" to .NET 7 MAUI (all 3 project…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,263 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-04T12:07:52.0466667+00:00
Wheelstring 105 Reputation points
commented 2024-03-05T09:56:42.17+00:00
Wheelstring 105 Reputation points
0 answers

Net maui windows platform when i change size of application as like smaller end of collectionview item s content dissapering ?

Net maui windows platform when i change size of application as like smaller end of collectionview item s content ( x:Name="xShipping" } dissapering ? how to fix it or how to do it.. thanks.. <CollectionView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-04T13:41:13.36+00:00
Sami 761 Reputation points
commented 2024-03-05T09:56:38.13+00:00
Sami 761 Reputation points
1 answer

I Saved C# Project form as a new name, now project is broken. How to fix it?

I have a C# project in Visual Studio Community 2022 with a single form for the interface. I made some changes to the form and wanted to save it as a different name so I could preserve the previous design. Now I cannot see the form in the designer, but…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,806 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,447 questions
asked 2024-03-05T02:56:24.25+00:00
Clay LaHatte 0 Reputation points
answered 2024-03-05T09:46:50.06+00:00
Jiale Xue - MSFT 18,821 Reputation points Microsoft Vendor
0 answers

Changing the APPID of a VB.Net project

I'm working on ASP.NET Web API project, and I realized that the APPID being captured in the Teradata DBQL is a duplicate of another application. This is how the APPID looks like. W3WP:AA:CC:xx.xx.xx.000) Can you please advise how to update the…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,510 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
282 questions
asked 2024-03-05T09:16:40.4566667+00:00
Louie 21 Reputation points
1 answer

How to Implement Google Maps in a .NET MAUI Blazor App.

I'm currently developing a .NET MAUI app using Blazor and targeting .NET 7. One of the key features I'm looking to implement is integration with Google Maps to display locations of customers. However, I'm facing challenges with integrating Google Maps…

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,326 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-02-29T11:59:09.6166667+00:00
NIRANJAN CHIGULLA 0 Reputation points
commented 2024-03-05T08:55:49.1333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,576 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Issue to argument

Hi, How to resolve issue below Argument 1: cannot convert from 'string' to 'System.IO.Stream' on this line? using (StreamWriter sw = new StreamWriter(@"c:/cmp/list10.txt", allowappend, Encoding.Unicode))

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,989 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,101 questions
asked 2022-03-31T06:47:54.807+00:00
Peter_1985 2,466 Reputation points
commented 2024-03-05T08:34:09.6533333+00:00
PRAVIN GAVALI 0 Reputation points
1 answer One of the answers was accepted by the question author.

UIAutomation throws AccessViolationException on Windows 11

Original post on stackoverflow: https://stackoverflow.com/questions/72872197/uiautomation-throws-accessviolationexception-on-windows-11 Also posting here as there might be more views, maybe from people at MSFT too. If it's considered duplicata,…

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,635 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,989 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,673 questions
asked 2022-07-06T06:20:51.55+00:00
ygosteli 26 Reputation points
commented 2024-03-05T08:34:00.9633333+00:00
Graham, Dave 0 Reputation points
0 answers

ZXING Scanner is giving [VendorTagDescriptor] lookupTag: Tag name 'meta.received.tid' does not exist. [CameraDevice-JV-0] onResultReceived, set KEY_META_RECEIVED_TID error: Could not find tag for key 'com.oplus.meta.received.tid') in Oneplus devics

Hi I have used ZXING barcode reader in my MAUI APP. When I am scanning in Oneplus device with Android version 12, 13,14 it is not scanning the QR codes and its crashing my app with following errors. [VendorTagDescriptor] lookupTag: Tag name…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-04T14:34:38.5633333+00:00
dedeepya yarlagadda 20 Reputation points
commented 2024-03-05T08:26:21.7966667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,576 Reputation points Microsoft Vendor
0 answers

Maui - memory raising when using Application.Current.MainPage.Navigation.PushAsync

Hi, I used only Application.Current.MainPage.Navigation.PushAsync(new page) only in my app for navigationg but the memory is raising. I tested with published as exe (from Visual studio 17.8.4). https://app.screencast.com/cFXT6QgHXsVja The structure of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-05T08:00:23.4966667+00:00
דני שטרית 2,346 Reputation points
edited the question 2024-03-05T08:11:54.02+00:00
דני שטרית 2,346 Reputation points
1 answer One of the answers was accepted by the question author.

Maui- - indicator ifserver is conected

Hi, I want to show if server is conected or not . How is can be done ? which control to use, button is clickable and i want it will be clickable? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-02-29T09:40:59.6466667+00:00
דני שטרית 2,346 Reputation points
accepted 2024-03-05T08:04:21.8033333+00:00
דני שטרית 2,346 Reputation points
1 answer One of the answers was accepted by the question author.

Maui - How do I clear the Navigation stack?

Hi, How do I clear the Navigation stack? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-04T12:48:28.48+00:00
דני שטרית 2,346 Reputation points
accepted 2024-03-05T08:03:20.59+00:00
דני שטרית 2,346 Reputation points
1 answer One of the answers was accepted by the question author.

Application or app?

Hi, More question: Application.Current.MainPage.Navigation.PushAsync(new MainPage(context.Item as Schedule)); Or App.Current.MainPage.Navigation.PushAsync(new MainPage(context.Item as Schedule)); Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-04T13:55:19.1533333+00:00
דני שטרית 2,346 Reputation points
accepted 2024-03-05T08:02:49.35+00:00
דני שטרית 2,346 Reputation points
1 answer One of the answers was accepted by the question author.

Maui - Using Timer in multi main page navigations

Hi, Here is my code: Did I used in correcy way ? Thanks in advance, private IDispatcherTimer _indicatorTimer; public MainPage(string navigateTo) { InitializeComponent(); currentContentViewHolder.Children.Clear(); if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-03T10:46:21.53+00:00
דני שטרית 2,346 Reputation points
accepted 2024-03-05T08:02:06.1533333+00:00
דני שטרית 2,346 Reputation points
0 answers

Fix Archive for publishing when .NET MAUI references to own .NET Core project

According to this article, I completed all steps except "Publish the app", because when I right click on .NET MAUI project and select "Archive for publishing" and get the error with text "Assets file…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,632 questions
asked 2024-03-05T07:59:19.4533333+00:00
Bohdan Bats 0 Reputation points