Content
How to Open Files on Xamarin Android Using FilePicker
using Xamarin.Essentials; (at the top of the file) async Task<FileResult> PickAndShow(PickOptions options) { try { var result = await FilePicker.PickAsync(options); if (result != null) { string Text…


.NET Maui How to convert a byte array image to a .NET maui image
Hi There seems to be some difference between the System.Drawing.Image and the Microsoft.Maui.Controls.Image, and I have failed implementing any of the solutions found online. I have a test page created with this Xaml code: <?xml…


Is there a way we can integrate .NET MAUI onto existing swift code project
I have an project which was developed in Swift using Xcode. Is there a way we can integrate .NET MAUI on to existing Swift project ?


.net Maui is installed but is not shown in viusal studio 2022
i update visual to 17.5.3 but maui is installed but not shown in visual studio , what's problem ? by the way , when i updated visual i have two errors can this have is effect ?


SqliteDB location
I have an application in xamarin forms and I use SQLite to create a database and store all my data but I can't find my database. I've tried using adb but when I am pulling the file that was meant to have my database the adb says pulled successfully 0…


Problem with changing SSAS Tabular model by TOM
Hi! I try develop SSAS Tabular model by TOM API and C# language. Unfortunately, I have some problem with change model. We have ready model in project, that was developed with using VS 2019 UI interface. I haven't problem with get information about model…


Weird errors problem with dotnet watch with blazor/wasm.
I have a really annoying problem with dotnet watch and blazor/wasm. I have a solution in which I have multplie projects, for example an API, a blazor/wasm project and some common classlibraries. I start the API part with CTRL+F5, and I start the Blazor…


Unhandled exception rendering component: '<' is an invalid start of a value
Hi, I used blazor wasm and I just want rendering a datagrid via the controller. Below you will find the detail of the code . Have you an idea how I can fix this problem? Thanks in advance Data is located in LocalDb "ConnectionStrings": { …


Blazor MAUI blank screen on iOS
I have a Blazor Hybrid MAUI App that works great on Android. However, when I compile my code (both from VS and from dotnet publish in Azure Pipeline) to iOS the app just shows my splash screen and then shows a blank white screen (both on Simulator and on…


icon image modification in visual studio
In the visual studio, In the solution explorer, I should change the icon images for each file format. (the images that appear next to each file in the solution explorer For example, the inscription program.cs and a small picture next to it to the left.…
Xamarin forms invoking javascript from webview
The android project in the sample as described in this article does not work. The iOS project works exactly as described in the article. The Android does nothing.…
Poptrox-popup + Net.Core 6. How do I create my own itemlist under the picture (div or iframe)?
Hi! I use a free Parallelism template (you can download and see the code) for the site: https://html5up.net/parallelism Poptrox: https://www.jqueryscript.net/demo/Highly-Configurable-Responsive-Content-Lightbox-Plugin-For-jQuery-poptrox/ …
How to implement <select multiple> in blazor server?
Please see https://github.com/siegfried01/BlazorSvrGitPlay/blob/DemoHTMLSelectProblems/BlazorSvrGitPlay/Pages/Index.razor and…


Http chunk encoding miss end of chunked encoding("0\r\n") or tailer("\r\n") on IIS 7.5
I create a simple ASP .NET Application and write a generic web handler (HelloFilterWithClose.ashx). HelloFilterWithClose.ashx ProcessRequest with setting a HttpResponse.Filter(MyFilter), and it response to http client with write a PDF file to http…
How do you impersonate as a different user/service id and then try and connect to sql server using windows authentication?
This is my connection string Data Source =server;Initial Catalog=Database;Trusted_Connection=True;MultipleActiveResultSet=true;Integrated Security=SSPI; After establishing the connection string I am trying to test connection and here instead of it…


The model item passed into the dictionary is of type 'DSDB_V1.Models.DSDB_STORE_TBL', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[DSDB_V1.Models.DSDB_STORE_TBL]'.
Hi All I am so confused by this thing. One type of list work... a list with a find or where statement creates an error. No really understanding why. This is the mvc below is the source codes... maybe some one can help. What it is that I am trying to do.…
HasDefaultValueSql("getutcdate()").ValueGeneratedOnAdd(); not working as expected
I configure my model as follows: public class CampaignConfiguration : IEntityTypeConfiguration<Campaign> { /// <inheritdoc /> public void Configure(EntityTypeBuilder<Campaign> builder) { builder.HasIndex(new[] {…


Best approach to learning database queries with MVC Core and EF
What's the best way to learn MVC Core/EF DB queries in C#? I'm learning on my own, and I read through whatever I can find online. I know T-SQL very well, but I don't know how to translate that into a Core project. For example, I know the following…
Turning off cascade deletes
I have a case where I need to turn off cascading deletes (two different models are both wanting to cascade delete and so one needs to be turned off). I think I have this right but I saw numerous different answers all over the place and so want to…


Entity Framework, nullable, and no warnings or hacks
I am trying to get my model constructors written so that nullable works, with no warnings, and no having to assign default! - in other words, to do it all right. BTW, if I'm wrong on any of this, please let me know. I'm mostly there. What's left is…

