25,852 questions with .NET-related tags

Sort by: Updated
1 answer

How to Write a DependencyProperty for a TextBlock when it is a child element of a parent Button class in WPF C#?

Hi there, I want to make a Dependency Property for a Text Block and the functionality of this property is to apply a Scale Transformation on the Text Block but I am unable to do that Because it's a child element inside of a Button class. I have a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,601 questions
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,777 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.
10,936 questions
asked 2024-10-03T02:05:10.09+00:00
MERUN KUMAR MAITY 596 Reputation points
commented 2024-10-12T21:00:30.31+00:00
MERUN KUMAR MAITY 596 Reputation points
1 answer

Why, while do-while looping, does an exception thrown in do-scope not halt while-condition-scope execution?

public static int? DecimalScale() { dynamic? result = null; int maxParameterLength = 0; ConstructorInfo[] constructors = typeof(decimal).GetConstructors(); foreach (ConstructorInfo constructor in constructors) { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,131 questions
asked 2024-10-12T03:41:58.6033333+00:00
Rogers 0 Reputation points
edited an answer 2024-10-12T18:50:15.3+00:00
Muhammad Zia Ul Haq 0 Reputation points
1 answer

How do I check that a browser has ClickOnce enabled?

My software, [https://jazzsoftware.co.nz/], is written with VB.Net, and is delivered with ClickOnce. I've tried to make it very clear in the relevant web pages and the setup instructions [https://www.jazzsoftware.co.nz/Docs/JazzSetup.htm] that users…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,490 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,728 questions
asked 2024-10-12T04:29:14.3033333+00:00
Robert Barnes 91 Reputation points
commented 2024-10-12T16:46:24.55+00:00
Albert Kallal 5,251 Reputation points
1 answer One of the answers was accepted by the question author.

vb.net I have folder in program path called patient files i need to open specific file using textbox1 with name of file

vb.net I have folder in program path called patient files i need to open specific pdf file using textbox1 with name of file

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,893 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,823 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,728 questions
asked 2023-06-03T22:17:41.8+00:00
Ahmed Ramadan 0 Reputation points
accepted 2024-10-12T15:43:45.2433333+00:00
Ahmed Ramadan 0 Reputation points
1 answer

How to Detect internet connection of device in Background for both android and iOS(App closed or killed)

Actually i am saving user data(using Sqlite) in offline mode and whenever device connects to internet a service or task should run the job and sent the offline data through the APII have tried shiny.net jobs and that works only for foreground. Can anyone…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-11T13:10:05.9+00:00
Satya 125 Reputation points
commented 2024-10-12T12:44:16.9266667+00:00
Satya 125 Reputation points
0 answers

.NET MAUI Shell - How to customize FlyoutItem appearance dynamically - Group header above Items (SLOVED!)

For a business application I needed a custom style for the flyout menu. The menu needed to have a group headers above certain items. Group headers are only visual elements, no click action. After a long time of searching the Internet I only found posts…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-12T11:17:45.16+00:00
Andre Rippstein 1 Reputation point
0 answers

Delivery has failed

Delivery has failed to these recipients or groups: [salescord farnasintl.com (salescord@farnasintl.com)] Your message wasn't delivered because the recipient's email provider rejected it.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,893 questions
Internet Information Services
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,883 questions
asked 2024-10-12T07:53:44.2766667+00:00
Mohamed hussein 0 Reputation points
0 answers

Are ESim related WinRT APIs require Package Identity?

Hi, team I am trying to use WinRT API (under name space Windows.Networking.NetworkOperators) to read ESim ID on my laptop. I created a UWP App and this api worked. However the project i'm working on is not a UWP app and it's based on .NET 4.6. I imported…

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.
5,404 questions
Universal Windows Platform (UWP)
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,777 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.
10,936 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,352 questions
asked 2024-10-11T06:40:18.12+00:00
Jayden Xia 0 Reputation points
edited a comment 2024-10-12T02:34:11.2066667+00:00
Jayden Xia 0 Reputation points
0 answers

How to troubleshoot mysterious internal 500 server error of a Blazor App on Linux

An application has mysteriously stopped working on a build with internal 500 server error. The application was working on a previous build that's only a day old. The changes between the builds are minimal. The proxy settings on Apache are the same in…

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,580 questions
asked 2024-10-11T22:53:22.86+00:00
Paul Carlton 0 Reputation points
1 answer

How to fix .NET 4.6 application pool crash on Windows Server 2022

We recently upgraded our Windows Server from 2012 to 2022. We are now experiencing App Pool crashes with IIS hosted applications running .NET 4.6. The crashes require us to stop the application pool, terminate the w3wp.exe task manually for that…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,490 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,094 questions
Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,490 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,094 questions
asked 2024-10-10T11:34:26.3066667+00:00
Trevor Levitt 0 Reputation points
commented 2024-10-11T19:15:35.2466667+00:00
Lex Li (Microsoft) 5,582 Reputation points Microsoft Employee
1 answer

How to fix .NET 4.6 application pool crash on Windows Server 2022

We recently upgraded our Windows Server from 2012 to 2022. We are now experiencing App Pool crashes with IIS hosted applications running .NET 4.6. The crashes require us to stop the application pool, terminate the w3wp.exe task manually for that…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,490 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,094 questions
Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,490 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,094 questions
asked 2024-10-10T11:34:26.3066667+00:00
Trevor Levitt 0 Reputation points
commented 2024-10-11T19:15:35.2466667+00:00
Lex Li (Microsoft) 5,582 Reputation points Microsoft Employee
0 answers

Sort and filter not working .net maui

I'm trying to add a filter and sort to my app. the sort and filter func code are stepped thru but does not work, I do not see any data in the checkListItem I think the issue is the use of SourceCache ( I found sort/filer sample code and tried to add…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,131 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-10T13:37:02.0266667+00:00
tim 180 Reputation points
commented 2024-10-11T18:56:29.86+00:00
tim 180 Reputation points
1 answer One of the answers was accepted by the question author.

Using Plugin.BLE to connect/reconnect to BLE device

Hello all, as in the title, I am using the Plugin.BLE nuget package to connect to a device via BLE. On app startup, I have no problem connecting and reading/writing to the BLE device. My issues start happening once I reconnect to the device in the event…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-11T02:18:25.0166667+00:00
Phillip Mobley 51 Reputation points
accepted 2024-10-11T18:06:36.88+00:00
Phillip Mobley 51 Reputation points
0 answers

ignoring margin

In my Maui app, I have a customBorderStyle, that my DeskTopTemplate is ignoring completely <ContentPage.Resources> <DataTemplate x:Key="PhoneTemplate" x:DataType="{x:Null}"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-11T17:07:37.33+00:00
Eduardo Gomez Romero 625 Reputation points
0 answers

How to Drag and Drop Outlook Attachments into a .NET MAUI Application?

I’m working on a .NET MAUI application that allows users to drag and drop file attachments from Outlook. I have successfully implemented drag-and-drop functionality for files from Windows Explorer, but I’m facing challenges when trying to do the same…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,601 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,854 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-02T21:03:12.09+00:00
Ansh 0 Reputation points
commented 2024-10-11T16:43:56.72+00:00
Ansh 0 Reputation points
3 answers

Bubble sort implementation in c#

Here's how to implement a bubble sort in c#. Follow for more content like this :) int[] array = { 108, 23, 69, 420, 9 }; int temporary; for (int j = 0; j <= array.Length - 2; j++) { for (int i = 0; i <= array.Length - 2; i++) { if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 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.
10,936 questions
asked 2023-04-26T17:46:47.1+00:00
Jack Herer 110 Reputation points
answered 2024-10-11T16:41:15.0366667+00:00
Bruce (SqlWork.com) 65,316 Reputation points
2 answers

How store token from POST sent from external application

We have a .NET WebForms application ("NetApp") that is launched from a WebFOCUS application ("WF") via a POST request, passing a token. NetApp cannot grab this token when a POST is used by WF, but when GET is used by WF, no problem.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
asked 2024-10-11T14:39:27.7633333+00:00
J Fisher 0 Reputation points
answered 2024-10-11T16:08:53.77+00:00
Bruce (SqlWork.com) 65,316 Reputation points
1 answer

How to activate front camera in MAUI using Media Picker?

Hello... I need to allow my MAUI app users to take a selfie, so that, I need to activate front camera. When using MediaPicker.Default.CapturePhotoAsync rear camera is used. Any help, please? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-06-06T20:21:19.8266667+00:00
Jaime Stuardo 66 Reputation points
commented 2024-10-11T14:26:25.1866667+00:00
Jaime Stuardo 66 Reputation points
0 answers

Clickonce setup app crashes

on a windows 7,64 bit, Sp1 can a C#.net winform application build on framework 4.8 be installed ? it was possible to install framework 4.8 on windows 7 sp1, 64 bit pc the clickonce setup also ran sucsesfully. but application starts and stops…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,893 questions
asked 2024-10-10T15:46:30.5933333+00:00
Sushil Agarwal 406 Reputation points
commented 2024-10-11T12:31:44.6133333+00:00
Sushil Agarwal 406 Reputation points
0 answers

How to style with corners rounded on shell topBar to all pages including using Routing registration

Hi I`m trying to customize the default shell topbar in Android and iOS I would do like to set some rounded corners on it i`m trying to follow this https://vladislavantonyuk.github.io/articles/Customizing-.NET-MAUI-Shell/ I almost get done, but when a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
asked 2024-10-11T12:20:22.75+00:00
Armando Araujo Junior 0 Reputation points
edited the question 2024-10-11T12:21:51.2666667+00:00
Armando Araujo Junior 0 Reputation points