Powershell: how does calling a .NET method work?
When I make a call to .NET in, let's say, PowerShell 7.4.3, such as: $HT = [System.Collections.Hashtable]::new() am I right when I say that PowerShell uses the .NET version on which it is based, in my example 8.0.6?
export to excel with header data and column alignment should be perfect and center
This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="A.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <title>demo</title> <script…
How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?
I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
How to create html inside jQuery function dynamic instead of using html controls static ?
I work on jQuery i have issue I can't append html inside jQuery script SO jQuery function GET_ITO_PROJECTS_DASHBOARD_SP() will create all html scripts below and i will remove html static and i will create all html at runtime within function so exactly…
How to make UWP MediaElement to be loop mode when casting to a TV?
I find that when using UWP MediaElement (component name: video), it works well to be in loop mode when set as below: video.IsLooping = true; // method 1 video.MediaEnded -= Video_MediaEnded; video.MediaEnded += Video_MediaEnded; // method 2 private…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
only parentheses data not filtering
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="A.aspx.cs" Inherits="Default3" %> <html> <head…
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)
How to draw 3D scatter graph and Heat map using input CSV/Excel data in WPF app?
I have a WPF app and need to have scatter graph in 3D. By taking the input either CSV or Excel file and plot a graph and Heat map. Unable to figure out any alternative for this. With the help of "Oxyplot" package scatter map is done but not…
How ro change Hamberger icon backgound color to green in .net maui
When i am clicking on push notification it navigates to the Consumable request details page and when clicking on back button it navigates to the Consumable request page. When it navigates to Consumable Request page tools bar color changing to black…
MAUI ios app build fail with doesn't have a target for 'net8.0-ios/iossimulator-x64'
After updating my laptop from an Intel-based Mac to a Silicon-based Mac, I am unable to build my project . In my project i am targeting ios only . The error message I received is as…
Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while
My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings -> Enable/Disable Power Saving Mode Now try to…
EF Core - High Memory Usage For Query that Runs for 20 seconds
I'm wondering if there is a better way to optimize the below query. Granted, it's pulling in 80,000 - 160,000 records, but the RAM usage on my web server, shoots up to ~3gig while it's running for a total of 20 seconds, when testing it in my API, but,…
Need Help Diagnosing Maui runtime Crash in iOS App
Hi everyone, I'm experiencing a crash in my iOS app and would appreciate some assistance in diagnosing the issue. The crash report indicates a SIGABRT (signal 6, abort trap) caused by an abort() called in the main thread. Here are the relevant details…
I cant install windows IIS
I am trying to install it says you already have this but I dont have internet information services in either windows administrative tools or windows start. I googled it but couldnt find any solution.
Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera
When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…
#How to convert ASP.NET for Microsoft Graph API to an open public API?
Hello, I have followed the instructions for creating an application that can pull data using the Microsoft Graph API: …
How to Increase timeout
I scaffolded a asp.net core application from Postgresql db, I get the below error , please suggest. TimeoutException: Timeout during reading attempt I fails here SupaCrud.Controllers.QuestionsController.Index() in QuestionsController.cs + return…
Intermittent C# Compiler failure
Anyone seen the error below? I'm seeing this in a sub-project of a large build. It doesn;t always happen but it does seem to happen on the same component each time. I've not been able to get it to repeat reliably, ideas???? FWIW. It's a .NET Framework…
Looking for DX12/11 sample for MAUI
We're currently working on porting our 3D rendering SDK to support MAUI for Windows, and we already have support for .NET8 Winforms, WPF on Windows, and MAUI on Android and iOS. Are there any DX12 or DX11 based samples or demos that we might have…
can't covert Adobe PDF into Microsoft world
I'm having trouble converting an Adobe PDF to Microsoft Word. I've tried using different methods, but the formatting doesn't seem to carry over correctly, and some elements are missing. What steps can I take to ensure a smooth and accurate conversion,…
InvalidOperationException: No policy found: System.Object[] in .NET 6 project on Visual Studio 2022 Version 17.10.3
`I recently installed the latest version of Visual Studio 2022 Version 17.10.3 and started working on a .NET 6 project. When I run my project, I encounter the following exception: InvalidOperationException: No policy found: System.Object[].…