I am using the MVVM pattern and I want to get the value of the property in the OnPropertyChanged event
I want to get the value of the property in the OnPropertyChanged event. I would rather not use reflection.
How to fix an exception: Could not load file or assembly 'Microsoft.DirectX.AudioVideoPlayback, Version =1.0.2902.0....'
I was writing a C# WinForm which can play videos. I'd add the reference, 'Microsoft.DirectX.AudioVideoPlayback.dll' and compile was ok, but it failed when running with the mentioned exception. I'd searched the question through internet and I found that…
How to troubleshoot the exception, Could not create TLS secure channel?
Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…
Why is the blazor css isolation not working?
I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…
How to read pdf,jpeg,gif document using tesseract OCR with C# asp.net MVC
Currently we have one page and this page contains one file-upload and one submit button, then the user will select a file from file-upload and submit the pdf,jpeg,gif file. Now my requirement is the user will upload pdf,jpeg,gif read the content of the…
Number of references to class variable is incorrect
I created a class level variable in the Program.cs file and use it 27 times within that file. I can do a search for the variable name and make sure spelling isn't an issue. If I go look at the number of times the variable has a reference as stated where…
Visual Studio find text in code editor auto jumps from the current line to another one
Hello, Does someone knows how to fix an annoying behaviour in the code editor of Visual Studio.? I have a .cs file with 10 000 lines of code. I am positioned within the file to see the lines from 920 to 950 I am trying to find a specific text…
I created a SSIS package to fetch data from an API to store in the Data Warehouse. But I am getting the runtime error in my script task. I even used try/catch to figure out the error, but nothing is working.
Additionally, I am using a variable 'Token' which I declared in ReadWriteVariables. The error - at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at…
How to migrate KafkaTrigger from in-process to isolated when using schema registry and AVRO
Microsoft is recommending migrating Function apps from in-process to isolated which I am doing in dotnet8. The in-process KafkaTrigger is returning KafkaEventData<byte[]>. With dotnet-isolated it uses…
Blazor hangs when debugging with authentication
Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in? Any hints on how to get past this issue?
How to fix Expression: m_pAccessor != 0 Debug Assertion Failed!
Debug Assertion Failed! Program: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll File: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\atlmfc\include\atldbcli.h Line: 5198 Expression: m_pAccessor != 0 For…
How to register device on Entra ID programatically
Hi , I want to register my local device to Entra ID using c#. I have gone through the Microsoft Graph API documentation as well but didn't get any information related to this topic please help me.
getting error- The request is invalid. Details: Cannot dynamically create an instance of type 'Microsoft.Azure.Search.DataIdentity'. Reason: Cannot create an abstract class.
I am trying to create a custom web api skillset to connect to document intelligence directly. Created a skillset definition but it throws below error - The request is invalid. Details: Cannot dynamically create an instance of type…
System.Exception: 'Days between ViewStart and ViewEnd should be between 1 and MaximumViewDays' in c#
I want to select multiple days in my monthView1, but the error message say."System.Exception: 'Days between ViewStart and ViewEnd should be between 1 and MaximumViewDays'" and here my code. private void monthView1_SelectionChanged(object…
![](https://techprofile.blob.core.windows.net/images/KdhqvXnr5EmAUA3EPTdX5w.png?8DAF17)
System.ArgumentException: Value does not fall within the expected range.
I am making an Excel Addin in C# in Visual Studio. I have already made another simpler Addin and installed it with no problem. But on this one I am getting the following error: “Name: ExcelAddin_RSMeansV.2 From: file:///C:/Users/jstebbins/Desktop/Excel…
unusual loading of page
Link where event occurred: https://learn.microsoft.com/en-gb/learn/modules/csharp-write-first/2-exercise-hello-world Line due to which event occurred: /Console.WriteLine("Hello World!"); Suggestion: Editor should show a error…
NullReferenceException: Object reference not set to an instance of an object.
I'm using ASP.net mvc. I think there's something wrong with my controller and view. I can't move on with my crud since i'm stuck at the index action. Some help from anyone would be very much appreciated!
Nuget package creation and file removal on uninstall
Hi, I am creating a package for use in dotnet core web applications. Specifically Umbraco 9 CMS. As of recent, it would appear that Powershell scripts are no longer used to populate and remove files on Nuget package installation/ uninstallation with…
![](https://techprofile.blob.core.windows.net/images/BH-OpIJx1Eeuk4UZhKExXg.png?8D96AC)
XmlDocument to XmlReader?
Hello I used to load an XML file into an XDocument and keep it intact in memory, then pass it to another object when needed, since it only accepts XmlReader, I was using XDocument.CreateReader. Now am moving from XDocument to XmlDocument, just no idea…