redirect using HttpContextAccessor
Hi, I am trying to redirect to my login page on a condition using IHttpContextAccessor. Here is my code : if (condition) { _signInManager.SignOutAsync(); …
Developer technologies | C#
Visual Studio 2022 - not fire unit tests in debug mode
Hi, Please see: https://app.screencast.com/YwqnKkUGuwlR4 How is can be solved? Thanks,
Developer technologies | Visual Studio | Debugging
Visual Studio 2022- File Ignored always ignore when adding to class librarar
Hi, Please see the following screenshot, why adding a new new file I always need to use Git/Add ignore file (right click on the file) ? It happened in class library as follow: TargetFramework>netstandard2.0</TargetFramework> Thanks in advance,
Developer technologies | Visual Studio | Extensions
IIS App Pool Shows “Running” but Site Becomes Unresponsive Until Manual Recycle
Hello, We're dealing with a super frustrating IIS issue and I'm hoping someone here has seen this before... THE PROBLEM: Our Application Pool shows as "Running" in IIS Manager, but the site is completely DEAD. Not responding at all. The only…
Developer technologies | ASP.NET | ASP.NET API
GIS - Convert from one format to any formats.
Hi, 1.In continue to: https://dori-uw-1.kuma-moon.com/en-us/answers/questions/5657151/gis-trycreateforinput In this ticket the output was the selected converter. Now the focus on the converter. 2.List of GIS converters: EsriJson (.esrijson, .json) GeoJson…
Developer technologies | C#
GIS - TryCreateForInput
Hi, 1.I used GIS API . 2.There are 15 formats: EsriJson GeoJson GeoJsonSeq Kml/Kmz Shapefile OsmXml Gpx Gml FileGdb TopoJson MapInfoInterchange MapInfoTab Csv GeoPackage. 3.This is my main function: TryCreateForInput that gisInputFilePath-Path to a…
Developer technologies | C#
How do you fix Intellisense errors in a CMake project when Visual Studio is connected to WSL:Ubuntu?
I am running a CMake project in Visual Studio Community 2026 and it is connected to WSL: Ubuntu. It is running the Linux Debug configuration preset. WSL is running the gcc 15.1.0 compiler. My C++ code builds and runs fine but I get hundreds of…
Developer technologies | Visual Studio | Debugging
GIS CLI commands
Hi, I would like to ask the following questions regarding my GIS CLI command in program file. The GIS CLI commands used once by end-user. 1.Does the ShowHelp method is a good practice in CLI if not please fix. I used in this case to show it: // If no…
Developer technologies | C#
Update/Set SignatureHTML with ExchangeService for Office 365 Users
Hello, Could you please confirm if the code below is not working? If so, I need guidance on how to change the OWA user signature globally, as we plan to reflect the company branding for all users. The OWAConfig does not include any key related to user's…
Exchange Online
Microsoft Security | Microsoft Graph
Developer technologies | C#
iOS crash report: System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
I have uploaded my iOS build on TestFlight and then installed it on my iPad. My game always crashes 1-2 seconds after I opened it on my iPad. It only crashes in release mode and not in debug mode. It's not the first time that I have this kind of crash.…
Developer technologies | .NET | .NET MAUI
Crash in Blazor app when accessing WebAssembly pages via mDNS (.local) hostname
I a complete noob when it comes to ASP.Net and Blazor, so please be gentle with me... I have set up the SignalR sample code - as far as I am aware, this is just a template Blazor app - the standard template Home, Counter, Calendar pages (Which are all…
Developer technologies | ASP.NET | ASP.NET Core
Microsoft To Do Graph API: PATCHing recurrence returns “Invalid JSON, Error converting value … to type 'Microsoft.OData.Edm.Date'”
Hi team — I’m hitting a repeatable issue when PATCHing the recurrence of a To Do task via Microsoft Graph. Endpoint: PATCH https://graph.microsoft.com/v1.0/me/todo/lists/{list-id}/tasks/{task-id} What I'm sending (sanitized): { …
Developer technologies | .NET | Other
How can I run a 32-bit COM DLL from a 64-bit application?
I'm updating a WPF application that's written in C# and currently uses .NET Framework 4.6.1, although I hope to upgrade to a more modern version of .NET as part of the update. My development environment is Visual Studio 2023. The application uses a…
Developer technologies | C#
How to access a 32-bit COM dll from a 64-bit C# application?
I'm updating a WPF application that's written in C#. My development environment is Visual Studio 2023. The application currently uses .NET Framework 4.6.1, but I'm hoping to upgrade to a more modern version of .NET as part of the update. The…
Developer technologies | C#
Issue with navigation of pages
My home page is implemented as a FlyoutPage, with the detail page set as a TabbedPage and the flyout serving as the menu page. The TabbedPage contains three tabs in the order of Alerts, Home, and Menu. The issue occurs when I select the first option,…
Developer technologies | .NET | .NET MAUI
How do I buy Visual Studio Enterprise - annual
I'm trying to buy Visual Studio Enterprise - annual We currently have an enterprise 365 subscription and 3 licenses of VS Pro - Monthly. If I go to portal.azure.com I can see and manage those three, and it lists VS Pro - Annual, and VS Enterprise Monthly…
Developer technologies | Visual Studio | Setup
How to retrieve Oracle long type data using the ODP.NET driver in Visual Studio?
I'm developing a Visual Studio plugin that uses the database connection provided by Visual Studio to retrieve Oracle metadata. However, when the metadata is of type Long (ALL_TAB_COLS.DATA_DEFAULT), the data cannot be retrieved in Visual Studio (it's an…
Developer technologies | Visual Studio | Extensions
Run MAUI app
Hi, After having well built one MAUI app, how to run/test it?
Developer technologies | C#
Stretch Texts across the entire width of a page
How can I stretch texts to the entire width of the page? Just like in the image below
Developer technologies | ASP.NET | Other
Visual Studio 2022: “Constructor on type 'DocumentWizardInitializer' not found” when editing SSIS Package Configurations
I am unable to edit SSIS Package Configurations in Visual Studio 2022. Whenever I open SSIS → Package Configurations Organizer → Edit, Visual Studio throws an error and the configuration editor does not open. The same SSIS project and the same XML…