Microsoft Q&A

.NET

20,617 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,617 questions with .NET-related tags

Sort by: Updated
1 answer

Decimal price input is not a number

Good evening, I have started a new ASP.NET mvc project that works with EntityFramework. When I create a decimal Price (with Precision(18,2)) and generate a CRUD on it, the validation indicates that it is not a valid number with an input of 23,23. I…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
985 questions
asked 2023-09-24T17:42:33.1333333+00:00
Lyoon 0 Reputation points
commented 2023-09-25T05:03:44.8266667+00:00
Lan Huang-MSFT 17,806 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

.net maui fully custom splash screen

I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,148 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,846 questions
asked 2023-09-22T18:15:18.9866667+00:00
Haider Ali Faizi 40 Reputation points
accepted 2023-09-25T04:02:48.1133333+00:00
Haider Ali Faizi 40 Reputation points
0 answers

How to solve DOTNET-ISOLATED|8.0 has been deprecated as a language for Azure Functions

Migrated our previously working Azure Function from Isolated Net 7 to Isolated Net 8 (RC1) and it now fails with "Server Error. There was an unexpected error in the request processing." Diagnose and solve problems shows the following critical…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
584 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,433 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,557 questions
asked 2023-09-22T04:24:33.5866667+00:00
Lindsay Mathieson 0 Reputation points
commented 2023-09-25T03:57:53.0833333+00:00
navba-MSFT 4,605 Reputation points Microsoft Employee
1 answer

How to fix the 'An unhandled error has occured. Reload. x'

Because of this, i cant click nor navigate my components

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,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,846 questions
asked 2023-09-21T06:08:32.7733333+00:00
Neil Hyakkimaru 0 Reputation points
commented 2023-09-25T03:43:52.67+00:00
Neil Hyakkimaru 0 Reputation points
1 answer

Use a different Blazor project inside the MAUI application

Hi there, I'd like to use a different project (within the same solution) to be used inside a MAUI webview. The structure looks like: Solution Blazor application MAUI wrapper application The MAUI wrapper application should start the Blazor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,044 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,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,846 questions
asked 2023-09-20T18:24:09.8633333+00:00
Gerwim 0 Reputation points
commented 2023-09-25T03:27:27.3566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
1 answer

How to customize everyone Tab in TabBar

For example, I want create Shell with TabBar. BG of TabBar must be blue, and BG of Current Tab in TabBar must be orange. How can I do it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,846 questions
asked 2023-09-21T06:41:01.4666667+00:00
Иван Константинов 0 Reputation points
answered 2023-09-25T03:25:43.0033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor
1 answer

WPF 3D to 2D projection appears wrong?

Have a case where a point on the PerspectiveCamera’s LookDirection vector does not project to the center of the Viewport3D. Any thoughts as to why? Here are details of the case (all the values are rounded for brevity): The Viewport3D is 778, 405. Any…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,044 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,475 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.
8,963 questions
asked 2023-09-11T14:55:48.5633333+00:00
WoodManEXP 1 Reputation point
edited an answer 2023-09-25T03:17:03.0266667+00:00
Hui Liu-MSFT 21,376 Reputation points Microsoft Vendor
2 answers

How to Optimize Database Interactions in Entity Framework Core?

I am using Entity Framework Core for database interactions in my .NET application. I am seeking advice on optimizing database queries and transactions for better performance and efficiency. Any tips or best practices would be appreciated.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
584 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,044 questions
asked 2023-09-23T16:04:26.41+00:00
Kevin Beasley 0 Reputation points
answered 2023-09-25T03:11:48.04+00:00
Wenbin Geng 321 Reputation points Microsoft Vendor
1 answer

Printing panel on webform in a4 format

hello, how can I print the panel on the webform in A4 format?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,633 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,777 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.
8,963 questions
asked 2023-09-22T17:49:45.2966667+00:00
sahin kaya 0 Reputation points
answered 2023-09-25T03:10:08.4466667+00:00
Lan Huang-MSFT 17,806 Reputation points Microsoft Vendor
1 answer

How can I create a Complex View Like this one in WPF DataGridView C#?

I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1.       Employees Table which is the Parent Table in this Example. 2.…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,475 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,777 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,929 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.
8,963 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
commented 2023-09-25T03:09:00.6666667+00:00
Hui Liu-MSFT 21,376 Reputation points Microsoft Vendor
0 answers

Property not being set

Hi In my MAUI app I am calling OnItemTapped method from a command. I have implemented IsBusy logic in OnItemTapped to avoid it being executed again until it is done. At the end of OnItemTapped method I am setting IsBusy to false. However IsBusy…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,846 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.
8,963 questions
asked 2023-09-25T02:26:21.6533333+00:00
-- -- 796 Reputation points
edited the question 2023-09-25T03:01:24.7566667+00:00
-- -- 796 Reputation points
0 answers

How can I display a PDF file in MAUI?

I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui), and I have used the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,846 questions
asked 2023-09-21T04:30:21.89+00:00
韓 金倫 0 Reputation points
commented 2023-09-25T02:56:09.0133333+00:00
韓 金倫 0 Reputation points
2 answers

Runtime Error 424 when the module was running fine before.

Sub Report() Worksheets("Report").Activate Cells(41, 14).Select Dim baris, kira As Integer Dim Nama, ProperPath, Namafail As String baris = 41 kira = Cells(40, 17).Value Do While baris < kira + 41 Nama = Cells(baris,…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
907 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,042 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,833 questions
asked 2023-09-23T03:35:19.63+00:00
Chee Fong Cheng 0 Reputation points
edited the question 2023-09-25T02:16:26.3166667+00:00
Emi Zhang-MSFT 16,686 Reputation points Microsoft Vendor
1 answer

issue in opacity of the parent form and panel

Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,963 questions
asked 2023-09-23T11:43:45.1433333+00:00
Shaifali jain 200 Reputation points
commented 2023-09-25T02:16:24.83+00:00
Jiale Xue - MSFT 10,381 Reputation points Microsoft Vendor
1 answer

Opening the new form and closing the previous

Hi , In my project i am stuck at a point and can not figure out how to open a new form inside a panel of already opened form . So there is a form named father and it has a panel . i am using this panel to open all subsequent forms (children) . there are…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,963 questions
asked 2023-09-23T11:35:39.78+00:00
Shaifali jain 200 Reputation points
commented 2023-09-25T02:12:08.3566667+00:00
Jiale Xue - MSFT 10,381 Reputation points Microsoft Vendor
2 answers

Return values from a form

Hi , Which is the best technique to return values from a form and use that in another form . like using a variable or some other way . for example , i have a form with a textbox which returns a value . i want to use that value in the textbox of other…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,628 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.
8,963 questions
asked 2023-09-22T09:26:05.5166667+00:00
Shaifali jain 200 Reputation points
answered 2023-09-25T02:05:23.1033333+00:00
Jiale Xue - MSFT 10,381 Reputation points Microsoft Vendor
1 answer

Transfer the WebApi application to another PC, test it, without a development environment?

Hello, @AgaveJoe https://learn.microsoft.com/en-us/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-modules The target machine needs a host like IIS to host Web API. We have no idea how your…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,633 questions
asked 2023-09-24T16:42:14.5033333+00:00
Markus Freitag 3,361 Reputation points
edited the question 2023-09-25T01:17:33.2333333+00:00
Lan Huang-MSFT 17,806 Reputation points Microsoft Vendor
1 answer

Create a New Asp.Net Application Dialog Issue

I am unable to create an ASP.NET application on Net Framework 4.8.1 because the Create New Asp.Net Application Dialog does not show any option. I am using Microsoft Visual Studio Community 2022 (64-bit). Version 17.7.4 with Windows 11 Pro

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,777 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
985 questions
asked 2023-09-24T19:37:39.7+00:00
AHSAN ALI 1 Reputation point
answered 2023-09-25T01:15:23.3966667+00:00
SurferOnWww 1,136 Reputation points
1 answer

Setting XML Root XMLNS

Hi, Everybody! I need to create a Shipment XML root whose xmlns is the following fictitious XSD URL: http://api.company.com/schemas/api/company-api-vN.xsd. <?xml version="1.0"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,044 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.
8,963 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,042 questions
asked 2023-09-19T12:11:16.19+00:00
Julio Bello 201 Reputation points
commented 2023-09-25T01:10:36.29+00:00
Hui Liu-MSFT 21,376 Reputation points Microsoft Vendor
2 answers

Strategies for Implementing Real-Time Notifications in a .NET Blazor App?

I am developing a .NET Blazor application and exploring different strategies to implement real-time notifications. Can anyone share insights, recommendations, or resources on this topic?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,044 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,557 questions
asked 2023-09-23T15:56:24.41+00:00
Hugo Windsor 0 Reputation points
edited the question 2023-09-25T01:07:24.04+00:00
Jiale Xue - MSFT 10,381 Reputation points Microsoft Vendor