How to find where .pkg file store the installed app
I Use the following command to create a .pkg: .NET CLICopy dotnet publish -f net8.0-maccatalyst -c Release Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the…
Problem with DependencyService in .NET MAUI for iOS: Cannot get an instance of IFileHelper, always return null
I'm working on a .NET MAUI application that uses DependencyService to get the local path to a file on iOS. Although I have followed the instructions to correctly register my IFileHelper implementation, I always get an exception stating that an…
Why I have no output ?
In the test the application section after I did all the steps before, when I debug my app it's shown blank with no output, I did all the steps again but no results. This question is related to the following Learning Module
How to resolve InvalidCastException error in sample code listed in "Use an EventCallback to handle events across components" Blazor training module.
This question is related to the following Learning Module
https://try.dot.net not working?
Hi, I'm following the tutorial and link to https://try.dot.net from page https://video2.skills-academy.com/en-us/training/modules/dotnet-introduction/4-build-your-first-app isn't working. This question is related to the following Learning Module
The background color of my LaunchScreen.storyboard is not displayed on my iPad
I have created a launch screen in my iOS project on my iMac. After that I have copied my iOS project to my Windows 11 laptop. But the problem is that the background color of my launch screen is not displayed when I debug my game on my iPad. The…
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)
.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"…
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 to fix this error: The package reference 'Microsoft.NETCore.Targets' should not specify a version.
I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not…
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…
Access network folder and files from .NET Core application in IIS
Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?
![](https://techprofile.blob.core.windows.net/images/c4mRkDtLdU6n6fSv2i9uBg.png?8D843C)
asp.net core web application not showing in visual studio 2019
asp.net core web application not showing in visual studio 2019 Hi, i have installed visual studio 2019, with asp.net and .NET core features. Problem/Issue: while creating new project,"asp.net core web application" not showing, its showing…
![](https://techprofile.blob.core.windows.net/images/sNMpYM2DTkec_2Z6WEMj6w.png?8DBF41)
System.AccessViolationException: Attempted to read or write protected memory at TorchSharp.PInvoke.LibTorchSharp.THSGenerator_manual_seed
I was trying to reproduce the example of ML.Net in GitHub: machinelearning-samples/samples/csharp/getting-started/MLNET2/SentenceSimilarity and I got the following error : Fatal error. System.AccessViolationException: Attempted to read or write…
Deploying MAUI Android but getting iOS errors!
I am porting a project from XF to MAUI. I am trying to build a Signle Project Class Library that has TargetFrameworks of <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> I have Android and iOS specific files under…
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 :
how to recognize invoice/tax image using camera ?
I am using .net ios. I want to use invoice /tax recognize image . you may say I can use VisionKit. but it require IOS 16. I want to use may iOS 11? how to do it in oc(not swift)?
.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…
How to change code "Foreach" to Loop.
@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1 style="color: blue;">Anda!!</h1> <p></p> Welcome to your new app. <p></p> @foreach (var image in images) { …
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)