how to turn on/off console window from code in WPF app?
I have learned that using the following code in csproj to control the console window displaying. <!--no console--> <OutputType>WinExe</OutputType> <!--with console--> <OutputType>Exe</OutputType> Is it able to…
net maui windows platform how to remove collectionview multiple selection mode checkbox?
net maui windows and mac platform how to remove collectionview multiple selection mode checkbox? Thanks
AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once
I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…
Blazor EditForm Submission Issue: modeltodoTask Empty on Submit
I fill in the modeltodoTask objects with Editform and send them to the "AddTask()" function, but when I check the data before adding them, they are all empty. 1-) modeltodoTask.Text= must be the value to be filled in the form. 2-) I want the…
What is the value of using RenderMode.InteractiveServer?
Hi; I don't understand the value of this. And the Blazor team is smart which means this is something worth the effort. So I'd like to understand the value in it so I use it when appropriate. At present I am using (code first created in .NET 6, now using…
Erro o SDK 'Microsoft.NET.Sdk.Web' especificado não pôde ser encontrado.
Eu não sei o que exatamente está acontecendo porém quando eu tento rodar essa aplicação no linux, vai tranquilamente, mas quando eu tento usar o visual studio no windows eu recebo esse erro: Erro o SDK 'Microsoft.NET.Sdk.Web' especificado não pôde ser…
Is there a trick to getting Android emulator to debug correctly??
I have the "isn't responding" error way too much. When it occurs VS and the emulator have basically stopped working together. I have a button that closes the app with the code : private void closeApp(object sender, TappedEventArgs e) …
SignInScheme vs. ForwardSignIn - what's the difference?
I've been watching a couple of videos on YouTube with Raw Coding on the subject and he always uses SignInScheme to redirect from one scheme to another when the external authentication has happened (using the first scheme) to use the second scheme to set…
Net Maui Platform Windows How to display Collectionview with span listing according to Screen Width ?
Net Maui Platform Windows How to display Collectionview with span listing according to Screen Width ?
How to separate out Identity server in a separate library to manage authentication of a user for multiple API projects in the application?
Suppose a solution has multiple different API projects so instead of re-writing the Authentication and authorization with an Individual user account (Identity Server) approach can we create a single library containing Identity server logic and use this…
Error Cannot insert explicit value for identity column in table when IDENTITY_INSERT is set to OFF
I work with Entity Framework Core 7 and ASP.NET Core using Razor pages. I get an exception when trying to insert data from Entity Framework Core into the SQL Server table ZebraSubPrinters: SqlException Cannot insert explicit value for identity column in…
Blazor .net 8 Cannot access a disposed context instance
Hi my project is blazor .net 8 and use syncfucion data grid but when user click on pager grid continuous (when click on pager number call service to get data by page number in repository show this error : **Cannot access a disposed context instance. A…
Callback URL scheme not working with WebAuthenticator for Xamarin app with Azure portal reg.
Hi, I am trying to authenticate my Xamarin app with Azure authentication. I am using Xamarin Essentials WebAuthenticator class for this. I have registered my app on Azure, and also added iOS platform var url = new…
How to smartly detect Inactive user session in Blazor app and perform session timeout?
I am working with the Blazor Web Assembly Project with Individual user account (Identity server) based login/ logout. I have not configured a custom token it's just a basic Blazor app with individual accounts. So, the project default structure was…
Bluetooth Plugin.Ble not showing any device.
I am using visual studio 2022 Maui, installed latest update and bluetooth Plugin.Ble ver 3. Also added all permission #if ANDROID public override (string androidPermission, bool isRuntime)[] RequiredPermissions => new List<(string Permission,…
How to save page load performance in blazor when navigating from one page to other in new tab?
If a Blazor app with Individual user accounts is created then if we open a new line user Authorization is performed again which impacts the performance and page load. for example: if we show a document anchor tag, then if that anchor opens in a new…
When will .NET 8 (Early Access) be available on Azure Government?
Currently .NET 8 (Early Access) is available on Azure Commercial. I like to know when will .NET 8 (Early Access) be available on Azure Government App Service?
forms and core 8 MVC
hi all, I am looking for an explanation on how to implement the following: a form with two input text fields; at the click of the submit button, the form will post the resulting few fields from a table record matching the two submitted values. Right now,…
Template Not Usable in VS2022 after Update
After VS 2022 updated, using an exported template will not build without errors. One error is " (are you missing an assembly reference?)", yet in the references it is there. This problem happened in the past with VS2022 before the update, but…
Native control
Hi, I'm migrating my existing Xamarin app to MAUI. I have read over the article about the handler/mapper architecture and successfully created a mini project to apply that concept. Back to my company project, we have something like this. I believe this…