26,066 questions with .NET-related tags

Sort by: Updated
2 answers

Convert solution of class libraries in framework to .NET

Hi, I have solution with list of clsss libraries in framework 4.6.2. I would like to know full steps of converting this solution to .NET 8/9 using visual studio. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-11-06T08:53:10.0966667+00:00
Dani_S 3,786 Reputation points
answered 2024-11-07T18:12:27.4833333+00:00
Bruce (SqlWork.com) 66,621 Reputation points
2 answers

Convert solution of class libraries in framework to .NET

Hi, I have solution with list of clsss libraries in framework 4.6.2. I would like to know full steps of converting this solution to .NET 8/9 using visual studio. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-11-06T08:53:10.0966667+00:00
Dani_S 3,786 Reputation points
answered 2024-11-07T18:12:27.4833333+00:00
Bruce (SqlWork.com) 66,621 Reputation points
1 answer

Files are missing when publishing asp mvc core c# visual studio .net7 web application

Hello, I am developing a website on asp mvc core c# .net7 via visual studio and I have published my web page, but the files that should be in it do not come. The incoming files are as follows; wwwroot Folder appsettings.development.json…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,611 questions
asked 2024-11-07T07:11:27.4466667+00:00
Enes Gündoğdu 0 Reputation points
answered 2024-11-07T17:31:29.22+00:00
Bruce (SqlWork.com) 66,621 Reputation points
1 answer

IIS Express is running, but I get "Connection Refused" Error

I'm developing an ASP.Net Web Form application and an ASP.Net Api. /Edit: They are two different projects, have nothing to do with each other, but both have problems with IIS Express. /Edit VS Studio 2022 is updated, no firewall or virus scanner is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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.
343 questions
asked 2024-11-07T10:54:24.0666667+00:00
Georg Aubele Lehmbau 0 Reputation points
edited the question 2024-11-07T13:43:16.6533333+00:00
Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
0 answers

ASP.NET Core Web API + Swagger + Azure B2C

Hello experts, since weeks (with on and off phases) I try to protect my ASP.Net project with the Azure B2C. For testing if that works I want to use Swagger. But I am too stupid to make it a success. I got all kinds of error messages but I am unable to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,611 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.
343 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,913 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,092 questions
asked 2024-10-19T09:44:49.0766667+00:00
Bernhard S 126 Reputation points
commented 2024-11-07T13:36:40.7866667+00:00
Bernhard S 126 Reputation points
2 answers

"Not In Keychain" Issue with Apple Distribution Certificate in Visual Studio, Xcode 16

Hello everyone, I'm having trouble getting my Apple Distribution certificate to show up as valid in Visual Studio 17.11.5 for a Xamarin project. In Xamarin Apple Accounts under Apple Distribution, the certificate appears as "Not In…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-05T15:59:11.26+00:00
Dan Taxbøl 25 Reputation points
answered 2024-11-07T12:53:50.67+00:00
Dan Taxbøl 25 Reputation points
0 answers

Clarification on ASP.NET Core Hosting Compatibility with IIS on Windows Server 2012 R2 and Windows Server 2012 Standard

I am currently evaluating the hosting capabilities of ASP.NET Core applications on both Windows Server 2012 R2 and Windows Server 2012 Standard, and I need confirmation regarding their compatibility with IIS. Specifically, I would like to understand…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,611 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,599 questions
asked 2024-11-07T10:26:47.2366667+00:00
Prathik M 0 Reputation points
edited the question 2024-11-07T10:31:45.18+00:00
Prathik M 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to change the bacground and text color of MenuFlyoutItem?

Hi, How to change the bacground and text color of MenuFlyoutItem? <FlyoutBase.ContextFlyout > <MenuFlyout > <MenuFlyoutItem Text="Load external configurations" Command="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-09-25T14:36:05.62+00:00
Dani_S 3,786 Reputation points
commented 2024-11-07T10:22:36.4233333+00:00
Dani_S 3,786 Reputation points
1 answer

Help to filter in TreeView

Hi, I've a blazor hybrid maui application and I have put the treeview. I have created a service to search for files in the tree structure and a text input for the search. My problem is that when I select a file in the search zone the nodes are filtered…

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,596 questions
asked 2024-11-06T20:32:35.2633333+00:00
sblb 1,231 Reputation points
answered 2024-11-07T10:14:16.8833333+00:00
sblb 1,231 Reputation points
0 answers

Learnings from migrating from Xamarin Native apps to .Net

Since Xamarin is coming to the end of its life time Microsofts recommendation is to migrate the Xamarin native apps to .Net applications. https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0. We have done the code level migration…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,363 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 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,167 questions
asked 2024-11-07T09:35:50.1333333+00:00
RATNASOTHY Danister 0 Reputation points
0 answers

Any idea why my changes are not being reflected as soon as my pipeline uploads the latest build to IIS. The App pool and site is already getting a restart by the pipeline.

So, I have written a pipeline for my dev enviroment and it was working just fine untill today, as now i need to manually go to the instance and restart app pool and and website of my specific site.

.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.
105 questions
asked 2024-11-07T09:34:37.3233333+00:00
Sohaib Fazal 0 Reputation points
2 answers One of the answers was accepted by the question author.

how to get the encoding of text?

how to get the encoding? if I have text like this:Καλώς ήρθατε στην επίσκεψη how to get its encoding? I know it is in windows-1253 but if there is textBox and user input some text how to get the encoding?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
asked 2024-11-07T04:41:04.5733333+00:00
mc 4,576 Reputation points
commented 2024-11-07T08:43:45.7766667+00:00
SurferOnWww 3,201 Reputation points
2 answers One of the answers was accepted by the question author.

how to get the encoding of text?

how to get the encoding? if I have text like this:Καλώς ήρθατε στην επίσκεψη how to get its encoding? I know it is in windows-1253 but if there is textBox and user input some text how to get the encoding?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
asked 2024-11-07T04:41:04.5733333+00:00
mc 4,576 Reputation points
commented 2024-11-07T08:43:45.7766667+00:00
SurferOnWww 3,201 Reputation points
1 answer One of the answers was accepted by the question author.

Showing System.Drawing.Bitmap in MAUI form?

Hello, I want to do a MAUI applciation able to read a USB camera from IDS and paint the incoming images in the main form. I'm able already to detect the camera initialise it and receive the incoming images. I'm able, also, to save those incoming images…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 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.
11,008 questions
asked 2023-04-18T15:19:52.75+00:00
Raul C 20 Reputation points
commented 2024-11-07T08:40:14.86+00:00
Raúl Cuevas González 0 Reputation points
1 answer

How to place appsettings.json in RCL project to be consumed by Configuration of blazor wasm app

I have a strategy to share App.razor from RCL project with Blazor hosting apps like Blazor Webassembly standalone app as a front-end app and Blazor hybrid apps as native apps. I placed all assets into a RCL project(RCL) including appsettings.json file in…

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,596 questions
asked 2024-11-02T10:19:31.8366667+00:00
Charles Kim 5 Reputation points
commented 2024-11-07T08:17:59.0166667+00:00
Charles Kim 5 Reputation points
2 answers

Getting Error in communication with the Azure Blob Storage from .Net Application

I have been using Azure Blob Storage with my .net application and I am uploading and downloading files (mostly in .pdf format) in the storage. But recently it started throwing exception related to authentication. I'm attaching the errors' screenshots…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,919 questions
asked 2024-10-23T09:27:44.7833333+00:00
Abhi Kansagra 0 Reputation points
commented 2024-11-07T07:47:03.4033333+00:00
Nehruji R 8,146 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

VB.NET - Detecting when the computer wakes up.

I have tried a suggestion that someone posted on Stack Overflow, however, it is not working. I can't seem to find the solution online. I wonder if it is even possible to detect when the computer wakes up from sleep in VB.NET. Heer is my code. First, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 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,735 questions
asked 2024-10-15T21:38:54.6833333+00:00
Marc Menzel 101 Reputation points
accepted 2024-11-07T07:41:14.45+00:00
Marc Menzel 101 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI .NET 8 on Android - throwing an exception

MSBUILD : java.exe error JAVA0000: Error in C:\Users\jeeva.nuget\packages\xamarin.androidx.collection.jvm\1.4.3.1\buildTransitive\net8.0-android34.0....\jar\androidx.collection.collection-jvm.jar:androidx/collection/ArrayMapKt.class: 1>MSBUILD :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,589 questions
asked 2024-11-06T08:52:37.01+00:00
KarPreet 0 Reputation points
accepted 2024-11-07T07:25:19.18+00:00
KarPreet 0 Reputation points
1 answer

java to .net conversion

I am a java developer and I am looking for tool to convert a java project to .net. since I would not like to spend for a resource to redevelop on .net. since there is a constant development is going in java. If a conversion can help keep the catchup on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
asked 2024-11-06T18:34:29.4833333+00:00
Lokesh Karyamapudi 0 Reputation points
answered 2024-11-07T07:02:37.7266667+00:00
Jiale Xue - MSFT 46,456 Reputation points Microsoft Vendor
2 answers

Can run the CLI

As I entered this cli: dotnet new blazorserver -o BlazingPizzaSite here's the error: No templates or subcommands found matching: 'blazorserver' To list installed templates similar to 'blazorserver', run: dotnet new list blazorserver To search for the…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
9 questions
asked 2024-11-04T08:26:15.49+00:00
Van Ngoc Thang 0 Reputation points
commented 2024-11-07T04:26:18.0666667+00:00
Pradeep M 3,840 Reputation points Microsoft Vendor