REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…
How to get/read specific word from pdf or image document in ASP.NET Application
I have millions of image or pdf document...I want get some specific word from the uploaded image or pdf document...after getting this, I am going to use these in my project...All this I want in asp.net application and if any third-party tools are using,…
Get data with post method using webclient
Hello There's a POST sample at the bottom of this page: https://ws.interfax.net/admin.asmx?op=GetAccountPPCardsBalance2 Sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST…
How to Detect Initial DPI changes in a WPF Application while Scaling according to Per Monitor Aware in Variable Dynamic Screen Resolution?
In daily life we have to deal with a lot of different types of display size it may be mobile or may be a 4k monitor. The screen resolution vary from display to display. Here another important factor is DPI (Display per inch) which is mainly a scaling…
Getting a 10054 error when calling a Cognitive Services API from VSTO Word Add-in
I am developing a Word VSTO add-in so that I can call a Cognitive Services knowledgebase service. The code is pretty straight-forward and works fine when I run it from a windows console app (a similar call in python also works without…
How to connect to Azure Service Bus through Private Endpoint?
I'm developing an application in our organization using C#/.NET(8.0) and have to use Azure Service Bus. My access in our organization's Azure account is mostly read-only, so I don't know actually how they created the instances. But I can see that the…
How to pars the text and extract some parts and assigning them to variables in visual studio .Net without interfering with the received data from serial port?
I have a received data from com port in this format: ************************* General Device Configuration ************************* Flash address...............0x40100180 Memory allocated............256 Size on…
Ajax Calendar control not showing properly in Gridview Footer template.
I am not getting full view of Ajax Calendar control in gridview Footer template. The last column date in the date picker, not showing properly. Friday and saturday is hiding and not showing properly. <asp:TextBox ID="txtDOB"…
Copy the code text from MS Visual Studio 2022 and keeping the source color and formatting
Hello! Tools --> options --> Text Editor --> Advanced --> Copy rich text https://learn.microsoft.com/en-us/visualstudio/ide/reference/options-text-editor-advanced?view=vs-2022 Works in VS2019 well. In 2022 not. Something is missing. Does…
Getting error while finding control in Footer Row Gridview
I am getting error while binding data in dropdown in gridview footer template. Pls. help us, how to bind dropdown values inside the gridview footer template. getting below error.
Azure Function app timeout in 4 minutes (230 seconds)
I am getting 500 Timeout issue while running function app for more than 4 minutes (230 seconds). It was working for 30 minutes when we were using .net 6 version. Suddenly we started getting 500 timeout when we updated function app to .net 8 version.
c# failed to invoke the openai API interface on Azure
I am using the official example to access the openai interface times the following error, how can I solve, increase the number of repetition is still the same public class OpenaiApi { public async Task
Why is my GUI app breaking when running.
I have a GUI app which should load the designer content, but fails and goes to break state. It seems there is a problem loading a DLL file, but another version (on another machine) is running OK. Version is visual studio community 2022 64bit 17.10.0.…
How to create event for subclassed control
I use GestureRecognizers with Label in lots of places in an app and would like to create a new Label control that basically uses Label as the base and adds a TapGestureRecognizer that invokes an event that can be defined in XAML. I know how to subclass…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
How to retrieve the any table from SQL DB and display dynamically in one page in asp.net core
Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core
Rename mdb table
Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a table: ALTER TABLE <table name> RENAME TO <new table name> OleDbException, anyway using ADE? Thanks
Where is system.device.location?
I am trying to use the GeoCoordinateWatcher in my WPF application. Whenever I type the using statement "using System.Device.Location" I am told it does not exist. I have read that I have to add it as a reference but when I go to the list of…
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…
How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually
I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…