24,058 questions with .NET-related tags

Sort by: Updated
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-10T04:17:21.9433333+00:00
Keerthana Krishna 40 Reputation points
0 answers

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-10T04:14:27.3166667+00:00
Sreejith Sreenivasan 691 Reputation points
1 answer

System.Data.SqlClient conflict between versions

In a Dll project in C# .Net Framework 4.8 with the latest version of VS I have installed the Nuget package System.Data.SqlClient 4.8.6 but when checking it in the solution explorer, "References", "Properties" appears as 4.6.1.6 and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
asked 2024-05-09T04:28:33.6166667+00:00
zequion 111 Reputation points
commented 2024-05-10T03:47:39.73+00:00
zequion 111 Reputation points
0 answers

我们用webform框架使用edge弹窗用什么方式兼容性最好?

使用webform框架RegisterStartupScript方法注入JS实现弹窗功能,在edge浏览会有卡死的情况。请问有什么好的方式来处理这种兼容性问题?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,287 questions
asked 2024-05-10T02:28:01.4133333+00:00
罡 孙 0 Reputation points
commented 2024-05-10T03:42:42.5466667+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer

InternalServerError on Azure Web App deployment

Hi, I'm having some trouble figuring out why a deployment for an Azure Web App fails. I've tried deployment to a container app, and an app service, with both GitHub actions workflow and through a web deploy using pubxml. My application runs fine and as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,203 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,945 questions
asked 2024-05-10T01:30:24.82+00:00
Cesar Vera 0 Reputation points
answered 2024-05-10T03:37:38.3933333+00:00
Sedat SALMAN 13,170 Reputation points
1 answer

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,287 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,300 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
answered 2024-05-10T03:32:52.6233333+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
0 answers

Touch Events in .NET MAUI

Hi I'm working on a piano keyboard app in .NET MAUI, and I'm encountering an issue with implementing a specific feature. I want users to be able to slide their finger across the keys, triggering a note for each key they pass over. However, I'm only…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
edited the question 2024-05-10T03:02:31.2333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
1 answer

Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one.

Microsoft Visual Studio 2022 Blazor Web App template and .Net 8 with rendering. Database access and rendering has been for me a tricky one. And I may give back a little to community making this GitHub repository…

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,401 questions
asked 2024-05-06T15:12:28.11+00:00
Timo Kinnunen 126 Reputation points
answered 2024-05-10T02:56:54.15+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
0 answers

User.identity.getuserid() returns null after signin.

I have a piece of code for login in asp.net C# webform. it uses inbuilt login function, and User.Identity.GetUserId() to catch the userId. But after login the User.Identity.GetUserId() returns null. Below is my login code // Validate the user password …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,287 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,300 questions
asked 2024-05-10T02:12:49.11+00:00
Emeka Okoye 46 Reputation points
1 answer One of the answers was accepted by the question author.

[MAUI]When I use the AudioTrack.Write() ,it stuck the main thread

I created an AudioTrack object named audioTrack, and use the audioTrack.Play(), Then in an Event I use the audioTrack.Write() method, and it stuck the MainThread, I have try to use the async, but it doesn't help. I also try to use Task.Run() to created…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2023-08-30T22:46:07.1933333+00:00
studio XFE 45 Reputation points
accepted 2024-05-10T01:53:16.3933333+00:00
studio XFE 45 Reputation points
2 answers

running asp.net intranet application on localhost asking for authentication

I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,203 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,287 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,300 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-10T01:44:37.0966667+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer

The code generator for identity command failing saying No MSBuild was detected?

The code generator for identity command failing saying No MSBuild was detected?

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
6 questions
asked 2024-05-06T13:47:43.7333333+00:00
Muhammad Naeem 0 Reputation points
commented 2024-05-10T01:24:34.38+00:00
Rita Kovács Sipeki 0 Reputation points
1 answer

Login with Keycloak integartion on MAUI application

Is it possible to integrate the login feature with keycloak? Currently we are using back end API for login and after that we are redirecting the user to home page. Instead we need to add a login button on the UI and when tapping on it we need to open the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2024-05-09T11:11:20.79+00:00
Sreejith Sreenivasan 691 Reputation points
answered 2024-05-10T01:14:47.9633333+00:00
Bruce (SqlWork.com) 56,926 Reputation points
1 answer

How to perform a pivot grid in maui?

Hi, i want to display data from observablecollection in a pivotgrid using .Net Maui 8 like in the picture below. the columns are generated programatically. i write this code in the viewmodel: Stockstcviews =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 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,300 questions
asked 2024-05-03T16:24:46.6+00:00
Kaouthar GR AOUICHAOUI 40 Reputation points
commented 2024-05-10T01:13:54.4233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

building simple MAUI app causes an error

Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2024-05-06T22:11:05.73+00:00
Tariq Roshan 0 Reputation points
commented 2024-05-10T01:13:36.39+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

Zindex dosent work

I am trying to make a custom control that resembles a Material Design textbox My app is almost there ContentView x:Class="CustomEntry.Controls.CustomEntry" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
asked 2024-05-08T23:17:02.51+00:00
Eduardo Gomez Romero 205 Reputation points
commented 2024-05-10T00:51:29.2166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
1 answer

Custom Hybrid Connection Manager

Hi, I would like to know if we can have a custom hybrid connection manager in .net core code. I would like to connect to on-prem sql server from a cloud deployed .net solution. I am using Azure app service /Relay/Hybrid Connection for the same. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,203 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,793 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,945 questions
asked 2024-05-08T15:25:31.47+00:00
Santhi Dhanuskodi 145 Reputation points
edited a comment 2024-05-09T22:37:55.53+00:00
Bruce (SqlWork.com) 56,926 Reputation points
2 answers

An old ASP.NET WebForms app won't build due to missing references and related

I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,287 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,637 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-09T21:05:53.5633333+00:00
Falanga, Rod, DOH 80 Reputation points
1 answer One of the answers was accepted by the question author.

EF6 continually Access__MigrationHistory table leading to SQL errors

Customers have reported slowness in the our application and have seen a large number of errors reported in SQL. The hosted environment’s performance logging tool (NewRelic) has reported an increase in failure rate which the customer suspect is the cause…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
asked 2023-04-27T10:31:45.88+00:00
ps-rizwan 21 Reputation points
accepted 2024-05-09T20:22:19.72+00:00
ps-rizwan 21 Reputation points
0 answers

Issues with EF Update Command and Azure Credentials in ASP.NET Core Application

I am encountering errors while attempting to run an Entity Framework (EF) update command (dotnet ef database update) from my ASP.NET Core application. The application is connected to a database hosted on Azure. After executing the EF update command, I am…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,203 questions
asked 2024-05-09T18:29:21.49+00:00
Yamen Edel 0 Reputation points