Content
How to set variable correctly when using "data-image"
I'm working on the use of Modal in my MVC project. The View I have uses "onclick" to send a imagepath to Javascript, then the modal uses the ID value for setting the image path. All good. However... now I have this issue when a user hovers over…
WebResource.axd not found
Good morning everyone, I transferred my domain to another provider and I discovered that the various RequiredValidators no longer work, the postback still starts when the button is pressed. Inspecting the browser console I get the error that the…
Customizing the appearance of a Persian DatePicker (JalaliDatePickerControl)
I have a Persian DatePicker that works properly, and I only want to add to it some public properties to customize its appearance. What I'd want to add is as follows: Background BorderBrush CornerRadius I want to be able to access these three…
Maui for android change font size issue
Hello all. Maui net 8 17.9 preview 2 android emulator 34 in my app I have a variable named fontSize I checked in debugging that its value changed correctly as expected but in the following its setting not working. Please can someone give a hint about…
With ASP.NET Framework, can I use SerialPort and SignalR together?
I am developing a website using ASP.NET Framework. The website will display real-time data received through the SerialPort. To achieve real-time functionality, I am attempting to use SignalR. However, I'm unsure whether SignalR and SerialPort can be used…
Generate and validate CSRF TOKEN in .net c# having frontend in angular and not in razor
how can i work with csrf tokens if i have my frontend in angular and not razor, i have this question because i have been trying to generate and validate tokens but i usually have many problems with it, i am someone who is just starting and it would be…
Is there a way to serialize collections before uploading an object to Azure Table Storage in ASP.NET 6?
I have the following class. I want to upload an instance of this class to Azure Table Storage, but it does not support collections. I tried custom getters and setters to serialize the property, but that doesn't seem to work. Is there an attribute or…
change cells' forecolor on selectionchanged
Hi , i have a datagridview which is load of some data . how do i change all the cells forecolor within a row when a row is selected and revert it back when it is unselected .
Cellpainting event help
string str = textBox1.Text.Trim(); if ((e.RowIndex <= -1) || (e.ColumnIndex <= -1) || string.IsNullOrWhiteSpace(str) || e.Value ==null || (e.Value is null) || (e.Value == DBNull.Value) || textBox1.TextLength < 1 ) …
@bind-Value:event="oninput" does not work for InputText blazor component?
I am new to Blazor and I am having trouble understanding why the oninput event does not work for the InputText Blazor component but works for the HTML input tag. I am also getting errors, which I do not understand. I am using .NET 8 Blazor Server app.…
VISUAL STUDIO 2022 REPORT PROJECT ADDING EXTERNAL LIBRARIES PATH
i am trying to add my rdl files to new report project . the report has got calls to external assemblies for priting barcode, q.r.code on running the report i am getting error that assmbles can not be found i have copies them to bin\debug folder of…
How can i use signInManager in MVC project without using dbcontext and instead communicate with ASP.NET API
So i have a question when i made a MVC project i used signInManager to sign in and also to check identity by checking his role to see if he is a user or admin and it worked with me but my question is how to use it with API + MVC i have made API and…
Error RZ10012 when adding a component in blazor
Hello, I'm trying to learn Blazor with a youtube video. I have this page : MainLayout.razor @inherits LayoutComponentBase <div class="page"> <div class="sidebar"> <NavMenu /> </div> …
Can you use an array inside of .Contains() via LINQ?
Please see the very bottom in the Answers section from me, I updated question down there rather than removing this here. A co-worker and myself wrote a very small app to store logs in a SQL database for 6 months. I'd like to add filtering parameters to…
Could not load file or assembly at Run time
our .net application has been running on 6.0 for months now. All of the sudden it threw out various exceptions on assembly could not be loaded. Do you have any insights? Thanks The config: …
IInputStream.ReadAsync causes extraneous task
When the clipboard has a Link Preview Format as in Announcing a new way to paste URLs, Link format!, I am getting the contents in that format. After doing the GetDataAsync the contents is an IRandomAccessStream. Then I do a ReadAsync. The first ReadAsync…
How to find the right code to create a line chart
In a Visual Studio 2019 C# WPF (.NET) project I like to add a line chart to visualise the measurement data of an amplifier as function of frequency. In this project I am controlling a frequency generator, making a frequency sweep (X-Axis). The…
"Need help with serving/streaming video files to frontend using Entity Framework, ASP.NET Core API (.NET 6) deployed on Azure App Services, and MongoDB deployed to Atlas"
Hi, I'm working on a project for streaming videos and I'm currently stuck on trying to figure out how do I serve / stream a video file for front end? If I run everything locally, the video stream is still sent from the backend to the frontend in chunk…
Microsoft Server , and Microsoft Desktop
Hi there to all Microsoft Desktop and Server Developers around the world This is my point of view a operation System as Desktop and server should be complete diferent as Server should have all the tools needed to be a complete server and…
Need advice on binding to use Commands
I have a ContentPage which has two ContentViews, the whole thing has one ViewModel. In one of the views there is a CollectionView and in the DataTemplate for the items it has a Lable with a TapGestureRecognizer. Now that TapGestureRecognizer has an…