How to resolve CORS errors when running Blazor WASM alongside Blazor Server and ASP.NET Core Web API?
Hi, I have a solution having Blazor WASM, Blazor Server and Asp.Net Core Web API. When I try to run the applications, the Blazor server and API work without any problem but I get this error while running the WASM. Cross-Origin Request Blocked: The Same…
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?
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…
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…
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 …
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 retrieve the any table from SQL DB and display dynamically in one page in asp.net core
Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core
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…
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 bottom border on MAUI Navigation Bar
Hi on a navigation page, how to remove the bottom grey border on the top navigation bar?
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…
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. …
page not found
https://learn.microsoft.com/en-gb/Getting-Started-with-221c01f5?cdn_id=2013-12-16-001 from this page - quite a few - maybe run a dud link…
Server Error in '/' Application Web.config
HI I need this problem solution. If anybody have this solution then pls reply to it. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the…
How to create backend application using Asp.net C# Web API Core
How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…
Check for Tablet in .NET Maui
In my .NET Maui application , I can check for Android or Windows and create View based on that check, however, I want to create views for Tablets that are different than Android Phone. Here is my check so far. public partial class App : Application …
How to remove an unwanted autogenerated field in code-first migration of Asp. Net Core 6
I am working on Asp.Net Core 6.0 MVC. I have customized IdentityUser by inheriting and creating a new class, ApplicationUser. In this class, I have added my custom properties. My ApplicationUser doesn't have a field named EmailAddress1. However, I have…
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…
What is the correct way to upgrade dotnet SDKs for MAUI
Can someone tell me the proper way to upgrade .net? I have kept mine on an older version for a while now because it has been working with xcode 15.3 for me. Since it appears the issues with xcode 15.3 have been resolved in the latest version, I would…
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…