23,992 questions with .NET-related tags

Sort by: Updated
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
commented 2024-05-06T06:35:20.4833333+00:00
Abhishek, Burra 0 Reputation points
0 answers

issue in OnAppearing() when calling async method, in realse mode , working fine in debug mode

//exception UserProfileData is null in resale mode , working fine in debug mode protected override async void OnAppearing() { try { base.OnAppearing(); UserProfileData ??= new UserProfileData(); if (UserProfileData.IsDataLoaded) …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-03T13:41:37.7333333+00:00
Ashutosh Mehere 0 Reputation points
commented 2024-05-06T06:27:12.9333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
0 answers

Unable to upload an image to my blob storage account

So i am trying to upload an image to my blob storage and I keep getting this error <Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,301 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
94 questions
asked 2024-05-03T08:58:12.4+00:00
ProDevs 0 Reputation points
edited the question 2024-05-06T06:25:37.46+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
0 answers

Content Security Policy Violations happening for whitelisted domains only for Netherlands and Switzerland users.

I have a csp policy where I have whitelisted all the domains from which I want to load the content to my application and have added only default-src directive  which is fallback to all the other directives.   I have tested the policy on lower…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,916 questions
asked 2024-04-26T11:33:36.0766667+00:00
Gour, Ashish 0 Reputation points
commented 2024-05-06T06:25:07.37+00:00
SnehaAgrawal-MSFT 18,366 Reputation points
0 answers

Develop an ASP.NET Core web app that consumes an API assessment fail

Hi, I recently attempted the applied skill assessment: Develop an ASP.NET Core web app that consumes an API Although not all requirements were very clear, I was confident I completed all the tasks. everything was tested by me and all the functionality…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-03T09:03:54.2166667+00:00
robin lenaerts 0 Reputation points
commented 2024-05-06T05:46:25.8766667+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer

How to connect different Azure Id with Visual Studio 2022 Id

Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,126 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
commented 2024-05-06T05:42:34.7266667+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
2 answers

round value automtically

Hello I have one Label1 and textbox1 for example Label1 has value = 490.56 In textox1 i have to show round off value on button click = 0.44 for example Label1 has value = 30.12 In textox1 i have to show round off value on button click = -0.12 how to do…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-05-04T14:40:44.82+00:00
RAVI 896 Reputation points
answered 2024-05-06T05:35:18.1633333+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
1 answer

New Form is not shown while drag & drop a Custom Control from toolbox to Designer in WinForms in NetCore

In our Control, we have opened a new form to update the content of our control in the Designer. The new Form is not shown in the NetCore but works properly in the NetFrameWork. I have replicated the same issue in a simple control. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-05-03T14:04:08.6633333+00:00
Karkuvel Rajan Shanmugavel 0 Reputation points
edited a comment 2024-05-06T04:39:02.94+00:00
KOZ6.0 4,895 Reputation points
0 answers

"owl carousel" not working when appending data dynamically using jquery

I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
874 questions
asked 2024-05-06T04:31:47.04+00:00
Ashok Kumar 161 Reputation points
1 answer

Adding Token Based Azure EntraID Authentication to GraphQL APIs created on .NET7

I have a set of GraphQL APIs created on .NET7. I want to authenticate the APIs using Azure Entra ID User/App Access Tokens. Is it possible to achieve the same out of the box, else kindly suggest a workaround.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 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,562 questions
asked 2024-04-24T10:05:50.0733333+00:00
Varun Sridhar 0 Reputation points
commented 2024-05-06T04:22:56.7966667+00:00
Navya 4,005 Reputation points Microsoft Vendor
0 answers

Need Help with White Labeling a MAUI App from Existing Project

Hi everyone, I'm seeking guidance on how to white label a MAUI app from an existing project. Are there specific processes or packages available for this purpose? I have an existing app project and would like to customize it with different branding or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-03T06:42:26.48+00:00
Satish Durga 0 Reputation points
commented 2024-05-06T04:00:24.3433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
0 answers

Trouble Implementing Federated Credentials with Managed Identities in Azure Function App API Authentication

I have an API inside my function app and have been accessing the API using the secrets created in the app registration associated with the function app. Now we're looking to eliminate the secrets and modify it to use managed idenities as the client app…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,301 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-04-22T18:40:22.54+00:00
Dheepssika JL 0 Reputation points Microsoft Employee
edited the question 2024-05-06T03:37:52.1366667+00:00
Givary-MSFT 28,321 Reputation points Microsoft Employee
0 answers

Can not sign app bundle Google Play

Hello, I am appriciate if some one can help me figure out what problem, this is first time I use Net Maui to deploy Android app. I create new app on Play Console, and choose Use Google-generated key to create new key in Setup/**App signing **I notice…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,625 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-04T12:18:31.3333333+00:00
Kid 0 Reputation points
edited the question 2024-05-06T03:04:26.9733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
1 answer

Upload de arquivos no ASP.NET 4.6.1

Good morning my friends! I'm having a lot of difficulty uploading a 1.5GB file to Asp.Net. I've tried different ways but all without success. I adjusted the web.config like this <httpRuntime targetFramework="4.6.1"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-05-03T12:47:51.6933333+00:00
Sergio Luiz da Silva 0 Reputation points
answered 2024-05-06T02:45:51.75+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
0 answers

How to know if Bluetooth connection is lost when application is running in Xamarin Forms. Any listener will hit?

How we can know if bluetooth connection is lost or turned off when we are running the application without any Button click event. App is connected to some ble devices . How to handle the scenario ? Any listener will hit or not? private void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 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.
766 questions
asked 2024-05-03T14:00:27.1533333+00:00
Sk 61 Reputation points
commented 2024-05-06T02:25:34.73+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
1 answer

can not use android .aar in win 11?

I am using .net MAUI 8 and use .aar (android binding) to .dll. in win10 it is ok and in win11 there is error: why?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-04T10:50:13.35+00:00
mc 3,701 Reputation points
edited an answer 2024-05-06T02:00:15.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
0 answers

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,900 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,278 questions
asked 2024-05-03T16:24:46.6+00:00
Kaouthar GR AOUICHAOUI 40 Reputation points
commented 2024-05-06T01:53:33.0733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
0 answers

SignalR connection

How can I test the connection of SignalR hub without client I write this code and do not know how to test to check if there is a problem in my code here is part of my code that is for signalR in my api: please tell me how should I do to connect…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-03T23:01:03.9033333+00:00
Sakanat 2024 0 Reputation points
edited the question 2024-05-06T01:21:37.91+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
0 answers

Service Monitor

Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2024-05-05T16:07:58.2833333+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-05-06T00:32:14.4833333+00:00
Dani_S 2,726 Reputation points
0 answers

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,271 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,278 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,566 Reputation points
commented 2024-05-06T00:24:51.86+00:00
SurferOnWww 1,911 Reputation points