23,790 questions with .NET-related tags

Sort by: Updated
1 answer

Versioned Artifacts for .NET Framework and .NET Core application(s)

Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-04-17T17:41:02.4466667+00:00
Arjun Goel 0 Reputation points
answered 2024-04-18T15:57:12.3+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer One of the answers was accepted by the question author.

how to pass data from child table to controller

I got stuck in a tricky problem. I can't find the solution anywhere. Clicking on the row of my datatable opens the child table. Checkboxes are attached to both parent table and child table. Clicking the DataTable checkbox(name="Selectall"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-17T10:40:31.2233333+00:00
jewel 701 Reputation points
accepted 2024-04-18T13:20:32.2766667+00:00
jewel 701 Reputation points
4 answers

Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…

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,378 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,204 questions
asked 2022-03-29T14:57:37.95+00:00
Gábor Varga 31 Reputation points
commented 2024-04-18T11:41:02.26+00:00
Develter, Filip 0 Reputation points
1 answer One of the answers was accepted by the question author.

Outlook as late binding with Option Strict ON

Hi Gurus, In an attempt to switch Option Strict to ON I've been correcting the errors & forgot that I hadn't dealt with Outlook. My current code is old VBA based late binding to avoid Office version issues. All the reading I've been able to find all…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,917 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,117 questions
asked 2024-04-02T11:21:05.99+00:00
Hugh Self Taught 81 Reputation points
commented 2024-04-18T11:11:54.1233333+00:00
Hugh Self Taught 81 Reputation points
1 answer One of the answers was accepted by the question author.

How to create borderless entry in iOS- maui .Net 8

I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-01T02:51:09.47+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:39:48.9966667+00:00
Vaibhav Methuku 60 Reputation points
1 answer One of the answers was accepted by the question author.

How to change color of item in a list on Mouse hover.?

I'm having a list of item, Whenever any item is selected in that particular list changing the particular color of the item using a trigger. please find the below code. <DataTemplate x:Key="SiteTemplate"> <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-01T08:23:09.02+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:39:27.8+00:00
Vaibhav Methuku 60 Reputation points
2 answers One of the answers was accepted by the question author.

How to create a alert in MAUI - Platform specific - Android.

Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-17T11:42:25.1566667+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:38:34.1433333+00:00
Vaibhav Methuku 60 Reputation points
1 answer

Microsoft point of sales for .net solution's can't create new PosExplorer Object

I'm Trying to use Microsoft point of sales for .net 1.14.1 version and trying to use it's Cash drawer capabilities for my Windows form application. But when i'm trying to create PosExplorer new object it throws "System.NullReferenceException:…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
asked 2024-04-17T12:11:00.1366667+00:00
Lasitha Lankajeewa 0 Reputation points
answered 2024-04-18T09:36:23.16+00:00
Jiale Xue - MSFT 30,811 Reputation points Microsoft Vendor
0 answers

Intermittent slowness in website

We have a website that is accessed through the web and also through the android apps given to the sales team. It mostly works fine, and the response is also fast. Of late we noticed (could have been happening earlier also, may have gone unnoticed), but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 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.
12,654 questions
asked 2024-04-17T05:47:51.56+00:00
Hardeep Singh 0 Reputation points
commented 2024-04-18T09:31:55.0766667+00:00
Jiale Xue - MSFT 30,811 Reputation points Microsoft Vendor
0 answers

CoreMessagingXP.dll crash

Hello, I am maintaining a .NET application with a WinUI3 UI which sometime crashes. In the event viewer I see that the crash is caused by CoreMessagingXP.dll but I have no idea about the real cause of the problem since I see the application crashing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 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,204 questions
asked 2024-04-18T06:49:47.9733333+00:00
Mario Raffin 0 Reputation points
commented 2024-04-18T08:50:05.9833333+00:00
Mario Raffin 0 Reputation points
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 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,667 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-04-18T08:41:49.4366667+00:00
Hui Liu-MSFT 38,026 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 61 Reputation points
accepted 2024-04-18T08:40:51.2833333+00:00
Prash 61 Reputation points
1 answer One of the answers was accepted by the question author.

Is control.TrayLocation in resource file is really required?

whenever I add a non visual control(tooltip, dataset etc) to windows form, an entry control.TrayLocation gets added in the resource file. is it really required? is it okay to delete this entry before checking-in into source control?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,821 questions
asked 2024-04-18T05:31:12.0666667+00:00
Prash 61 Reputation points
accepted 2024-04-18T08:38:51.3533333+00:00
Prash 61 Reputation points
1 answer One of the answers was accepted by the question author.

How to get Custom Namespaces and Prefix for an XML file?

I have a structure in which I fill in data and I want to save it as an XML file. How can I set Namespaces and Prefix so as to obtain an XML file with the structure as in the example below? Thank you! public class AuditFile { public Header Header { get;…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 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,204 questions
asked 2024-04-17T11:23:54.3966667+00:00
TRAIAN MACAVEIU 91 Reputation points
accepted 2024-04-18T08:38:45.17+00:00
TRAIAN MACAVEIU 91 Reputation points
0 answers

internal error in the .NET Runtime at IP 70DE92C3

Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"

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,204 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,117 questions
asked 2024-04-15T16:08:52.4566667+00:00
Tom McKeown 0 Reputation points
commented 2024-04-18T08:25:10.2566667+00:00
Jiachen Li-MSFT 26,426 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Round in the navigation of flylou

Hi, In https://github.com/dotnet/maui/issues/21576 there is attached sample. Why there is round in the navigation of flylout ( See attched picture) and how is can be fixed ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-17T11:50:03.91+00:00
דני שטרית 2,706 Reputation points
accepted 2024-04-18T08:20:30.7866667+00:00
דני שטרית 2,706 Reputation points
1 answer One of the answers was accepted by the question author.

ContentView as CollectionView's ItemTemplate with custom Command

Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-15T14:45:48.2866667+00:00
Matteo Pozzato 116 Reputation points
accepted 2024-04-18T08:14:17.1233333+00:00
Matteo Pozzato 116 Reputation points
2 answers

On Click of hyperlink Teams chat opening

Hello Team I am working on a requirement which on a click of hyperlink. I am using Microsoft Razor Microsoft Teams should open and a particular person chat should open, message should contain a message along with a div ready to be delivered(Waiting for…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,033 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-17T08:00:52.94+00:00
Sridhar, Arun (Cognizant) 0 Reputation points
edited an answer 2024-04-18T08:10:07.1933333+00:00
Sridhar, Arun (Cognizant) 0 Reputation points
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,578 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 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,204 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
935 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
326 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,021 Reputation points Microsoft Vendor
2 answers

Samphore Silm usage in two diffrent project.

Hi, I have maui app in windows, .NET 8. I have also worker service in NET 8. I have class librarary common to both projects that use Samphore Silm. SessionTokenSingelton.GetInstance().GetSessionToken(key); Both apps running on same machine. Does every…

.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,117 questions
asked 2024-04-07T10:44:27.83+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-18T07:48:50.8233333+00:00
דני שטרית 2,706 Reputation points