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#
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 | .NET | .NET CLI
Developer technologies | C#
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#
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#
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#
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#
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 | C#
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#
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#
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#
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#
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#
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#
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#
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#
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 | C#
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#
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#
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#
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.