24,258 questions with .NET-related tags

Sort by: Updated
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,421 questions
asked 2024-05-26T09:22:59.9066667+00:00
Cenk 956 Reputation points
commented 2024-05-26T20:30:16.9933333+00:00
AgaveJoe 26,166 Reputation points
0 answers

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?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
601 questions
asked 2024-05-26T19:56:09.15+00:00
Raúl Gómez 0 Reputation points
commented 2024-05-26T19:57:43.76+00:00
Raúl Gómez 0 Reputation points
0 answers

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…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
97 questions
asked 2024-05-26T19:23:31.6466667+00:00
karen matungwa 0 Reputation points
commented 2024-05-26T19:36:04.12+00:00
P a u l 10,406 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
edited a comment 2024-05-26T18:44:19.6833333+00:00
Steve Andrews 0 Reputation points
1 answer

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 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
asked 2024-05-25T08:11:36.1666667+00:00
Gani_tpt 1,766 Reputation points
edited a comment 2024-05-26T18:07:13.8766667+00:00
Gani_tpt 1,766 Reputation points
0 answers

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,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,978 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,886 Reputation points
commented 2024-05-26T17:50:10.5633333+00:00
Dani_S 2,886 Reputation points
1 answer

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

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
asked 2023-04-02T16:30:01.65+00:00
phani sekhar 1 Reputation point
commented 2024-05-26T17:13:47.11+00:00
Hutty 0 Reputation points
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
asked 2024-05-25T07:53:00.6633333+00:00
Gani_tpt 1,766 Reputation points
commented 2024-05-26T16:48:18.26+00:00
Gani_tpt 1,766 Reputation points
1 answer

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,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
asked 2024-05-26T03:09:00.3533333+00:00
Gani_tpt 1,766 Reputation points
commented 2024-05-26T16:22:58.1833333+00:00
Gani_tpt 1,766 Reputation points
1 answer One of the answers was accepted by the question author.

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?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,978 questions
asked 2024-02-29T13:51:45.0333333+00:00
SSB 106 Reputation points
accepted 2024-05-26T11:34:04.7+00:00
SSB 106 Reputation points
0 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,978 questions
asked 2024-05-26T10:02:39.0233333+00:00
honggyu kim 0 Reputation points
1 answer One of the answers was accepted by the question author.

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. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
commented 2024-05-26T02:17:27.6766667+00:00
KOZ6.0 5,215 Reputation points
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
asked 2024-05-26T01:29:50.0533333+00:00
Roger 26 Reputation points
9 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,131 questions
asked 2022-08-04T18:02:00.54+00:00
Imtiaz Sami 6 Reputation points
commented 2024-05-25T23:53:49.69+00:00
Apocote 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 196 Reputation points
accepted 2024-05-25T23:32:50.21+00:00
coder rock 196 Reputation points
1 answer One of the answers was accepted by the question author.

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 …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,978 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
asked 2024-05-25T01:08:28.11+00:00
Fritz Switzer 241 Reputation points
accepted 2024-05-25T23:30:13.3333333+00:00
Fritz Switzer 241 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
asked 2024-05-25T21:59:47.9533333+00:00
Sherpa 181 Reputation points
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,242 questions
asked 2024-05-24T17:41:58.43+00:00
Sherpa 181 Reputation points
commented 2024-05-25T21:17:10.9133333+00:00
AgaveJoe 26,166 Reputation points
3 answers One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,978 questions
asked 2024-05-16T15:01:48.6366667+00:00
Tony Pitman 60 Reputation points
commented 2024-05-25T20:09:28.7033333+00:00
Bruce (SqlWork.com) 57,966 Reputation points
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,978 questions
asked 2024-05-24T10:11:03.05+00:00
Josete Llan 0 Reputation points
answered 2024-05-25T19:15:32.0166667+00:00
Bruce (SqlWork.com) 57,966 Reputation points