StackOverflowException after upgrading from .Net 6 to .Net 8
Hi, I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…
How to disable the font scaling for the Display alert's in Maui - iOS
Hello, Currently I'm disabling the font scaling in iOS by following this. https://learn.microsoft.com/en-us/answers/questions/1661536/how-can-i-prevent-the-device-font-size-effect-of-a Now I want to achieve the same functionality for the display…
Ensuring Database Updates on Form Closure: Troubleshooting for Mac.
When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…
App crashes after throwing an error ' Window was already created'
Platform : Android Version : MAUI 8 Description : I was trying to invoke platform specific code by implementing broadcast Receiver for android, When I tried to register the receiver onResume( ) , app crashed with an error "Window was already…
To set an alternate app icon in a .NET MAUI app,Here's how we can achieve this:
Previously, in Xamarin.Forms, we could set alternate app icons by registering multiple icons in the Android manifest and iOS Info.plist files. This allowed us to change the app icon and app name based on an identifier. However, in .NET MAUI, achieving…
MVC PDF Generator
Hello everyone, friends, I will have a question for you, I am recording in mvc, when users fill the table, it assigns records to the database, there is no problem in this part, but when it comes to reporting, there is a problem, I cannot properly pdf the…
How to insert new,update, delete existing record in single row of gridview
I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…
Microsoft.Maui.ApplicationModel.FeatureNotSupportedException for PhoneDialer and EmailMessage
I am getting below exception for PhoneDialer and EmailMessage features. Microsoft.Maui.ApplicationModel.FeatureNotSupportedException: Specified method is not supported. at…
Microsoft (R) Visual Basic Compiler asking the upgrade the version.
We are trying to Execute SSRS report using rs.exe and will store result in CSV file. For this We have prepared (.rss) file, and executed from command prompt with following command. rs -i filename.rss -s https://server_name/ReportServer -v…
Can I use global interactivity along with per page interactivity in same project of .net 8 blazor web app ?
I have created a blazor web app application and I want to use global auto render mode along with per page interactivity mode in same project, is it possible ?
Publish Azure Windows app service time charge very high
When trying to publish an application with Microsoft Visual Studio, it gets stuck on the loading page. I have installed Azure deployment and reset my internet connection, which is good. What can I do?
publish app in mac
Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…
Problem in bitmap to vector image converter
Hi, I want to make an app that converts a bitmap image to SVG format. Below you can see my code: @page "/" @using Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file"…
Not seen mac simulator
Hi, I installed vs code, xcode , and open new maui project and run it. It is not running, do i need to config ant simulator , I want mac simulator. Thw error is on missing android simulators & sdk. How is sone? Thanks,
How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually
I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…
Get all drives in MAC ?
Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,
How to fix build errors that I am getting currently when I convert my .NET MAUI [ sdk 6 version] to .NET 8 version?
I am currently in a process of converting my MAUI project which is in .NET 6 version to .NET 8 version. I have used Microsoft's .NET upgrade assistant extension tool for the same. After successful upgrade, when I try to build/rebuild my project, I am…
How to reproduce the UI control from mock-up using wpf?
Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. <UserControl…
How to configure virtual directory correctly with right permission on Visual Studio to serve Blazor Standalone frontend
I'm currently managing a .NET 6 Blazor standalone application that utilizes WebAssemblyHostBuilder. For deployment, the application is configured to operate under a virtual directory, enabling it to be accessed via a subpath (e.g., test.fr/subpath1/).…
REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…