24,268 questions with .NET-related tags

Sort by: Updated
0 answers

XamlC error XFC0062: Undeclared xmlns prefix

Hi, I am doing a first test in .NET Maui but can't get this resolved. I keep getting the same compile error on : Error XFC0062 Undeclared xmlns prefix "mym". MyMauiApp C:\Users\thoma\source\repos\MyMauiApp\MainPage.xaml 17 Output window : …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,705 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-27T15:14:18.1133333+00:00
ThomasB-3258 0 Reputation points
0 answers

What should be the format of the date fields in the loop?

@for (int i = 0; i < Model.TBL_CalismaHayatiList.Count; i++) {<div class="col-md-6"> <div class="input-block mb-6"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,318 questions
asked 2024-05-27T15:07:10.47+00:00
kadir 40 Reputation points
0 answers

Problem in bitmap to vector image converter

Hi, I want to make an app that converts a bitmap image to SVG format. Below you can see my code: @page "/" @using Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 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.
1,422 questions
asked 2024-05-27T14:06:14.7366667+00:00
Saeed Pooladzadeh 231 Reputation points
edited a comment 2024-05-27T14:49:16.6233333+00:00
Viorel 113.1K Reputation points
1 answer

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,318 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,390 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.
306 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
edited a comment 2024-05-27T14:33:14.16+00:00
Noah Aas 260 Reputation points
0 answers

[MAUI] How to create home shortcut for app on Android

I've been searching, with no luck so far, how to add a shortcut for my MAUI .NET 8.0.5 application on Android 10 (API 29) home screen. There are two Android permissions in the manifest INSTALL_SHORTCUT UNINSTALL_SHORTCUT But neither seem to produce…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-27T14:27:31.6933333+00:00
Camille 6 Reputation points
edited the question 2024-05-27T14:30:13.8433333+00:00
Camille 6 Reputation points
0 answers

Publish Azure Windows app service time charge very high

When trying to publish an application with Microsoft Visual Studio, it gets stuck on the loading page. I have installed Azure deployment and reset my internet connection, which is good. What can I do?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
601 questions
asked 2024-05-26T19:56:09.15+00:00
Raúl Gómez 0 Reputation points
edited a comment 2024-05-27T14:07:58.3966667+00:00
Raúl Gómez 0 Reputation points
0 answers

How to check crash log sent by Apple review team for iOS .Net MAUI application.

We have developed an application using .Net MAUI in Visual Studio 2022 on Windows machine. Application is working properly on android devices and also working on iPhone device. We upload an application version on Apple App Store, but it was rejected with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-27T14:03:37.5866667+00:00
Bhushan Akole 0 Reputation points
1 answer One of the answers was accepted by the question author.

DataGridView column alignment header vs data

In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 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,608 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
commented 2024-05-27T12:56:42.26+00:00
Andrew Mercer 461 Reputation points
1 answer One of the answers was accepted by the question author.

Decoder ran into invalid data problem on .net maui ios?

Hello, I am using .net maui to build a mobile application for android and iOS. An asp.net core is used for the backend. As of recently I started receiving an issue when retrieving data from all of the API endpoints - with the error being - Decoder ran…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-24T11:54:55.22+00:00
Miso Tomovski 20 Reputation points
commented 2024-05-27T11:54:53.8966667+00:00
Miso Tomovski 20 Reputation points
0 answers

.NET Core SDK on Mac

Hi, I have Mac computer. I install vs code. I installed .NET Core SDK 8 and got this error in vs code. The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info /bin/sh: dotnet: command not found /bin/sh:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-27T10:27:12.52+00:00
Dani_S 2,886 Reputation points
1 answer One of the answers was accepted by the question author.

How to use localized RESX in Blazor WASM?

Hi, all I want is standard "old way" usage of generated static properties of my RESX to localize texts based on CultureInfo and .culture.resx files. I've just figured out, that only difference from .NET Framework is that now in .NET 8 culture…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 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,390 questions
asked 2024-05-22T07:01:50.83+00:00
Rada Matěj 200 Reputation points
commented 2024-05-27T10:25:15.6933333+00:00
Rada Matěj 200 Reputation points
2 answers

How to make search text in ASP.NET dropdown controls

I have been developing ASP.NET application. some of the place i want searchable dropdown controls. the dropdown should search both numbers and name. How to do this...? example data as below. Cust.Name | Cust.Number Alfred K AXN29109 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,318 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,390 questions
asked 2024-05-25T08:11:36.1666667+00:00
Gani_tpt 1,766 Reputation points
commented 2024-05-27T10:24:44.6933333+00:00
Gani_tpt 1,766 Reputation points
0 answers

CheckBox renders as radiobutton in IOS

CheckBox renders as checkbox in Android. But this appears as radio button in IOS. I am using .NET MAUI for mobile development.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-27T00:11:21.29+00:00
Mahendra Bisht 0 Reputation points
edited a comment 2024-05-27T09:23:52.48+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,466 Reputation points Microsoft Vendor
0 answers

how to solve:An unhandled exception occurred while processing the request. SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Doctors_Users_UserId".

An unhandled exception occurred while processing the request. SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Doctors_Users_UserId". The conflict occurred in database "Diabetes2AppDb", table…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
703 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,390 questions
asked 2024-05-26T19:23:31.6466667+00:00
karen matungwa 0 Reputation points
commented 2024-05-27T09:12:14.18+00:00
Hongrui Yu-MSFT 415 Reputation points Microsoft Vendor
2 answers

How to implement Google Authetication in Blazor Web app without Core Identity

I would like to use custom authentication without using out-of-the-box Core Identity in my Blazor Web App with Oauth authentication. I started the app using the template without using individual user account because we have our own registration and login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
asked 2024-05-14T10:25:28.9566667+00:00
Iftekhar Ahammed 0 Reputation points
answered 2024-05-27T08:51:50.16+00:00
Zhi Lv - MSFT 32,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

image do not show in .net android?

I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,984 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,746 Reputation points
commented 2024-05-27T08:29:30.61+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,466 Reputation points Microsoft Vendor
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 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,705 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-05-27T08:23:46.0933333+00:00
Minxin Yu 10,436 Reputation points Microsoft Vendor
1 answer

RichTextBox Details

I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
commented 2024-05-27T08:17:03.3633333+00:00
Jiale Xue - MSFT 36,471 Reputation points Microsoft Vendor
1 answer

ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"

I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
asked 2024-05-22T12:50:11.1666667+00:00
Liedtke, H 0 Reputation points
commented 2024-05-27T08:05:23.18+00:00
Liedtke, H 0 Reputation points
0 answers

How to clear the account list in the Web Account Manager list of Accounts displayed by WAM Broker

I have a WPF desktop app that accesses an Azure WebAPI. It uses the MSAL library and when authenticating uses the WAM broker. When the list of accounts is displayed, there is an account of someone that used the computer once when I was logged on to the…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
628 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,461 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,866 questions
asked 2024-05-25T18:43:22.4933333+00:00
Michael 76 Reputation points
edited the question 2024-05-27T07:58:26.0233333+00:00
Roy Li - MSFT 32,486 Reputation points Microsoft Vendor