Microsoft Q&A

.NET

15,164 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,164 questions with .NET-related tags

Sort by: Updated
2 answers

how to remove \ in string?

how to remove the \ in string? there is string: {\"id\":1,\"value\":\"max\"} how to remove the \ but keep the "? {"id":1,"value":"max"} and also how to get the…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
504 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
996 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 questions
asked 2023-05-28T05:57:48.0966667+00:00
mc 1,921 Reputation points
edited an answer 2023-05-29T02:11:26.28+00:00
Jerry Fu - MSFT 391 Reputation points Microsoft Vendor
1 answer

angular Cors Response to preflight request

my system is angular client side and .net core backend. i'm trying to migrate the authentication process to azure AD to follow my corporate's SSO. after enabling Azure AD on client side using MSAL and on the backend following openID. from the client side…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,621 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
asked 2023-05-28T15:41:34.7+00:00
Tarek, Taher 0 Reputation points
edited a comment 2023-05-29T02:01:53.4066667+00:00
Bruce (SqlWork.com) 35,416 Reputation points
1 answer

Carousel view setting default position not working in maui

Carousel view setting default position not scrolling to item on page load in maui. After data is loaded to carousel view, updating position not working. CarouselView.Position = index;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-22T06:10:51.5466667+00:00
Satya 40 Reputation points
commented 2023-05-29T01:50:15.7433333+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 0 Reputation points Microsoft Vendor
0 answers

why this Storyboard in DataTrigger introduce the runtime exception?

I am trying to complish a Custom Control which has a DataTrigger with animation in my project, but I always hit a InvalidOperationException failure. So I abstract the logic into this repo . I found the same animation works well in the EventTrigger, but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
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,360 questions
asked 2023-05-29T00:59:20.6633333+00:00
William Liu 126 Reputation points
0 answers

How to generate a report from ListView on WPF?

Hello ! I want to generate an Listview, based on another Listview, by moving items from first Listview to the second one and generate a report based on my second ListView and Sum the price. My first Listview is something like this: [id] [product] …

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,360 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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.
8,141 questions
asked 2023-05-28T21:29:58.0733333+00:00
B M-A 241 Reputation points
edited the question 2023-05-28T21:31:52.17+00:00
B M-A 241 Reputation points
1 answer One of the answers was accepted by the question author.

WCF Service certificate config for endpoint

Hello! I have a wcf service configured, that it is working fine. I observed in wcf configuration at Services->Endpoints->Identity ( using configuration tool) at CertificateReference Properties I observed some properties/values defined, which appear…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
284 questions
asked 2023-04-06T16:19:34.23+00:00
B M-A 241 Reputation points
accepted 2023-05-28T21:14:12.5133333+00:00
B M-A 241 Reputation points
1 answer

app center support for blazor apps

Will app center ever support blazor server/wasm apps?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
964 questions
asked 2023-05-27T10:58:03.7933333+00:00
JohnHunter-7034 0 Reputation points
answered 2023-05-28T18:28:47.61+00:00
Bruce (SqlWork.com) 35,416 Reputation points
0 answers

Create database from SQL script from .NET 6 WinForm application

Hi All, We recently started working on a .NET 6 WinForm application which will be deployed locally on the client machine. This application will depend on the SQL database for persisting data. The SQL instance will be already available on the machine…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,459 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
asked 2023-05-28T18:25:07.2533333+00:00
Wadiwala, Rohan 0 Reputation points
2 answers One of the answers was accepted by the question author.

Restart .Net Maui application through code.

Is it possible to make your .NET MAUI application automatically restart when you press a button, I have a bunch of settings (including localization, it almost impossible to keep updating them since there are so many lines of text I have to update. I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2022-09-20T14:10:11.407+00:00
Mielesplayz 281 Reputation points
commented 2023-05-28T16:40:35.0766667+00:00
Chathura Wijesinghe 0 Reputation points
0 answers

How do i fix errors when targeting net7.0 tfm when using handlers in maui?

Here is the link to the sample project: https://github.com/veldfolds/VideoDemos.git

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,130 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
26,833 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 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.
8,141 questions
asked 2023-05-28T15:19:14.6566667+00:00
Adrian Kuboka 1 Reputation point
commented 2023-05-28T16:34:59.4366667+00:00
0 answers

PLEASE I AM DESPERATE FOR ASSISTANCE! Especially things like: #adminaccount #remoteaccess #windows7 #rpivacyandsecurity #apppool

Hello everyone! . I am a total noob, so I appreciate any feedback! i had a dell laptop that was too old to be repaired, but a "friend" of mine who is good at computers, offered to fix it and give me a basic computer to use temporary while he…

.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.
40 questions
asked 2023-05-28T14:32:59.93+00:00
Stop_spying_plz_k_thx_bye 0 Reputation points
commented 2023-05-28T14:43:56.8333333+00:00
Stop_spying_plz_k_thx_bye 0 Reputation points
1 answer One of the answers was accepted by the question author.

Inner view for folder and option to more deeper view

Hi, Assume you have this view. When I press on Type column cell folder i want to change view using the our api to show its files and folders. with option to go back. and with option to go more deeper. I want to be in same view and show hide the inner or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-17T14:57:18.56+00:00
דני שטרית 761 Reputation points
accepted 2023-05-28T14:09:29.31+00:00
דני שטרית 761 Reputation points
1 answer

Exception when trying to save file stream in local directory.

Hi, I got this exception when trying to download file and keep it in my local folder. The input is stream and the expected output: is file. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-28T12:40:18.6266667+00:00
דני שטרית 761 Reputation points
answered 2023-05-28T14:07:53.24+00:00
דני שטרית 761 Reputation points
2 answers One of the answers was accepted by the question author.

Do you think that artificial intelligence and robots will occupy all jobs in Egypt next century

About your opinion

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
13 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.
40 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.
8,141 questions
asked 2023-05-27T18:07:40.7933333+00:00
Aml Ramdan Arfat 25 Reputation points
commented 2023-05-28T10:08:17.2633333+00:00
Aml Ramdan Arfat 25 Reputation points
0 answers

How to disable screen closure via X at top

So, I have a WPF/Blazor hybrid with a second window for information. If the second window is closed off with the X in the top corner, it leaves the program hanging in the background, which is not good for system resources. In order to ensure that the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
asked 2023-05-28T09:05:00.0533333+00:00
Nigel 226 Reputation points
0 answers

ASP.NET Identity Claims - getting started

Hi all; First off, among other pages I have read this and this. I have ASP.NET Identity working well on my Blazor server app for Identification. I'm now on to the Authorization part and have a couple of questions. My app is handling volunteers for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
asked 2023-05-25T19:29:32.73+00:00
David Thielen 966 Reputation points
commented 2023-05-28T07:35:46.3666667+00:00
David Thielen 966 Reputation points
1 answer

Display Gridview with Marathi Data in PDF File using asp.net c#

Hi I am creating 1 application in which I am populating Data in Marathi language in Gridview. I want to create PDF of this Gridview. I am using iTextSharp to create PDF but it is not showing Marathi Data on that File. PFB code for PDF : - using…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
547 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.
8,141 questions
asked 2022-12-26T06:40:18.427+00:00
Mohit Joshi 1 Reputation point
commented 2023-05-28T07:24:59.9+00:00
Mohit Joshi 1 Reputation point
2 answers

Taking too much time to Load all files from the folder in ASP.NET Web page.

I am loading the files from the server folder in a web page. But, the head ache is, it's taking too much time to load all the files from the specific folder. Hardly it will be taking 30 to 45 mins to load all the files. End user can't wait till load all…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
547 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 questions
asked 2023-05-22T12:32:03.3233333+00:00
Gani_tpt 1,321 Reputation points
commented 2023-05-28T01:47:11.3933333+00:00
Gani_tpt 1,321 Reputation points
2 answers

Same user login into appliction from different browsers or devices

When same user logs into the application from different browsers or devices we validate one login session and invalidate the other and allow the valid session to perform actions in the application. We deny any action the user performs from the invalid…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 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.
8,141 questions
asked 2020-11-18T11:14:30.77+00:00
Surendra Adhikari 186 Reputation points
commented 2023-05-28T00:56:31.03+00:00
For queries 0 Reputation points
1 answer One of the answers was accepted by the question author.

System.NotSupportedException: Serialization and deserialization of 'System.Type' instances are not supported. Path: $.Columns.DataType.

On my Asp.net core web api application, I'm query the database using ADO.Net and want to return the data table to the client, but it will show the 500 error with the following error message: System.NotSupportedException: Serialization and…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
asked 2023-01-25T03:33:03+00:00
Jim Olewis 20 Reputation points
commented 2023-05-27T20:44:43.91+00:00
Rodrigo Mesel 0 Reputation points