11,748 questions with Developer technologies | C# tags

Sort by: Updated
3 answers

How to validate JSON in JavaScript?

I am working with JavaScript and receiving JSON data from an API. Before parsing the response, I want to check whether the JSON is valid to avoid runtime errors. What is the recommended way to validate JSON in JavaScript? Are there any best practices for…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-23T10:58:07.8866667+00:00
Avinash verma 0 Reputation points
commented 2025-12-29T11:27:30.2+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,725 Reputation points Microsoft External Staff
6 answers One of the answers was accepted by the question author.

Regex for string cleaning

Hi there, I have the following string to be cleaned of 1 and 2 character words unless it's the letter M or F. EL EL EL EL M EL EL FU S FF EL EL EL E EL I tried with the following expression but it didn't work quite well. var output =…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | VB
Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
2,919 questions
Developer technologies | .NET | .NET CLI
Developer technologies | C#
Developer technologies | 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,748 questions
asked 2022-07-14T12:32:57.963+00:00
Kuler Master 406 Reputation points
answered 2025-12-28T09:50:04.83+00:00
elizabeth gonzales 0 Reputation points
2 answers

Comment résoudre l'erreur : Impossible de démarrer le programme "C:\Program Files\Microsoft Office\root\Office16\excel.exe. Le processus a été arrêté. Actualisez la liste des processus avant d'essayer un autre attachement.

Bonjour, Je développe un complément VSTO pour Excel avec Visual Studio 2022. Depuis quelque temps, il m’est impossible de lancer le projet en mode Debug. À chaque tentative, le message suivant apparaît : Impossible de démarrer le…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-18T13:09:54.5266667+00:00
ROZE Jules 0 Reputation points
commented 2025-12-26T13:42:07.47+00:00
Varsha Dundigalla(INFOSYS LIMITED) 4,420 Reputation points Microsoft External Staff
0 answers

GIS Converter - ConverterUtils.BuildOutputPath not handle properly outFileExt

First thank you very much for your help. In continue to : https://learn.microsoft.com/en-us/answers/questions/5658105/gis-convert-from-one-format-to-any-formats 1.Caller:Converters\UniversalGisConverter.cs // Step 5: Build output path var outputPath =…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T09:48:02.09+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-26T10:27:10.9933333+00:00
Michael Le (WICLOUD CORPORATION) 10,555 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Gis Converter - SupportedFormats

In continue to: https://learn.microsoft.com/en-us/answers/questions/5679504/gis-converter-ensuredebugargs-records-files-logs?comment=answer-12455904&page=1#comment-2412314 1.I added new class SupportedFormats.cs in my Lib/Model ,the location is it…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-24T10:23:04.59+00:00
Dani_S 5,581 Reputation points
edited an answer 2025-12-26T06:26:15.4566667+00:00
Michael Le (WICLOUD CORPORATION) 10,555 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

GIS Converter -EnsureDebugArgs -Records files logs

Regarding, this ticket: https://learn.microsoft.com/en-us/answers/questions/5666900/gis-converter-ensuredebugargs-in-console-app You recommended: "However, it would be a better practice to save these data because you will never know if it's useful…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-24T08:51:08.11+00:00
Dani_S 5,581 Reputation points
commented 2025-12-26T03:54:19.0166667+00:00
Dani_S 5,581 Reputation points
2 answers

How to Rename a Solution and Projects in Visual Studio 2022 Without Affecting Functionality?

I have a working application that includes Blazor Server, Blazor WASM, and an API. I want to change the names of the solution and the projects while ensuring that the current application remains unaffected. What is the easiest and problem-free way to…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
1,691 questions
Developer technologies | C#
Developer technologies | 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,748 questions
asked 2024-11-29T07:38:49.4766667+00:00
Cenk 1,051 Reputation points
commented 2025-12-25T20:19:00.56+00:00
Richard 5 Reputation points
2 answers One of the answers was accepted by the question author.

Git Converter - Logging Tests

In continue to ticket : https://learn.microsoft.com/en-us/answers/questions/5665977/gis-converter-logging-code can you please read the README.md and see if I cover correctly all the tests ? If not please give the needed fixes. Thanks in…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T07:52:40.86+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-24T10:40:07.4733333+00:00
simo-k 72,635 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

GIS Converter - Program App -Failed Test

Thank you very much for your help !!! I implemented all your remarks from ticket: https://learn.microsoft.com/en-us/answers/questions/5658212/gis-cli-commands 1.Can you please why this test is failed? This test failed in ProgramTests.txt ? Can you please…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T08:15:15.1333333+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-24T10:39:47.27+00:00
simo-k 72,635 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

GIS Converter - Console App -Final code

Thank you very much for your help !!! I implemented all your remarks from ticket: https://learn.microsoft.com/en-us/answers/questions/5658212/gis-cli-commands Can you please look on all code and see if it ok ? Files Program code: GitConverter ConsoleApp…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T08:06:32.76+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-24T10:39:05.2933333+00:00
simo-k 72,635 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

GIS Converter -Console App -Tests Coverage

Thank you very much for your help !!! I implemented all your remarks from ticket: https://learn.microsoft.com/en-us/answers/questions/5658212/gis-cli-commands 1.Can you please look if I added all the tests, if not please add me the needed files wit…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T08:19:14.6666667+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-24T10:38:24.2133333+00:00
simo-k 72,635 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

GIS Converter -Unit Tests Projects -Set Aspose License.

Thank you very much for your help !!! I implemented all your remarks from ticket: https://learn.microsoft.com/en-us/answers/questions/5658212/gis-cli-commands 1,How do I set the Aspose license to all my unit tests in one place ? 2.This the code I used in…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T08:25:47.6266667+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-24T10:36:53.56+00:00
simo-k 72,635 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

GIS Converter - EnsureDebugArgs in Console App

Thank you very much for your help !!! I implemented all your remarks from ticket: https://learn.microsoft.com/en-us/answers/questions/5658212/gis-cli-commands 1.Do I used EnsureDebugArgs in a best way ? if not give please me the fixes code…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T08:33:49.68+00:00
Dani_S 5,581 Reputation points
edited the question 2025-12-24T10:35:05.6966667+00:00
simo-k 72,635 Reputation points Volunteer Moderator
1 answer

Adding OLE object (.zip file) in word application using OpenXML

I have a requirement where I need to attach a zip file as OLE object in word file using OpenXML. I do not want to use Interop word since I don't want to install word in server and no COM support is there is server. Can somebody help me to write a code in…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-05-25T12:49:45.4266667+00:00
Nikhil Tambi 0 Reputation points
commented 2025-12-24T09:51:00.7933333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,725 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Why does the verb [HttpDelete] make my screen go blank (404)?

I have an anchor: <a class="btn btn-primary ms-4" asp-Controller="Home" asp-action="Delete"> Delete</a> the controller has a Delete method that works, but when I include the verb [HttpDelete] it never sees the…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-19T23:11:46.9033333+00:00
Corey Fleig 285 Reputation points
commented 2025-12-22T18:26:50.9+00:00
Corey Fleig 285 Reputation points
2 answers

The text is getting cleared in MudBlazor Autocomplete component

I am working on the Blazor web assembly project which is running on .net7 and using MudBlazor (version-6.0.10) as the UI framework. so I have created a custom autocomplete component in MudBlazor. then my issue is the text that I type on this…

Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
1,691 questions
Developer technologies | C#
Developer technologies | 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,748 questions
asked 2023-04-18T15:28:31.9866667+00:00
Buddhi - BLUE LOTUS 360 1 Reputation point
answered 2025-12-22T15:53:37.5466667+00:00
Sinji Yang 6 Reputation points
1 answer One of the answers was accepted by the question author.

GIS Converter - Logging - Warnings

Hi Michel, In continue to ticket : https://learn.microsoft.com/en-us/answers/questions/5665977/gis-converter-logging-code Can you please help to fix these warnings: warnings.txt Thanks in advance,

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-17T07:56:49.63+00:00
Dani_S 5,581 Reputation points
commented 2025-12-22T10:11:10.5533333+00:00
Harry Vo (WICLOUD CORPORATION) 4,745 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

how to display USA "county" in dynamic textbox when user starts typing first letters etc

hi, I am using asp.net web forms and C sharp. There is a web form on the site. One of the textboxes is "USACounty" I want the full county to show up in the textbox automatically when a users starts typing...... for instance they type san d…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-20T19:28:07.3733333+00:00
Matt Matt 150 Reputation points
commented 2025-12-22T08:13:31.6866667+00:00
Susmitha T (INFOSYS LIMITED) 2,360 Reputation points Microsoft External Staff
2 answers

Access is denied. (Exception from HRESULT: 0x80070005) on AddPackageByAppInstallerFileAsync

I am using the AddPackageByAppInstallerFileAsync method on several UWP apps. It has worked on all of the apps except recently for one of the apps. I get a "Access is denied. (Exception from HRESULT: 0x80070005)" exception.…

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-05-14T06:49:11.14+00:00
Carlo Mendoza 151 Reputation points
edited a comment 2025-12-22T08:04:28.3466667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,725 Reputation points Microsoft External Staff
3 answers

Error with Github Account in an extension in VS Code

I’m trying to sign in to VS Code either with my GitHub account or with Hotmail in order to synchronize the C# Dev Kit extension, but I get the error shown in the image. What do I need to do??? I can send you a pic of the problem.

Developer technologies | C#
Developer technologies | 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,748 questions
asked 2025-12-16T10:08:38.22+00:00
commented 2025-12-22T05:28:12.74+00:00
Susmitha T (INFOSYS LIMITED) 2,360 Reputation points Microsoft External Staff