24,060 questions with .NET-related tags

Sort by: Updated
1 answer

Sending and Receving messages to Azure Service Bus using ASP.NET framework 4.8

Hello Trying to send and recieve message using ASP.NET example to Azure Service Bus. Pls share the code if possible. https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/samples/Sample01_SendReceive.md Have…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
553 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
961 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 questions
asked 2024-05-10T05:44:53.6933333+00:00
Chandrakant Pawle 81 Reputation points
answered 2024-05-10T06:16:02.76+00:00
hossein jalilian 3,175 Reputation points
0 answers

Unauthorized error when logging in with IdentityModel.OidcClient in MAUI

I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
.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,301 questions
asked 2024-05-09T07:10:13.6466667+00:00
Jalza 736 Reputation points
commented 2024-05-10T06:08:07.53+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
0 answers

iOS build getting a crash with a report

In iOS I am getting a crash in stimulator after launching splash screen. After it crashed i can see a crash report and it mentioned as signal 6 abort trap : 6 as Termination Reason.

.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-09T10:24:55.66+00:00
Vinothkumar Swaminathan 20 Reputation points
commented 2024-05-10T06:05:21.29+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 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,289 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,301 questions
asked 2024-05-10T02:12:49.11+00:00
Emeka Okoye 46 Reputation points
commented 2024-05-10T06:02:36.7033333+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
0 answers

Google In-Apps always refunded after 3 days in Xamarin.Android/.NET 8

I have built an app originally with Xamarin.Android. I recently migrated it to .NET 8, but I noticed that after they pay, I lose my money since they are auto-refunded. I read in some forums that I had to acknowledge the payment and I did that: public…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
.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-09T08:43:41.3633333+00:00
Federico Navarrete 616 Reputation points
commented 2024-05-10T05:49:42.9933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
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-10T05:48:38.9933333+00:00
zequion 111 Reputation points
0 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,204 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,402 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 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,301 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
edited the question 2024-05-10T05:32:19.1866667+00:00
Tianyu Sun-MSFT 27,431 Reputation points Microsoft Vendor
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,289 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,636 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-10T05:25:37.9366667+00:00
Albert Kallal 4,806 Reputation points
1 answer

.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-10T05:02:14.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
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

我们用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,289 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
0 answers

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,204 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
commented 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,289 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,301 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,402 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
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,204 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 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,301 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,301 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