Distributing WinUI apps with AI
I want to add Phi Silica to my WinUI apps. It`s possible install AI model on users PC as system component or extension for avoiding duplicating if user have few apps using same model? Or I should place models in PublisherCacheFolder?
How to fix error code 2147516556 (0x8000808c) in VS 2022
Reference Library uses .NET 8.0, which I configured it as such. Build is successful but Debugger shows below error and program failed to open. The target process exited without raising a CoreCLR started event. Ensure that the target process is…
Why my ASP.NET razor page app cannot access a specific endpoint?
I have an issue with my ASP.NET app where it cannot access a specific endpoint. It throws a 502 error in Azure and a request timed out on my local machine. The endpoint I want to access is the products endpoint. I found that…
How to use EF Core when two properties in the Principle entity point to the same attribute in the dependent entity?
I have 2 Model classes: Department.cs cs public class Department { public string DepartmentId { get; set; } public string Name { get; set; } public string Description { get; set; } [ForeignKey("FacultyId")] public…
ASP.NET Core Razor Pages - checkbox asp-for
Hello, New user here, a beginner trying to understand how checkbox asp-for works. In this sample application, I am trying to toggle a checkbox on post by a button, but failing. Having googled, read tutorials and attempted variations, I am still…
Microsoft.Maui version 8.0.70 NuGet packages automatically switch back to 8.0.61
I have updated the NuGet packages Microsoft.Maui.Controls, Microsoft.Maui.Controls.Compatibility and Microsoft.Maui.Essentials from version 8.0.61 to 8.0.70. Then I got the following error when I tried to build my iOS project: Error MSB4019 The imported…
Azure app service reverts to previous version
I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…
How and how to return to the main page without losing page data
The page is made with Asp.Net Core Razor Page, In this page >> MAINPAGE (Please see the picture) 1- Populate data and filling dropdown1 Here are the codes: public SelectList TermList { get; set; } public SelectList CourseList { get; set; } …
How to add continuous speech/talk - .NET MAUI Speech
I have the below .Net MAUI code that works great. I want to add continuous speech, I mean when I speak, the recorder must not stop until I press stop button. In the below code, when I stop speaking, or I pause for like 2-3 sec, it stops itself, so I…
Azure AD Connect directory sync fails with "SSL/TLS secure channel" error in event log
I have an Azure AD Connect (v2.1.16.0) installation that has recently begun failing during the majority (but not all) of its directory sync attempts. When a directory synchronization fails, the synchronization service manager indicates that it is the…
Does System.Text.Json Deserialize into DataTable?
Hello .Net Gurus - I have checked MS Documentation and I couldn't find any example of serialize json data using System.Text.JSON into DataTable. I have .Net Framwork 4.7.2 and did install the System.Text.Json NuGet package. The desrialization is…
![](https://techprofile.blob.core.windows.net/images/BDcpv9d_QkyWiDv-cbrTEA.png?8DA345)
Maui Hybrid Power Bi embeded report ios issue
What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…
![](https://techprofile.blob.core.windows.net/images/e5989e51565a44e795179b034df77542.png)
Build Configurations to change MAUI Settings like ApplicationId
We have a MAUI app that I build for iOS and Android. We use this same code base for 5 different apps that talk to different bluetooth hardware we sell. Each time I switch mobile apps I go into the project properties / App Info and change the Application…
How to mock TaskOrchestrationContext and FunctionContext to get the logger for xUnit Tests in .NET 8 isolated?
If I try to test the activity, fails because it can't mock context and get the mocked logger. Also fails when try to test the http_start, can't create a mocked HttpResponseData. It's a simple durable function with one activity, .net 8 isolated
Difference between .NET 4.8.0 and 4.8.1
We've found that our program breaks when a machine is updated from .NET 4.8.0 to .NET 4.8.1. Nothing else has changed on the machine. The program is set to target .NET 4.7.2. I know MS isn't going to trouble-shoot our program. But what they can do it…
Unable to connect Azure SignalR in Dafault mode with .Ner Core app
I have a service made with .Net Core 8, which are Web API with a SignalR Hub. This service will scale horizontally. For this reason I intend to use the Azure SignalR service in Default mode to act as a proxy between the different instances of my…
How to fix SystemLoadExecption
Exception has occurred: CLR/System.TypeLoadException An unhandled exception of type 'System.TypeLoadException' occurred in Winappli.dll: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.NotificationActivator' from assembly…
Microsoft Cognitive Services Voise to Text How to Recognise base64string
I'm using Microsoft Cognitive Services Voise to Text in my Asp.Net application. How can I pass base64string from my c# controller to SpeechRecognizer? Thank you!
MAUI MediaElement: How to Include Access Token in Subsequent Video Requests?
I'm using MAUI's MediaElement to stream a video from a server. The video is being served as a static resource, and it's protected, so I need to send an access token when requesting the video. I have the initial URL to fetch the .m3u8 file as…
How to convert memory stream to FileResult
I had asked to compress the image file in the following link:…