23,027 questions with .NET-related tags

Sort by: Updated
0 answers

Javascript function not working due to JQuery conflict

My Javascript function, which loads fonts onto my webpage does not work again after I added draggable function for labels. I even added the JQuery no conflict rule but it is still not working. All Code <html…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,152 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,167 questions
asked 2024-02-23T08:32:06.9033333+00:00
Donald Symmons 2,726 Reputation points
0 answers

Re: Microsoft Security Advisory CVE-2024-0056: Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data provider Information Disclosure Vulnerability

Hi, We are using some VB.NET Windows/Web Applications, C#.Net Windows Class Library/Windows Service Applications, Framework 4.5/4.8 have been used in all of them and referred System.Data.SqlClient for SQL Server activities. Clients are using Framework…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,152 questions
asked 2024-02-23T08:30:15.4+00:00
Sachidhanantham Ramalingam 16 Reputation points
0 answers

AJAX combo box not searching specific letters in the word (data) in asp.net C#

I am using AJAX dropdown controls for dual purpose (Search and select). I have been facing some issue in that controls. When i search the particular "letter", it wil not be filtered data in the combo box. What is the problem and how to solve…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,167 questions
asked 2024-02-23T08:11:42.64+00:00
Gani_tpt 1,426 Reputation points
commented 2024-02-23T08:28:37.4466667+00:00
Lan Huang-MSFT 22,906 Reputation points Microsoft Vendor
0 answers

Push Notification with Azure Notification Hub and documentation

I'm trying to add push notification in my .NET8 MAUI application. I was looking at the Microsoft documentation and the function public override void RegisteredForRemoteNotifications is probably what I need. public override void…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-23T08:26:48.8733333+00:00
Enrico Rossini 126 Reputation points
0 answers

How to concatenate string in password.aspx file ?

Hi, For my domain i want to concatenate automaticaly *DOMAIN* + username in password.aspx file : Because many of my users dont write DOMAIN\ and its very boring ! ive already add a value like value="DOMAIN" in the input form but when i put a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,167 questions
asked 2024-02-22T14:56:28.91+00:00
Thg 0 Reputation points
commented 2024-02-23T08:24:19.1233333+00:00
Thg 0 Reputation points
0 answers

Net maui Colectionview Item can not re click again? how to fix it ?

Net maui windows platform Colectionview Item can not re click again ? how to fix it ? I have 2 menus if i clicked differant menu's item when I clicked again the last item selected again that is not possible to fire click event...How to do ? ...Thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-22T21:34:22.17+00:00
Sami 721 Reputation points
commented 2024-02-23T08:23:40.9866667+00:00
Sami 721 Reputation points
0 answers

How to prevent any form resizing in VS2022 Windows Forms?

Okay, I have been working on a Wizard based VSIX installing templates into VS2022 for my place of employment. They are typically simple forms, that utilize a variety of controls - many of them customized. The latest updated (17.9) for VS2022 affected…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,798 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,403 questions
asked 2024-02-23T04:53:41.0333333+00:00
Jaeden Ruiner 126 Reputation points
commented 2024-02-23T08:16:06.0066667+00:00
Tianyu Sun-MSFT 24,891 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

What is AndroidResource type under Android-Maui?

When migrating from XAMARIN to .NET MAUI, what was AndroidResource in Android Resources folder defaults to Content which doesn't look right. What is AndroidResource type when migrated to MAUI? The file properties (for *.png, *.xml files) give no option…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 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,933 questions
asked 2023-07-25T14:04:53.2633333+00:00
dg2k 1,376 Reputation points
answered 2024-02-23T07:59:53.8066667+00:00
Gautam Jain 0 Reputation points
1 answer

Issue with Pre-selection

I need to preselect the list if it has only one item , i tried the one suggested in the MAUI official docs but it never seemed to work for me . I tried by manually setting the following in the constructor of the code behind of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-15T10:54:06.42+00:00
Manickam, Suraj 160 Reputation points
commented 2024-02-23T07:57:39.9833333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 63,921 Reputation points Microsoft Vendor
1 answer

In MS Graph version 5.36.0 $search params allows using string.Empty when no input value, when updating to version 5.41.0, string.Empty error and the error Expression expected at position 0 in ' '. Replace null for string.Empty is successfully. Why?

In MS Graph version 5.36.0 $search params allows using string.Empty when there is no input value, but when updating to version 5.41.0, string.Empty cannot be used anymore and it will report the error Expression expected at position 0 in ' '. When I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,152 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,932 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,144 questions
asked 2024-02-23T04:36:36.45+00:00
Jackie Dinh 0 Reputation points
answered 2024-02-23T07:43:28.1133333+00:00
RaytheonXie_MSFT 29,031 Reputation points Microsoft Vendor
0 answers

Webview Source issue

We are encountering an issue where the WebView in our Android app is automatically appending "file:///android_asset/" to the URL, causing the webpage not to display correctly on our device. Please help us how to solve this issue.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-04T07:18:45.85+00:00
Yogita Magdum 0 Reputation points
commented 2024-02-23T07:29:39.2533333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,261 Reputation points Microsoft Vendor
0 answers

Performance improvement while loading a collection View

Hi , I have to load a collection that has a huge data , I use async task to fetch the data from service and use loading indicator till then , when I navigate to the response screen , it takes a bit of time to populate the collection view which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-23T07:22:20.4166667+00:00
Manickam, Suraj 160 Reputation points
1 answer

.NET MAUI Blazor Hibryd App Localization

Hello guys, What localization technique is the BEST? I see people use a lots of diff techniques so I was wondering what is the, let's say most standard approach. In other words, which one will not cause any trouble later, when I need to do something…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,999 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,310 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-22T17:33:16.1766667+00:00
Kuler Master 221 Reputation points
commented 2024-02-23T07:19:04.4933333+00:00
Kuler Master 221 Reputation points
1 answer

Remove three dots at the end while using LineBreakMode="TailTruncation" MaxLines="1"

Hi , As per title I have a label with LineBreakMode="TailTruncation" MaxLines="1" and I want to remove the 3 dots at the end. now it shows: "lorem ipsum dol..." and I want "lorem ipsum dolo" Pay…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,253 questions
asked 2024-02-17T07:47:30.25+00:00
vanKraster 181 Reputation points
commented 2024-02-23T07:10:56.0033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 63,921 Reputation points Microsoft Vendor
1 answer

Force run as administrator

My app needs to access other process' handle so it need run as administrator, I searched in google it tells me that add an app.manifest file into your project and modify some settings, but I can't find this kind of file in "Add new item"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,152 questions
asked 2024-02-23T03:27:55.03+00:00
William A Wang 236 Reputation points
answered 2024-02-23T06:54:51.54+00:00
Jiale Xue - MSFT 17,506 Reputation points Microsoft Vendor
1 answer

How do I retrieve a saved font family and use it on Label controls in a div?

Hi, I have a JavaScript code that changes the font of elements in a div. I save this selected font into a database, such that whenever I access this div next time, it is the saved font that will apply to the labels. For example, if a user tries to design…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,167 questions
asked 2024-02-15T11:08:35.2033333+00:00
Donald Symmons 2,726 Reputation points
commented 2024-02-23T06:53:41.95+00:00
XuDong Peng-MSFT 8,096 Reputation points Microsoft Vendor
2 answers

How to save all the updates in a datagrid (set of comboboxes) MVVM back to the database in WPF C#?

I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,152 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,626 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,403 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,933 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
744 questions
asked 2024-02-22T18:34:30.8433333+00:00
Yvon 0 Reputation points
answered 2024-02-23T06:19:48.9566667+00:00
Hui Liu-MSFT 25,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Uninstalling NuGet packages in a .NET MAUI project

When I created a .NET MAUI project, some NuGet packages were installed by default. These packages are causing errors when I try to reference another project in this project. However, these packages are not listed in the project file, and I am unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,570 questions
asked 2024-02-19T11:54:56.0333333+00:00
Gopi Matham 20 Reputation points
accepted 2024-02-23T06:07:54.2166667+00:00
Gopi Matham 20 Reputation points
0 answers

C# Xunit Unit testing Withwith Dependency Injection

in A dote net core 6 API project, i use Xunit for unit testing, i'm trying to test a method inside a service ICrpForcastsService that i implement in a partial class CrpForcastsService: public class ForcastTester: IClassFixture<InjectionFixture> { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,999 questions
asked 2024-02-22T08:43:19.28+00:00
Mohamed Souilmi 0 Reputation points
edited a comment 2024-02-23T06:00:55.14+00:00
Ruikai Feng - MSFT 2,421 Reputation points Microsoft Vendor
1 answer

Graph query only returns 50 tasks

Hi, I have a to do list with ~1000 tasks and would like to delete all of them. So I made a nice little C# program to load all the tasks, filter them, and delete all those that fit. That's supposed to delete around 90% of them. Unfortunately though, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,152 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,932 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,933 questions
asked 2024-02-22T23:30:25.16+00:00
Metallkiller 21 Reputation points
edited a comment 2024-02-23T06:00:08.3+00:00
Viorel 109.8K Reputation points