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) { …
can not set background color in .net ios?
I created .net ios (not xamarin.ios and MAUI). Window = new UIWindow(frame: UIScreen.MainScreen.Bounds); var rootView = new MainController(); Window.RootViewController = rootView; Window.MakeKeyAndVisible(); in MainController View.BackgroundColor =…
How to debug ASP.NET Core's source code using Rider?
So, I'm trying to debug ASP.NET Core's source code (specifically Mvc slnf as it's what I mostly use in my day to day) using Rider but every time the debugger hits a break-point it tries to start for 1-2 seconds and then process stops/crashes. I've also…
Blazor web app is not working for any events, button click or dropdown selection in .NET 8
I have the following component, but none of the events are being triggered in .NET 8. I suspect this issue is due to the new rendering modes introduced in .NET 8. @using MyFirstBlazorWebApp.Components.UI <PageTitle>Dynamic Marvel…
![](https://techprofile.blob.core.windows.net/images/1MpWcK9QhE-jQLVU0RhWjw.png?8DC981)
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)?
How to fix typemaps.x86_64.ll Xamarin.Android.Common.targets(
Hi. When compiling a project to a virtual android device, an error occurs. It works fine on a physical device. I have used many virutal devices, Api 30-34, x86-64, nowhere works. I installed the Android SDK through Rider. Applications in Android Studio…
Only one app running in MAC?
Hi, Does this code work on MAC, only one app running ? Thanks, public partial class App : Application { private static Mutex mutex = new Mutex(true, Assembly.GetEntryAssembly().GetName().Name); public App() { if…
EF Core .Net 8 error after TLS 1.0 was disabled.
The admins where I work have disabled TLS 1.0 but now all of a sudden, my .Net 8 app is getting the following error: Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred…
Is it possible to use await in an event?
I tried to use await in this event: CrossMediaManager.Current.MediaItemFinished += (s, e) => { customDialog.Cancel(); await ResumeSong(7, TimespanIngamemenuPosition); }; public async Task<bool> ResumeSong(int resumesong,…
Is it possible to play videos on Android with a native video player?
In one project the following code for Xamarin MediaManager works. But I have another project where I use the same code and there it is not working. The problem is that the video is not correctly displayed in full screen because there is a small free area…
Send email from a .Net Framework Winforms application and service using Microsoft accounts.
Hello. We provide a .Net Framework Winforms application with a service. Both share code which allows our customers to send email from their own email accounts, currently using MailKit, although we could use another client if necessary. Where they want…
Executable for Iphone
I use the below command to generate apk file for android . keytool -genkey -v -keystore bmicalc.keystore -alias key -keyalg RSA -keysize 2048 -validity 10000 dotnet publish -f:net7.0-android -c:Release /p:AndroidSigningKeyPass=maui@23 …
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 rewrite the Backgrounding event
Hi, In continue to https://video2.skills-academy.com/en-us/answers/questions/1690214/register-close-button-in-mac All my work in pages stop working. Working with http + tasks. it fire the close button event and close the app. Thanks in advance,
show only filter record data in asp.net
Hello This is my MS SQl Data SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table1]( [ID] [int] IDENTITY(1,1) NOT NULL, [F1] [varchar](50) NULL, [F2] [varchar](50) NULL, [F3] [varchar](50) NULL, [F4]…
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…
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
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…