how to produce the return type of API?
I am using .net API and I added swagger and return dynamic object. but in swagger there is nothing. I added the [ProduceResponseType<>(200)] but what is the dynamic type so that I can check what I returned in swagger
Developer technologies | ASP.NET | ASP.NET API
serial port support in VB in VS2022
How to specify a serial port in VB2022? It used to be available in the toolbox but it's no longer there. Using the declaration Dim ModBusComm1 As New System.IO.Ports.serialport() also didn't work. Can't declare Imports System.IO.Ports too.
Developer technologies | Visual Studio | Setup
W11 build 26100.1- 10.0.26100.1- for Windows Insiders- causing problems?
Hi All On May 3rd this year Windows tech support asked me to download and install an ISO to fix problems caused by the 0x80240067 error- (can't download updates from Microsoft Store). This worked but in recent months I've been having crashes with my main…
Developer technologies | Windows Forms
Temporary files in using Visual Studio 2022
I have recently downloaded Visual Studio 2022 after reinstalling Windows and I realized that it continuously created temporary files in temp folder. After I turn off, all files are deleted but when I use in long time, it takes me until 30GB and my free…
Developer technologies | Visual Studio | Testing
Java.Lang.RuntimeException
I am developing an application that gets access to my OneDrive and downloads certain files; at the moment it is only a draft, for testing purposes - for Android only. Here is a code snippet: try { //... // NOTE:…
Developer technologies | .NET | .NET MAUI
How to write a Visual Studio extension that injects environment variables into a .NET 4.8 application on debug launch
I want to write a Visual Studio 2022 extension, that injects environment variables into a debugged application when launching the debugger. The debugged project is a .NET 4.8 application, so I cannot set additional environment variables via debug…
Developer technologies | Visual Studio | Extensions
GPU process exited unexpectedly: exit_code=34 ONLY MAUI Windows WebView2
Hello IT gurus I have a MAUI application (more platform versions) with web browser's handlers (Microsoft.Web.WebView2, Webkit.WebView, WKWebView...) all versions run OK. But sometimes (quite ofter on my computer) ONLY on Windows platform (WebView2) I…
Developer technologies | .NET | .NET MAUI
How do I start an application process in a new desktop (Desktop 2) with CPP and CreateProcess
// Module_5_Processes.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <Windows.h> #include <stdio.h> #include <iostream> #define NULL 0 int main() { //NOTES /* BOOL…
Developer technologies | C++
SUBSCRIBING TO PLATFORM EVENTS
Following the example in article https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/app-lifecycle?view=net-maui-9.0, I tried the following: public static class MauiProgram { public static MauiApp CreateMauiApp() { var builder =…
Developer technologies | .NET | .NET MAUI
Setup Microsoft VS code
Is there anyone who can set up Microsoft VS Code correctly on my Windows 11? I disturbed from this by 3 days, Please help me ,I don't know about this problem
Developer technologies | Visual Studio | Setup
How can I handle video uploads and processing efficiently in a video streaming app?
I'm working on a video app where users can upload and stream videos. I'm trying to decide the best way to handle the video upload and processing part. I want to avoid laggy or slow experiences on the client side, especially on mobile. Should I compress…
Developer technologies | Windows Forms
can not get the android binding?
I am using .net android and I want to use the zxing-android-embeded.aar but there is something wrong: CS1503 can not convert Com.Journeyapps.Barcodescanner.Camera.CameraThread to Android.Runtime.IJavaObject protected virtual unsafe…
Developer technologies | .NET | .NET MAUI
how to create a customized form with more that 40 fields connected to microsoft lists
Hello, I need your guidance on how to create a customized form in PowerApps with 40 fields connected to Microsoft Lists. Regards
Developer technologies | Windows Forms
visual studio 2017 on windows 11 for iot core x86 uwp app development
Hi, I was using visual studio 2017 community on win 10 pro host m/c. I am learning uwp app development on windows 10 iot core x86 image running in virtual box. My development interest is only 32bit Embedded products only. Recently due to the resource…
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Studio | Other
CircularBuffer WinForms, Cancel, best practice
My problem is to let the ring buffer run endlessly until the application is closed. How can I achieve this, what are the dimensions? Perhaps the filling should also be better integrated into the RingBuffer / CircularBuffer class? For Remove I use…
Developer technologies | C#
C# Dev Kit doesn't pick up transitive package references
I'm trying to debug my .NET Core console app in VS Code. I have two projects: console app and class library. My class library project contains package references to Pomelo.EntityFrameworkCore.MySql which has Microsoft.EntityFrameworkCore as a transitive…
Developer technologies | C#
How do i reduce the font size of the text editor in VS 2022
How do i reduce the font size of the text editor in VS 2022? While working in VS 2022, I accidentally hit two keys that caused the font in the text editor to become HUGE. I tried to fix this by using Tools | Options but could not. Any help would be…
Developer technologies | Visual Studio | Other
What's the best approach for global theme resources in WPF Class Library when App.xaml is not available?
What is the recommended approach for globally registering theme resources in a WPF class library ? Are there official patterns or alternatives to App.xaml that can provide similar global resource resolution capabilities in this scenario? We've also…
Developer technologies | Windows Presentation Foundation
WebView2 with Custom ContextMenuStrip in VB.net
How can I add my own ContextMenuStrip to WebView2 on vb.net.
Developer technologies | VB
cannot get the android binding ?
I want to create android binding of android '.aar' lib of 'zxing-android-embeded.aar' and I put it in the android binding . I can get the dll in debug mode but I can not get the dll in release mode there is two error:Size do not implement…