Deploying .NET 8 Docker images to Azure Container Instances
Hello, I'm having trouble to deploy an .NET 8 Web App Docker container image to an Azure Container Instance. This is my Dockerfile: FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 FROM…
How to check if a razor component is called by WPF-Blazor hybrid or Blazor application?
As a razor component can be called in a WPF blazor hybrid or Blazor server/wasm project. Is it able to check if current running application is WPF or Blazor in the razor component? Thanks!
About automatic suggestion and completion of XAML codes on Visual Studio Code
Hello I installed the Visual Studio Code application on my computer. I generally work on C#. But I have a problem. When developing a WPF project and working in XAML files, suggestions of XAML codes are not completed by the compiler in CS files as in C#…
Fixing issues with AOT compilation
Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…
How to decrease Splash screen time in .net maui? Or How to Remove/Disable Splash Screen in .net maui?
I want to reduce .net maui app splash screen duration, How can i do that. If not possible then give me a way to remove or disable app by default splash screen Completely and i will add custom splash screen.
[Question] What is the root cause of Event Code: 3005 HttpException Request format is unrecognized.
I would like to learn and understand more about the error (HTTP Error 503. The service is unavailable) that I am getting when attempting to access the URL. When I checked my IIS, the application was in a Stop state. Did it crash or something? See below…
.NET MAUI PLUGIN FOR CAMERA SHOT HDR
Good morning, I should develop an application that allows me to take multiple shots in HDR and then be able to combine them into a single photo. Do you know any plugins to use in .net MAUI? Thank you
How to version the dotnet core assemblies when creating image using a dockerfile
I have a dotnet core 6.0 api running which is building perfectly fine using a docker file and being deployed to aks. We are using Azure devops pipelines. Our team lead wants to version the assemblies now. Heres what I have tried so far but doesn't seem…
show financial year from date and to date
Hello I have two requriements 1) Current financial year Is Apr-2023 TO Mar-2024 In asp.net dropdownlist it has to show previous 3 years financial format as below for example on pageload Apr-2023 TO Mar-2024 Apr-2022 TO Mar-2023 Apr-2021 TO Mar-2022 …
Dotnet Maui Release build is very slow, about 25 minutes
I am trying to build my app in release, but is very slow to complete...abount 25 minutes...the process freeze in the log commented bellow. What I can do to build mor faster and improve the time? MacOs 14 - Sonoma <PackageReference…
How to send complex objects from one Razor page to another
I am working on an ASP.NET Core 6.0 Identity project. I want to pass an ApplicationUser object to the LoginWith2fs.cshtml page from the Login.cshtml page. The following is my code: Code in Login page: return RedirectToPage("./LoginWith2fa",…
How to make System.Timers.Timer call async function synchronously when elapsed?
Hello! I am developing a telegram bot using .NET and I am having an issue. I have two timers that execute functions when elapsed. First timer re-posts a message (deletes a message and then posts identical copy, this is a workaround for the fact that…
MAUI apps with .NET 8 don't work on android
I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…
MAUI .net 8 app can't get past splash screen on Android
Hi I am trying to run a new .net MAUI project on Android, it doesn't get past the splash screen and is stuck there. how to fix this?
Send email form Gmail account using C#
When sending an email using the followng code, I'm getting an error, I'm asking for your help. Authentication Required. Learn more at string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi =…
Reading and Writing Files on Android 13
I want to read and write files in internal storage on android 13, but I get an error. What is the best way to deal with this?
How to use <InputSelect> inside component with eventCallback
I am using Blazor Server , in the following code i Use <inputSelect > , the selection is getting passed to the parent component, but the element it self does not get updated for the selection @* Select Filter Property *@ @if (SelectionProperties !=…
Strange difference between using Azure OpenAI via the Playground studio and a simple C# .Net program
So I'm testing my Azure AI subscription. I'm running into a difference between the AI Studio (web site) and a simple .Net (C#) program that I find strange. I'm using the same AI deployment for both the Studio as my C# program. It is using…
Customize the close/minimize/maximize location
Hi, I tested n it not worked on this link: Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 I added this code in login page and MyRootPage and is not worked. // override the method of the page…
Best Practices for Two-Way Data Binding in Large .NET Applications
Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…