23,888 questions with .NET-related tags

Sort by: Updated
0 answers

How to get version number of application from play store using xamarin forms

I need to check current version of Installed Application and Playstore application version. If it is not same app should navigate to Playstore . im using xam.Plugin.LatestVersion(2.1.0) To get the latestversion number of application from play console.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-05-28T00:36:11.157+00:00
Raju Gadda 66 Reputation points
commented 2022-05-30T02:58:01.353+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
0 answers

HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process) in Dot net core 6

installed dot net core 6 runtime environment and dotnet hosting 6. But still getting this error when i'm trying to run website. Published files via plesk panel.

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-05-28T15:22:34.793+00:00
fatihtermgottenverdiverdiverdi 1 Reputation point
commented 2022-05-30T02:34:23.33+00:00
Bruce Zhang-MSFT 3,736 Reputation points
0 answers

Error 500 An error occurred while processing your request in ISS8

Hi guys, i'm developing an dashboard website. When i run it in localhost and my onw IIS10 server , it's run ok but when i publish to my company server using IIS8 then i have error 500. Someone give me a answer pls.

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2022-05-28T07:41:41.787+00:00
Xuan Hao Khuc 1 Reputation point
commented 2022-05-30T02:13:44.09+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
0 answers

Unable to Convert Pdf to Png Using Ghostscript.Net

Hello everyone and thanks for the help in advance. I am using GhostScript.Net to convert Pdf files to Png images. This has worked perfectly fine using Visual Studio 2019 on a Windows 10 OS. However, when I moved to VS 2022 I continue to receive an error…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
asked 2022-05-28T00:40:05.6+00:00
Kmcnet 691 Reputation points
commented 2022-05-30T01:46:14.527+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

How Cast(Convert) Java.Lang.Object derived to C# object

Hi. I'm going to use Microsoft SignalR with Xamarin.Android. so I need to setup 3 projects; -Web Application(as Server) -Xamarin.Android( as Client) -Shared Project (containing Models) suppose we have a simple POCO C# class which is shared…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-05-24T05:40:11.75+00:00
hamid Darab 21 Reputation points
commented 2022-05-30T01:07:47.213+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
1 answer

Xamarin.AndroidX.legacy.Support.V13 not being installed on my app!!!

My first error was that I could not upload the latest copy of my app to google store as they now require API 30 and I was using 29 I changed target framework to 12 and target version to 12 (API 31) I then got some errors about wanting a different sdk…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-05-24T14:31:02.707+00:00
andre eis 1 Reputation point
commented 2022-05-30T01:07:31.297+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
1 answer

Xamarin.Forms - Should the provisioning profiles be added to the solution?

Hey! I have a Xamarin.Forms app (Android and iOS) and I want to deploy this on App Center. Everything is ready to go: I have added the provisioning profile and personal information exchange (so .mobileprovision and .p12) to the App Center build, but …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-05-23T17:30:35.96+00:00
Ganesh Gebhard 366 Reputation points
commented 2022-05-30T01:06:55.563+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
2 answers

WPF Tabcontrol: How to load multiple Tabitem from different view

Suppose this code: <TabControl> <TabItem> <Label Content="tab1"/> </TabItem> <TabItem> <Label Content="tab2"/> …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 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,249 questions
asked 2022-05-15T12:05:06.057+00:00
ted teder 1 Reputation point
answered 2022-05-29T14:19:40.033+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
1 answer

The client area doesn't sizing properly

I am experienceless on Windows Desktop programming. I would like to draw the frame window by myself. I searched on the internet and found the Bee Lee's article. https://beeleeong.wordpress.com/2017/04/23/want-a-better-window-frame/#more-889 Demo : …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
725 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 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,249 questions
asked 2022-05-29T07:21:59.213+00:00
GloryStar 1 Reputation point
commented 2022-05-29T10:47:44.323+00:00
Castorix31 81,726 Reputation points
2 answers

ModalPopupExtender doesn't center after partial postback

Hi, I have a problem. My ModalPopupExtenders doesn't center correctly when you open them for the first time after a partial postack. If you open it for a second time after a partial postback it centers fine. And if you open it after a full postback it…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2022-05-27T14:29:42.037+00:00
José Antonio González Seco 1 Reputation point
commented 2022-05-29T10:31:10.287+00:00
José Antonio González Seco 1 Reputation point
2 answers

If you try to connect to FTP more than 3 times in C#, a job timeout error occurs.

I'm working on C# WPF, .NET 4.8 Visual Studio 2022 environment. I'm making an FTP access program, and it's okay to connect to the same FTP address twice, but when I connect the third time, an error occurs saying that the connection time has expired. …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 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.
764 questions
asked 2022-05-29T05:20:10.383+00:00
JunYoungLee 161 Reputation points
answered 2022-05-29T09:37:40.083+00:00
Ken Tucker 5,846 Reputation points
2 answers

Disable Location Permission

Hi, In Xamarin, how can I disable the Location permission for both iOS and Android? Thanks, Jassim

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 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,249 questions
asked 2022-05-28T10:37:23.61+00:00
Jassim Al Rahma 26 Reputation points
answered 2022-05-29T07:57:33.91+00:00
Sreeju Nair 11,606 Reputation points
2 answers

How to Iterate listview items using MVMV

Can someone help and show me how to iterate ListView items using MVVM? In the Code Behind it is done as follows: for (int i = 0; i < NameOfListView.Items.Count; i++) { //code } In MVVM unfortunately I don't know how to address the ListView. The…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 questions
asked 2022-05-21T18:48:16.48+00:00
Sarah 186 Reputation points
answered 2022-05-29T04:43:28.857+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
1 answer

I'm trying to get the logical and physical file names for a database (DON'T REDIRECT THIS!)

WHAT I HAVE: Visual Basic 2019, .NET Framework 4.6+, Entity Framework 6+, WinForms, SQL Server (version unknown) MY PROBLEM: I need to obtain the names and types of the logical/physical files for a database whose context is currently open.…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,375 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 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,119 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,552 questions
asked 2022-05-28T01:26:03.473+00:00
Robert Gustafson 606 Reputation points
answered 2022-05-29T01:16:56.313+00:00
Robert Gustafson 606 Reputation points
1 answer

Continuous integration failed - Code Signing - github-actions-for-desktop-apps

Ref my Github workflow job : CI.NET 6.0 Desktop #17 I'm learning CI/CD from microsoft / github-actions-for-desktop-apps Repos I'm now doing code signing using github secret but when I trigger the SigningEnabled to true I have the following error…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 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.
764 questions
asked 2022-05-27T13:05:06.627+00:00
Jean-Marc Flamand 31 Reputation points
answered 2022-05-29T00:42:53.14+00:00
Ken Tucker 5,846 Reputation points
1 answer

Is there any way in WPF to deploy and then modify the embedded file?

I made an app in C# WPF and deployed it via FTP. In my app, a csv file is included as an embedded source, and the information in this csv file is read and displayed in a list view. I want other users to be able to add information from this csv file. …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 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.
764 questions
asked 2022-05-28T13:08:59.39+00:00
JunYoungLee 161 Reputation points
answered 2022-05-29T00:36:07.447+00:00
Ken Tucker 5,846 Reputation points
3 answers One of the answers was accepted by the question author.

Assign value to one property change another property value

Need some clarification on the below please. Also if you don't mind some C# low level explanation and/or books on the matter please. Why after assigning value to secondDog.breed property (3rd line), both properties got the same value (firstDog.Breed…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,249 questions
asked 2022-05-20T21:13:17.92+00:00
Alice 61 Reputation points
accepted 2022-05-28T21:57:45.847+00:00
Alice 61 Reputation points
1 answer

Firebase Push Notification Token issue

Good Day All I am using Firebase in Xamarin , i have the following situation , i have a Token that is receiving an error "UNREGISTERED" as i trapped it via exception handling as depicted below catch (Exception ex) { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-05-26T21:34:24.08+00:00
Vuyiswa Maseko 351 Reputation points
answered 2022-05-28T20:10:42.62+00:00
Vuyiswa Maseko 351 Reputation points
1 answer One of the answers was accepted by the question author.

Query about Logging in Blazor Server on Azure

Hi, I'm quite new to Web-development and Azure. When I'm doing development for Blazor and if there is any error in my components/pages, the Visual studio shows that in the Output window. I am trying to capture such error messages when my App is…

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,390 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,879 questions
asked 2022-05-16T19:50:40.94+00:00
SandeepG 41 Reputation points
accepted 2022-05-28T15:24:44.287+00:00
SandeepG 41 Reputation points
0 answers

Visual Studio Change Property Pages Option

I am making a C# WPF app using visual studio2022. In my program, only the left property window appears, but I want the right property window to appear. It seems that my current screen is up-to-date, but I want to use the ftp publish function…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 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.
764 questions
asked 2022-05-27T13:06:02.06+00:00
JunYoungLee 161 Reputation points
commented 2022-05-28T13:00:25.493+00:00
JunYoungLee 161 Reputation points