How to make an int field named UserID as the primary key in AspNetUsers table in Asp.Net Core 6.0 MVC
I am implementing Asp.Net Core Identity on an existing legacy website. I have created the Identity tables using migrations. The legacy database has a table named Users which was used for the logging. I have replaced the Users table with the AspNetUsers…
Need help with DataGridViewComboBox and selecting the next control
I need some help to achieve some functionality in a DataGridView. This Windows app is written in C# using the Windows Form App (.NET Framework). The DataGridView uses a mix of DataGridViewTextBoxColumn & DataGridViewComboBoxColumn. The need is to…
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…
Mixing net standard and visual c++
Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…
How to resolve "An unhandled error has occurred. Reload 🗙" in Blazor application?
I am encountering this error consistently while executing my Blazor file. I reinstalled Visual Studio in case of missing files, but it did not work. I also tried creating Blazor files both from CLI and VS, but the error persists.
.net maui grouping code throws cast error.
I'm converting a Xamarin app to .NET Maui. I'll be needing the .NET page to ( stating all desired functions in case a different grouping code is needed ) group by sector ( optional , Sort and or filter maybe added later-- I'll settle for grouping…
Decoder ran into invalid data problem on .net maui ios?
Hello, I am using .net maui to build a mobile application for android and iOS. An asp.net core is used for the backend. As of recently I started receiving an issue when retrieving data from all of the API endpoints - with the error being - Decoder ran…
IAsyncEnumerable is not continally streams Duplex code-first gRPC
Hi, I've finally confirmed, what is my issue. [ServiceContract] public interface ISharedContract<DTO> where DTO : class { [OperationContract] IAsyncEnumerable<GetListResponse<DTO>>…
probleme mise a jour windows server 2019
bonjour, j'ai un probleme de mise a jour sous Windows Server 2019 mon serveur de domaine apres l'installation des mise a jour , j'ai recu deux messages d'erreurs j'ai besoin de votre aide svp 1- 2023-09 Mise à jour cumulative pour .NET Framework 3.5,…
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.
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,
is possible to wrap an instalable App package for iPhone like .apk file for android?
I have developed a proof of concept App with .NET MAUI and it works ok with Android and i can build an instalable .apk package to deploy the app in Android smartphones. My boss has an iPhone and wants to try the app in it. Ive borrowed an AirMac to build…
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.
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 get specific image coordinates from within bitmap
hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image
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…
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…
EF Core doesn't recognize many-to-many relationship
I have a many-to-many relationship, altough EF Core seems not to recognize it. The relationship exists between JobOffer and JobOfferTag. JobOffer inherits from BaseJobOffer. BaseJobOffer.cs public class BaseJobOffer { [Required] …
framework realated question
what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames
I need the best way to host my aspx.Net website.
Vb.net website / Aspx.Net