23,992 questions with .NET-related tags

Sort by: Updated
1 answer

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
answered 2024-05-06T08:53:13.42+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Adding command to code behinad

Hi, I have main page and i want to add i used code behaind dor all the menu. I want to add EulaCommand , how is done ? Please provide code, i'm using net 8, vs 17.8.4 `<Label Text="EULA" HorizontalOptions="Start"…

.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-01T12:48:31.42+00:00
Dani_S 2,726 Reputation points
accepted 2024-05-06T08:43:38.3166667+00:00
Dani_S 2,726 Reputation points
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 Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,438 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-06T08:42:24.7133333+00:00
MayankBargali-MSFT 68,656 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-06T08:26:20.03+00:00
SurferOnWww 1,911 Reputation points
2 answers

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 205 Reputation points
commented 2024-05-06T07:49:56.09+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
2 answers

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
299 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 896 Reputation points
answered 2024-05-06T07:49:03.0633333+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
0 answers

使用vs2022配对Mac的时候,一直在尝试初始化dotnet SDK

Mac的。.Net版本为 8.0.203 Windows的.net版本为 : 5.0.408 6.0.201 7.0.101 8.0.202 根据这个教程, https://learn.microsoft.com/en-us/dotnet/maui/ios/pair-to-mac?view=net-maui-8.0 Mac mini M2 ,mac已经安装最新版的:mono,Rosetta,Xcode

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-03-15T09:44:17.9966667+00:00
hongan ren 5 Reputation points
commented 2024-05-06T07:42:20.8566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
1 answer

WebView is not working correctly in IOS MAUI

Not able to adjust the Font size of Web view iIn MAUi IOS, Added the handler and addded minimum Font size but it is not reflecting.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-03-08T16:51:07.1866667+00:00
Miranda mary jose 0 Reputation points
commented 2024-05-06T07:36:59.69+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
1 answer

How can I prevent the device font size effect of a MAUI iOS app?

When ever I change the font size in the iOS device, that font size is effecting on the MAUI application. I want to restrict that. I want to restrict that in my maui application. I can able to do that in the Android application by adding this piece of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-04-30T07:59:29.0966667+00:00
Vaibhav Methuku 60 Reputation points
edited the question 2024-05-06T07:32:44.2766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
0 answers

Microsoft.Azure.WebJobs.Host: Error indexing method

Hello, I'm working with an AzureFunction(CosmosDBTrigger), everything was working ok but suddenly the function stop working. When I want to Run the function I got the following errors: my host.json: { "version": "2.0", …

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,300 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
asked 2023-09-08T17:47:55.2533333+00:00
Roberto Lopez Colin 0 Reputation points
edited a comment 2024-05-06T07:16:53.1733333+00:00
Mohammed Naveed 0 Reputation points
1 answer

how to use md5withrsa in .net?

how to use md5withrsa to hash string with private key?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
asked 2024-05-02T15:11:07.9833333+00:00
mc 3,701 Reputation points
commented 2024-05-06T07:15:32.71+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.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-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
commented 2024-05-06T07:09:52.3933333+00:00
JasonPan - MSFT 4,366 Reputation points Microsoft Vendor
0 answers

System.InvalidOperationException: 'Application-defined or object-defined error.'

Debugging gives me a "Exception Unhandled" error in the Application.Designer: 32 <Global.System.Diagnostics.DebuggerStepThroughAttribute()> 33 Protected Overrides Sub OnCreateMainForm() 34 Me.MainForm = Form1 <<< HERE MARKED…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
asked 2024-05-04T14:50:52.45+00:00
Malcolm Fellmann 5 Reputation points
commented 2024-05-06T06:42:51.3633333+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
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
commented 2024-05-06T06:41:08.8333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
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

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,915 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