.NET Core SDK on Mac
Hi, I have Mac computer. I install vs code. I installed .NET Core SDK 8 and got this error in vs code. The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info /bin/sh: dotnet: command not found /bin/sh:…
How to use localized RESX in Blazor WASM?
Hi, all I want is standard "old way" usage of generated static properties of my RESX to localize texts based on CultureInfo and .culture.resx files. I've just figured out, that only difference from .NET Framework is that now in .NET 8 culture…
How to make search text in ASP.NET dropdown controls
I have been developing ASP.NET application. some of the place i want searchable dropdown controls. the dropdown should search both numbers and name. How to do this...? example data as below. Cust.Name | Cust.Number Alfred K AXN29109 …
CheckBox renders as radiobutton in IOS
CheckBox renders as checkbox in Android. But this appears as radio button in IOS. I am using .NET MAUI for mobile development.
how to solve:An unhandled exception occurred while processing the request. SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Doctors_Users_UserId".
An unhandled exception occurred while processing the request. SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Doctors_Users_UserId". The conflict occurred in database "Diabetes2AppDb", table…
How to implement Google Authetication in Blazor Web app without Core Identity
I would like to use custom authentication without using out-of-the-box Core Identity in my Blazor Web App with Oauth authentication. I started the app using the template without using individual user account because we have our own registration and login…
image do not show in .net android?
I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .
My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce
My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.
RichTextBox Details
I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…
ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"
I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…
How to clear the account list in the Web Account Manager list of Accounts displayed by WAM Broker
I have a WPF desktop app that accesses an Azure WebAPI. It uses the MSAL library and when authenticating uses the WAM broker. When the list of accounts is displayed, there is an account of someone that used the computer once when I was logged on to the…
MAUI: What is the difference between GoToAsync() and PushAsync() to navigate between pages?
What is the difference exactly between using await Shell.Current.GoToAsync Route Relative/GoBack with (..) Single instance?? await Shell.Current.Navigation.PushAsync(Use NavigationPage) - similar to prism or Xamarin Forms…
How to get/read specific word from pdf or image document in ASP.NET Application
I have millions of image or pdf document...I want get some specific word from the uploaded image or pdf document...after getting this, I am going to use these in my project...All this I want in asp.net application and if any third-party tools are using,…
How to remove page navigation animation in .Net MAUI?
I am using Appshell for navigation. Appshell.Xaml.cs Routing.RegisterRoute(nameof(LoginPage), typeof(LoginPage)); In Viewmodel relay command i am call the below AppShell.Current.GoToAsync(nameof(LoginPage)); Animation is moving from left to…
Microsoft.Office.Interop.PowerPoint Load a file
Using Microsoft.Office.Interop.PowerPoint How to open file without using a path? I only have a byte array. I don't want to save the file locally because I already have the byte array and I cant save it locally since Im using outsystems. I have tried…
ErrorSystem.NullReferenceException: 'Object reference not set to an instance of an object.' Microsoft.AspNetCore.Mvc.Razor.RazorPage<TModel>.Model.get returned null.
Hello all, I really need your help. My Controller : using Hayashi.DataAccess.Data;using Hayashi.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using…
code object is not signed at all on .net MAUI
I am trying to debug my MAUI app on a real iOS device for push notifications. I have a remote mac connection to my mac book[Sonoma 14.5], Visual Studio 2022 [Version 17.9.7], Xcode [15.2] iOS Device[17.5] and no matter what I do I get this error : code…
Maui for Android simulate backspace button action
Hello All. in my app I want to simulate backspace button action manly I want when user hold the the button pressed to delete a character in every 300 milliseconds until the button released please how I do that. Thank you.
DataGridView column alignment header vs data
In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …
SQL Connectivity Issue From Cloud app to on-prem server
hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…