Content
How can I select and display different images using a single fileupload control?
I have a fileupload control and about 2 to 3 image controls. I want to be able to use this fileupload control to upload images and display them in their respective image controls. For example, if I click on the fileupload, it will take me to my local…
Razor Visual Studio Syntax Highlighting is no longer working
Hi I updated my visual studio to begin working with .NET 8. However, in doing so the syntax highlighting on my .razor pages has stopped working. Any advice on how to resolve this?
While using a Task with Async and using an await operator, I still get a warning that I need an await operator. Please help
namespace TaskWithReturnComplexTypeValue { class Program { static void Main(string[] args) { SomeMethod(); Console.ReadKey(); } private async…
Bug with BigInteger.Parse?
I am converting some TypeScript to C# on NET 8 and have come across what I believe is a bug with BigInteger.Parse. Since 99.9% of the time "I found a bug in the language/compiler/runtime" turns out to be false, I would like a sanity…
I cant Sign in using Asp net core identity : PasswordSignInAsync
Hello, im using a .net core Web app with angular , and i want to create an Authentiation Form , so i have this Code My problem is : IsAuthenticated is always False , si i cant Sign in but i tried Postman , and it worked :
Suddenly throwing The name 'nameof' does not exist in the current context
Hi, Why my app suddenly throwing the below error: /Users/jassim/Projects/MyApp/MyApp/Microsoft.Maui.Controls.SourceGen/Microsoft.Maui.Controls.SourceGen.CodeBehindGenerator/Mobile_MemberDetails.xaml.sg.cs(67,67): Error CS0103: The name 'nameof' does not…
MAUI -- Another user has already installed an unpackaged version of this app. The current user cannot replace this with a packaged version.
I'm running into an issue with a commercial Maui app I'm working on. Essentially, we have multiple developers working on this application over RDP, none of which have administrative privileges. What happens is that when one user builds and debugs, anyone…
Effects not working in .net MAUI
Hi Team, I am working on migrating Xamarin forms application to .NET MAUI. As part of the migration, I am re using the effects in .net MAUI. I am adding the effects to the Label to set FontWeight. This is not working in MAUI, working in Xamarin. When…
VerticalScrollThumbDrawable for APIs less than 29
Hi , I wanted to access VerticalScrollBarThumbDrawable for API levels less than 29 , i noticed that in the document i could see that it is accessible only from API 29 , how do i access it for APIs lesser than 29?…
Change bootstrap navbar menu item color only if there is a valid link, using ASP Menu
Am unable to change the color of the menu item that do not have valid links in the sitemap datasource. I have this css which works fine but it set the color when hover for any item in the navbar. .navbar-nav > li > a:hover, .navbar-nav > li…
entity frameowrk
hi iam using dotnet 6 iam new to dotnet can any one tell me is there any way to enable lazy loading for certain queries in dotnet6 s currently enabling globally working its not giving too much improvement in performance and memory use and and also want…
How to Make online admission form in asp.net
I want to make a online admission form for inviting online application for exam/test from students . The form/page will contain the following fields Name category Father Name Mother name Parent Annual Income Present Address Correspondance Address Email…
how to pass a value from a database field or TextBox via <input value=> tag
I want to use the <input> tag to pass a string to another site/app. I've already managed this with two other webpages but in both cases the value is taken from a fixed list of values from a radio-button list. In this scenario I want to pass the…
How do I Maximize the Windows Screen in a .NET MAUI App
I want my .NET Maui app to run as a Mazimized window. How do I accomplish this? I tried using this code but it wants a DLLImport code? Microsoft.Maui.Handlers.WindowHandler.Mapper.AppendToMapping(nameof(IWindow), (handler, view) => { #if…
.NET 6+, typed HttpClient HttpMessageHandler not fired
I am facing similar issue like mentioned here: https://learn.microsoft.com/en-us/answers/questions/588289/typed-client-addhttpmessagehandler-not-firing I created a brand new project and it contains WeatherForecastController with a HttpClient injected.…
Shimming custom renderer for a content view, getting stuck
During my migration to MAUI from Forms, I am having trouble migrating a custom renderer that I use to interact with the camera on iOS and Android. Of course I had my simple CameraModule : ContentView in the Forms project, which was then rendered on…
VS 2022 unable to run .NET 6.0 project/ Unable to installing missing framework .net 6.0
Hello I have installed VS 2022 Professional that came with .NET 8.0 installed. I am trying to run the code built on .net6.0. For this, I am assuming I have properly installed .net 6.0 because I can see folder .net 6.0 in C:\ Program…
WebResource.axd not found
Good morning everyone, I transferred my domain to another provider and I discovered that the various RequiredValidators no longer work, the postback still starts when the button is pressed. Inspecting the browser console I get the error that the…
The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly
Hi, I am trying to convert a .NET website called iqworks.com to a .NET web application called iqworksWebApp. I created iqworksWebApp as a web application and copied the folders from a folder called iqworks.com (that’s to folder name). it builds ok,…