SPLASH SCREEN
In my app for Android I created an image and named it 'splash.svg' - the project contains: <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#00B0F0" BaseSize="520,800" /> I find that the image is…
Developer technologies | .NET | .NET MAUI
What's best practice for making the encodings module accessible to projects
I'm including Python in my project, but it cannot find the encodings module. Fatal Python error: Failed to import encodings module Some recommend setting PYTHONHOME as the solution. However, I'm not sure if this is the best solution, since I am not…
Developer technologies | C++
Cannot create file in "/storage/emulated/0/Documents" with Target SDK Android 11 (API 30)
Hi, I am not able to create any file using "System.IO.File.Create" API at following location with my app targeted to Android 11 ( Target SDK API 30). /storage/emulated/0/Documents The API which I use in my application to get above path…
Developer technologies | .NET | Xamarin
Why (and how) is Visual Studio creating <app>.exe.config.deploy which has old app.config settings?
I lost a week trying to get my Web Reference to use HTTPS instead of HTTP. I finally had to rename my web service because the old settings (with old data) appear in the <app>exe.config.deploy file. Those old settings in…
Developer technologies | Visual Studio | Other
Javascript issue
Hi, Any Javascript example to show the similar button (like the following), when the mouse is on the top of the text?
Developer technologies | ASP.NET | Other
Shouldn't MemberNotNullWhen in combination with return: NotNullIfNotNull prevent CS8618 if the input arguments are not null
I feel like the compiler should have enough information to not throw the CS8618 in the code below. Is there a way to achieve what I am trying to do without suppression or null forgiveness? using System; using System.Diagnostics.CodeAnalysis; namespace…
Developer technologies | C#
Is there a way to achieve the combination of MemberNotNullWhen with return: NotNullIfNotNull to prevent CS8618 if the input arguments are not null
Is there a way to achieve the combination of MemberNotNullWhen with return: NotNullIfNotNull to prevent CS8618 if the input arguments are not null? The compiler should have all the information it needs to do this without null forgiveness or…
Developer technologies | C#
When AspNetCoreModuleV2 is missing in IIS (e.g., Hosting Bundle not installed), IIS and "appcmd" only report a vague “Configuration error” with no details. This makes root cause analysis extremely difficult in production.
Summary When AspNetCoreModuleV2 is missing in IIS (e.g., Hosting Bundle not installed), IIS and "appcmd" only report a vague “Configuration error” with no details. This makes root cause analysis extremely difficult in production. A clearer…
Developer technologies | .NET | .NET Runtime
Version conflict detected for Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx.
I get the following error when I try to update the NuGet package Plugin.InAppBilling 8.0.5 to 9.1.0. Package restore failed. Rolling back package changes for 'ProjectAndroid'. Version conflict detected for Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx.…
Developer technologies | .NET | .NET MAUI
KB5063878 and Microsoft.Ink exception
After 8 years without any issues, we just got many reports that an exception is now triggered when our tool starts, related to .NET's Code Access Security. Is there a way to avoid this without resuscitating and modifying this old…
Developer technologies | .NET | Other
Aspire in windows Not connecting to Docker Desktop on Mac M1
I have docker desktop running on Mac M1, and trying to connect to it from Visual Studio in Windows 11 inside Parallels. I am able to browse apps running in Docker from edge in windows with no issues. Aspire app out project is able to run the docker…
Developer technologies | Visual Studio | Debugging
Getting error when build project
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3030: Could not copy the file…
Developer technologies | .NET | .NET MAUI
Login not possible with AspNetCore Idenity when Enable DataProtection.
I'm configuring my application to make use of AspNetCore.Identity as well Data protection. public static void Main(string[] args) { var builder =…
Developer technologies | ASP.NET | ASP.NET API
SMTP.Send Consent Flow with Daemon Service – Handling Token Refresh
We are building a feature where users provide consent for the SMTP.Send scope by signing in once through our frontend portal (Angular 19 with MSAL integration). During login, consent for SMTP.Send is granted. The resulting tokens are securely passed…
Developer technologies | C#
if two tasks get completed at the same time the what happens in WhenAny
hi, IEnumerable<Task<int>> downloadTasksQuery = from url in s_urlList select ProcessUrlAsync(url, s_client); List<Task<int>> downloadTasks = downloadTasksQuery.ToList(); Task<int> finishedTask = await…
Developer technologies | ASP.NET | ASP.NET Core
Google Translate Not working on MVC Page
Hello everyone and thanks for the help in advance. I am trying to implement Google translate on a few Asp.Net 9 MVC pages, but am having difficulties getting it to render correctly. On the page, https://kidsmedicalcare.com/home/translate, the widget…
Developer technologies | ASP.NET | ASP.NET Core
There is this gray box on my screen
Gray box on my screen and I can not get it off Ive restarted mulitple times
Developer technologies | Windows Presentation Foundation
.NET MAUI doesn't fullfill entire screen on iOS 18, but is fine on Windows/Android/IOS 16
Hello .NET MAUI doesn't fill entire screen on iOS 18 (see picture of real mobile behaviour) you can recognize MAUI rectange area (background color of Webkit webview controll is full filled on the screen, but all XAMLs like AbsoluteLayout StackLayouts...…
Developer technologies | .NET | .NET MAUI
Excel Macro
Since the file is a .xlsm (macro-enabled workbook), corrupted macros or external connections might be contributing to the issue. Go to: Developer → Visual Basic to inspect the macros. Data → Queries & Connections to check for broken external…
Developer technologies | Visual Basic for Applications
file.CopyTo is not working with special characters like # and %
file.CopyTo is throwing error when copying file to share point folder using dot net 4.7.2. Folder name contains special characters. I'm getting error as File not exist. I'm getting below while copying files to share point folder using dot net 4.7.2.…