24,190 questions with .NET-related tags

Sort by: Updated
0 answers

VS Nuget doesn't work with MAUI but does with WPF

I'm currently using Visual Studio Professional 2022 17.8.9. If I create a WPF project, I'm able to browse Nuget packages. However, if I create a MAUI project and try to browse Nuget, I get the following error message [nuget.org] Unable to load the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,442 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,676 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-20T19:47:16.7166667+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
0 answers

Is it correct to make connection string dynamic?

Hi, I'm currently working on a project which need data from other databases. The database where I'll get the datas are depends on users. Now I want to make my connectionString dynamic. Is it correct to make connection strnig dynamic. The user will enter…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 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,859 questions
asked 2024-05-20T19:12:10.4966667+00:00
Atilla Rüstəmli 0 Reputation points
1 answer One of the answers was accepted by the question author.

Div <li> menu color not updating properly in ASP.NET master page c#

I am using menu control using <ul> and <li> tag. I am trying to apply some different color while menu selected. But, applying color not reflected in menu. (particularly white color for text in the menu) what will be the problem in the below…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,363 questions
asked 2024-05-18T13:29:33.9266667+00:00
Gani_tpt 1,686 Reputation points
commented 2024-05-20T17:28:31.4333333+00:00
Gani_tpt 1,686 Reputation points
3 answers

How to make loader image show on every page when user click on any task

I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
898 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,363 questions
asked 2024-05-19T04:01:14.2433333+00:00
Emeka Okoye 46 Reputation points
answered 2024-05-20T17:11:16.9833333+00:00
Bruce (SqlWork.com) 57,646 Reputation points
2 answers

EF is not creating a MigrationsHistory table

Hi all; I've been using Entity Frameworks for some time with my app. And I just noticed, there is no MigrationsHistory table. I looked at the files in core/Migrations and none of them create a MigrationsHistory table. Why is it missing and how do I get…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 questions
asked 2024-05-16T15:06:13.2033333+00:00
David Thielen 2,306 Reputation points
commented 2024-05-20T16:46:22.86+00:00
David Thielen 2,306 Reputation points
1 answer

What is a good way of track link clicks in Asp.Net Core 7 MVC app in Application Insights?

I have an MVC app with several <a> tags, and I want to have a way of tracking link clicks, preferably without doing redirects (i.e., without changing link addresses). Is there any way this can be done? and the link clicks are tracked on Application…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
asked 2024-05-20T07:49:05.8166667+00:00
Astha Gangwar 0 Reputation points
edited the question 2024-05-20T16:28:06.4133333+00:00
Astha Gangwar 0 Reputation points
2 answers

how to create ios application in vs?

there is Android Application in VS. but no ios Application right? how to create ios? not MAUI just .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-13T04:00:44.6866667+00:00
mc 3,701 Reputation points
commented 2024-05-20T16:25:31.4+00:00
Bruce (SqlWork.com) 57,646 Reputation points
1 answer

AKS deployed application to access on-prem server

Hi, I want to connect to on-prem sql server from a .net application which is deployed in AKS. We already have Azure relay/hybrid connection setup for the same, but that requires azure app service. I am looking for options to connect from AKS deployed…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 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,859 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,883 questions
asked 2024-05-16T12:53:21.2833333+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-05-20T16:15:07.1666667+00:00
Bruce (SqlWork.com) 57,646 Reputation points
0 answers

.net maui MVVM exit button wont file but collection button does. what did I miss?

I'm converting a xaml app to .net maui. I'm not able to find where I'm missing code that is keeping the button from firing the exit code in my viewmodel. i've compared the code for the exit page to my collection page ( In which the button works) but I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,676 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-20T14:54:19.5166667+00:00
tim 120 Reputation points
1 answer One of the answers was accepted by the question author.

Rename zip file

Hi, How do I rename exsiting zip file ? Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,442 questions
asked 2024-05-20T12:48:13.9833333+00:00
Dani_S 2,866 Reputation points
accepted 2024-05-20T14:32:34.4366667+00:00
Dani_S 2,866 Reputation points
4 answers One of the answers was accepted by the question author.

Azure B2C sign in page does not display company branding images on .NET clients only

We are using MSAL.NET with B2C to authenticate our users. We have a custom company logo and background image that we display when the user signs in to our application. In our Angular-based web portal, the sign in page displays correctly, but in our .NET…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,353 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,442 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,785 questions
asked 2024-04-12T16:26:31.89+00:00
Jordan Hariel 41 Reputation points
accepted 2024-05-20T13:58:25.7266667+00:00
Jordan Hariel 41 Reputation points
2 answers

Error while submitting the registration form

RegistrationForm.cshtml @page @model FaceAdminApp.Pages.Auth.RegistrationFormModel @{ ViewData["Title"] = "RegistrationForm"; } <style> .container { max-width: 600px; margin: 0 auto; padding:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
asked 2024-05-20T05:31:38.77+00:00
Surya Chandra Mohan 20 Reputation points
edited a comment 2024-05-20T13:42:25.9833333+00:00
AgaveJoe 26,161 Reputation points
3 answers

Javascript Gridview checkbox alert message not working properly.

I am using javascript validation in gridview. I have selected checkboxes in the gridview. but, still it's throwing alert message unncessarily. where is the problem in the below code. kindly update asap if anyone identified the issues. or pls. provide…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,363 questions
asked 2024-05-19T14:52:29.7566667+00:00
Gani_tpt 1,686 Reputation points
commented 2024-05-20T13:40:32.52+00:00
Gani_tpt 1,686 Reputation points
1 answer

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 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,363 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 206 Reputation points
edited an answer 2024-05-20T13:32:18.0066667+00:00
wire_jp 206 Reputation points
0 answers

How to Integrating Windows WebAuthn API with Custom Credential Provider in WPF C#

I've developed a Custom Credential Providers application that interacts with the Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() method for Authentication using Window Hello or External Fido2 Security Key. However, the CredentialUIBroker.exe…

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.
4,828 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,442 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,363 questions
asked 2024-05-20T12:24:14.5966667+00:00
Harshit Patidar 0 Reputation points
0 answers

Every time I open File location it updates LastAccessTime Since I updated to the newest windows 10 version, but wasnt before it

I noticed that after the recent update for windows 10 22H2(5/18/2024) I noticed that every time i opened a file location lets say CS2 folder or PureVPN File location it updated the LastAccessTime for the Files of that Application that was in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,771 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,363 questions
asked 2024-05-20T11:09:25.1766667+00:00
LuzuVlogs Gamer 0 Reputation points
commented 2024-05-20T11:16:39.2133333+00:00
David Lowndes 2,355 Reputation points MVP
1 answer

Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."

Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,704 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,363 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
commented 2024-05-20T10:49:02.6166667+00:00
ShaikMaheer-MSFT 38,126 Reputation points Microsoft Employee
0 answers

Maui app for Android how to get rid of this dialog

Hello All. I use Ver 17.10 preview 7 and android Ver 34. I get the following dialog (image) and when I cancel it all go OK But every time I build my app it's appears and I need to cancel it to continue the build task. Please how I can get rid of it. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,676 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-19T08:46:12.7066667+00:00
Haviv Elbsz 1,946 Reputation points
edited a comment 2024-05-20T09:44:04.49+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,871 Reputation points Microsoft Vendor
0 answers

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
commented 2024-05-20T09:16:54.02+00:00
Thinh Nguyen Viet 0 Reputation points
0 answers

Xamarin Forms Target Version Android 14

Hi, I am working on the Migration of Xamarin Forms code to .NET MAUI. Till then, I tried to publish the Xamarin Form Android app with Android Target SDK version 14. I got the same issue as mentioned in the GitHub link:- …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-16T12:29:49.5333333+00:00
Chinmay Dole 20 Reputation points
commented 2024-05-20T09:02:52.2166667+00:00
Chinmay Dole 20 Reputation points