Operation is not valid due to the current state of the object.
Hi, Why i am getting this error: Operation is not valid due to the current state of the object. Here is my code: public async void PingAsync() { LabelRoundTrip.Text = "Pinging…"; Ping ping = new Ping(); PingReply pingReply…
Invalid Token issue on .NET 6.0 React.js project created by Visual Studio 2022
I have created the .NET 6.0 React.js and ASP.NET Core Web API project with the authentication parameter of individual by using the template of Visual Studio 2022. Even after successful login clicking the Fetch data on the menu bar results the…
problem opening camera with WebView and input type file in Xamarin Forms only Android
Good day to all. I have researched a lot about how to open the camera through a file type input through a WebView in the Android version (it is a Xamarin.Forms project) I have tried two ways, the first one, using the PermissionsPlugin library and…
Horisontal CarouselView Header Spacing
I need to add some spacing before the 1st item and after the last item of a CarouselView. When using a CollectionView, I usually use the Header and Footer Template for this.
How to convert only the edited rows or newly inserted rows of the gridview to Json strings ?
I am trying to convert only the newly inserted rows or the edited rows of the gridview to the json string
.Net core profiler crashing when we allow to load "Corelib.dll"
Hi Team, I have developed my own .NET core profiler using VS 2019. To load my profiler, I have set the environment entry in the web.config file. <environmentVariable name="CORECLR_ENABLE_PROFILING" value="1" /> …
How to change email attachment's file's extension?
I am using this class to send an email with a PDF attachment. The class has the following code: using System.IO; using System.Net; using System.Net.Mail; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Web.WebDocumentViewer; …
GitHub switch remotes in Visual Studio 2022
Hello, I've recently downgraded from Pro to Free and now I can't manage to start pushing my source code toward the new organization repository. What exactly I need to change in order to make it saving Git changes to the new FREE repository? I…
Modification off Index.cshtml file in asp .net core razor pages project
can i add my custom css style in index.cshtml page keeping it default page as generated initially.i want to style the welcome body.i tried to write html and its rendering but when i made a .css file and tried to link that within html page then its not…
Coachmark view for Xamarin forms
Hi Support, How can we design Coachmark view in Xamarin Form which will compatible with both iOS and Android. Looking for solution like below.
How to get attribute xml from treeview winforms?
There is a xml file. <?xml version="1.0" encoding="utf-8"?> <group name="Student"> <value>A</value> <value>B</value> </group> I need to edit…
How to better control the curve in smooth line graph of SSRS ?
I have a smooth line graph. I am trying to understand if I can apply some settings on the curve properties so that the curve does appear as if it had negative Y Axis values. In the attached picture, I have highlighted a portion of the curve where it…
Xamarin Line Break in label for long words in german
I´m developing an app in xamarin and I have the next scenario. I have a label with maxLines = 3, for some long words in german or french the line break doesn't separate the words syllabels correctly, for example the correct separation of the word…
Changing the Background color of some ListBox Items
The ListBox is defined as follows: <ListBox x:Name="EditableStructs" Grid.Row="5" Grid.Column="1" Margin="930,62,0,40" SelectionMode="Single" Grid.ColumnSpan="2"…
Token strong get changed on fly
Good Day i have a webapi with a function defined like this [HttpPost] [ActionName("MyPush")] public void MyPush([FromBody] PUSH_MESSAGE model) { one of the field is a token , which comes in this format , with some escape…
Publishing .NET 6 application as Arm64
I had an app that was using .NET Framework 4.8 and I was publishing it as AnyCPU. Since I migrated to .NET 6, I now have to export the app as x64/arm64. My issue is that users with arm64 machines are not able to run the arm64 app variant. …
Unable to Write Local or Copy Local file to Web
I have a WebFile that I am successful in using WebClient.DownloadFile in order to load the file on the phone. I then read the File on the phone into an array and display it. I then want to make some changes to the array, write the file on the phone…
Does an EntityFrameworkCore.SQLServer.InMemory Assembly exist?
Hello, We have a web app that utilizes micro-frontends and we are also utilizing Temporal tables in SQL Server. I have just written the first API accessing a Temporal table and it ran fine (once I realized there is a EntityFrameworkCore.SQLServer…
How to sort in C# a tuple that contains several elements?
Hi, I would like to sort in ascending order a tuple starting from its 2nd element: List<Tuple<string, string, string>> tupleSpecial = new List<Tuple<string, string, string>> The 2nd element of this tuple actually represents a…