Why "connection" is "Null"?
Dear all, Why "connection" is "Null"? string cConnectionString = "Data Source=(local); Initial Catalog=Tims; Integrated Security=True"; using (SqlConnection connection = new…
.Net Maui, use gestures on tabbed page
Hi, I have a tabbed page with 2 tabs, on one tab I have and image that I would like the user to be able to use touch to pinch zoom and pan the image around. I use this to show the image: <Grid x:Name="imageView"…
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,…
How to create a custom text editor VS2022
I am looking for some way to open a new window in visual studio that acts as a customizable text editor with the contents of a file (given by specified file path). I would then like to configure the features of the editor such as setting it to read only.…
How to fix UNMOUNTABLE_BOOT_VOLUME blue screen windows 11
I have an msi laptop and for several hours I keep getting this error, I mention that: -I tried starup repair and it still doesn't work -I tried to enter safe mode because I thought I had corrupt files, but the startup setting in the advanced options…
How to detect a device
Hi, I'm currently working on .net core web API project . There is a moment that I can't figure out. I had to detect the device which user used when signed in. I used "user-agent" first but this only says if its smartphone, Desktop etc. And only…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Navigation help with .Net Maui app
I am trying to figure out a way to navigate. Right now I have the main page as a shell page with some content, from here I launch Tabbed Page sections, there are several and each page contains 5-6 tab pages. This does not work in Android as you can't…
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…
Error Verify Signature XML DGI UY always return false
I am working on validating the signature of an XML envelope in this case from Uruguay, but due to the signature verification method it always returns false using .Net C# The tests carried out with unsuccessful results, apply the following code that…
![](https://techprofile.blob.core.windows.net/images/BTjBG5WkqUaa1qdq6cLcJQ.png?8DA7A1)
![](https://techprofile.blob.core.windows.net/images/BTjBG5WkqUaa1qdq6cLcJQ.png?8DA7A1)
Error Verify Signature XML DGI UY always return false
I am working on validating the signature of an XML envelope in this case from Uruguay, but due to the signature verification method it always returns false using .Net C# The tests carried out with unsuccessful results, apply the following code that…
![](https://techprofile.blob.core.windows.net/images/BTjBG5WkqUaa1qdq6cLcJQ.png?8DA7A1)
![](https://techprofile.blob.core.windows.net/images/BTjBG5WkqUaa1qdq6cLcJQ.png?8DA7A1)
How do you use a bitmap to pan in Sharp DX Direct 2D?
I'm attempting to display dxf files using sharp DX. It's running too slow while panning so I'm trying to use a cached bitmap during this but I can't get the bitmap to show in the correct location on the render target. I've a link below for the class in…
What's the correct way to render a bitmap while panning and zooming using Sharp DX Direct 2D?
I'm attempting to display dxf files using sharp DX. It's running too slow while panning so I'm trying to use a cached bitmap during this but I can't get the bitmap to show in the correct location on the render target. I've a link below for the class in…
Scripts inside local html is not working with webview Eval in UWP Xamarin forms
Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :
.NET 8 upgrade issue for functions using Durable functions and Orchestrator
I have upgraded Function which uses Orchestrator and Durable functions from .Net 6 to .Net 8 (isolated model) and after upgrade when I am trying to run the function, I am getting the error. An unexpected failure occurred while processing instance…
updateDeviceProfileAssignment returning 200 OK and not 204 No Content
The following issue I am having is that when trying to change the enrollment profile of an iOS device using .net and httpclient, I am getting back a 200 response with an empty object. I have tried both in my code and with in Graph Explorer. Just last…
Receiving validation error when trying to create a webhook subscription
I've been testing various ways to create a webhook subscription (with resource data), and I'm getting a ValidationError with no details as to what the issue is. I am developing in C#, and I have tested this using the Microsoft.Graph NuGet package and…
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…
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…
How to apply search in collection view with portion loaded data?
i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…
In WinUI3, How to make the TabItems load the corresponding page after clicking and selecting them
In WinUI3, TabView has some TabItems. how to make the TabItems load the corresponding page after clicking and selecting them. My codes as following, but they don't work( Just check the second tab). <?xml version="1.0"…