23,721 questions with .NET-related tags

Sort by: Updated
1 answer

Maui app crach

Hi, App fall after runing one week, what is the reason ? Fault offset: 0x00000000000fc1b9 Faulting process id: 0xf34 Faulting application start time: 0x01da8671c6d536eb Faulting application path:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
asked 2024-04-10T10:21:06.85+00:00
דני שטרית 2,646 Reputation points
answered 2024-04-16T08:10:28.29+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
2 answers

When running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator, an error is reported: Error adding record: MissingEntity

An error is reported when running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator. The error is [Error adding record: MissingEntitlement]. Is this not a permission in IOS? How should it be set?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
asked 2022-10-21T03:09:00.747+00:00
hm w 11 Reputation points
commented 2024-04-16T08:09:59.2033333+00:00
UnreachableCode 0 Reputation points
1 answer

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-16T07:56:50.99+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
0 answers

How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"

I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 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,177 questions
asked 2024-04-16T07:51:34.15+00:00
晅晢 廖 0 Reputation points
0 answers

internal error in the .NET Runtime at IP 70DE92C3

Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"

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,177 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,117 questions
asked 2024-04-15T16:08:52.4566667+00:00
Tom McKeown 0 Reputation points
edited the question 2024-04-16T07:26:42.7633333+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,127 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,237 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,177 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
291 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 20 Reputation points
accepted 2024-04-16T07:21:19.3+00:00
RASHMI GUPTA 20 Reputation points
2 answers

how to render razor page to another based on provide logic to login

<MudPaper Class="px-6 pb-8 pt-3 rounded-t-0"> @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="@(new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode })" /> } else { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,127 questions
asked 2024-04-16T05:14:18.7833333+00:00
Nandini S 20 Reputation points
edited an answer 2024-04-16T07:10:14.31+00:00
Brando Zhang-MSFT 2,716 Reputation points Microsoft Vendor
0 answers

How to render a razor page to another razorpage based on its conditions to login

<RegistrationForm LoginModel="new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode}" /> } else { <RegistrationForm /> } </div> <RegistrationForm LoginModel="@(new OtpRegisterVm { Username =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,127 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,237 questions
asked 2024-04-16T05:30:39.0866667+00:00
Surya Chandra Mohan 0 Reputation points
edited the question 2024-04-16T07:03:45.6033333+00:00
Surya Chandra Mohan 0 Reputation points
0 answers

How can pass from Datatable Data To Controller IActionResult

I want to insert some data from my datatable into another table. The checked data in my datatable is the result of the controller's action through I ajax I want to send array as parameter. Thanks in advance for your help. var table =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,127 questions
asked 2024-04-16T06:59:10.3266667+00:00
jewel 681 Reputation points
0 answers

Getting the following error when deploying a Blazor Server App using Deployment Center: Azure Repos

error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. My application runs fine locally and was…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 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,372 questions
asked 2024-04-15T17:46:24.84+00:00
Fin Watling (student) 0 Reputation points
commented 2024-04-16T06:49:49.88+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
0 answers

Entry UnFocused Event not trigger after change value

After changing the value of an entry, the 'Entry Unfocused' event does not trigger, nor does it trigger when clicking on any other page after changing the entry value. please provide me any solution or any patch to fix this issue.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
asked 2024-04-15T06:10:45.9+00:00
Bhuwan 596 Reputation points
commented 2024-04-16T06:25:12.0833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
1 answer

How to implement layered architecture?

Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…

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,663 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,177 questions
asked 2024-04-10T20:42:05.4866667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-16T06:04:08.1766667+00:00
Hui Liu-MSFT 36,571 Reputation points Microsoft Vendor
0 answers

How to Make Span Text/content Wrapped if it exceeds?

Here if my account number exceeds the numbers from last get cut/disappear. So I used LineBreakMode to WordWrap in label but this is also not working here. <Label FontFamily="InterstateRegular"> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
760 questions
asked 2024-04-15T09:49:12.2+00:00
Pratap Singh, Ayush 20 Reputation points
commented 2024-04-16T05:44:37.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,761 Reputation points Microsoft Vendor
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 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,177 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 201 Reputation points
edited a comment 2024-04-16T05:12:08.11+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
1 answer

iOS Splashscreen not showing up

I am upgrading a Xamarin.Forms project to MAUI. I have a splash.png image in the Resources\Splash folder. It is 414x720 in size. I have the correct entries in the project file as shown on this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
asked 2024-04-15T21:54:03+00:00
Tony Pitman 20 Reputation points
answered 2024-04-16T03:50:51.08+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
1 answer

Not Able to use the keyboard on Android 14

Android application type Xamarin.Forms application Xamarin.Android application Affected platform version Android 14 Emulator (pixel 7 pro)   Unaffected platforms tested Android 13 emulator(pixel 5), Android 9 emulator(pixel 2), Android 14 Device (Samsung…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
asked 2024-04-15T13:57:29.2866667+00:00
ManojKumar 0 Reputation points
answered 2024-04-16T02:58:28.6333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,761 Reputation points Microsoft Vendor
3 answers

what is the best way to store documents in asp.net application

I am developing asp.net application. i want to store documents some where in the file server folder or in the database. if i use binary option in sql server table for storing the documents, Is it good way to manage file in SQL server..? or shall i use…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,237 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.
12,603 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,177 questions
asked 2024-04-15T12:28:39.9233333+00:00
Gani_tpt 1,466 Reputation points
answered 2024-04-16T02:55:11.3066667+00:00
Lan Huang-MSFT 25,231 Reputation points Microsoft Vendor
1 answer

Could not load file or assembly "System.Runtime" on Windows Server

I migrated a WPF project from .NET Framework to .NET 6 which builds fine on my local system (windows 11). However when I moved forward to Azure pipeline, we got this error and it can be replicated on a Windows Server 2022 VM. There are multiple .NET…

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,663 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,049 questions
asked 2024-04-12T21:44:36.36+00:00
zhangjinzhou 20 Reputation points
edited a comment 2024-04-16T02:38:26.3733333+00:00
Michael Taylor 47,471 Reputation points
1 answer

ContentView as CollectionView's ItemTemplate with custom Command

Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,822 questions
asked 2024-04-15T14:45:48.2866667+00:00
Matteo Pozzato 96 Reputation points
answered 2024-04-16T02:35:34.0266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,631 Reputation points Microsoft Vendor
1 answer

How to Fix: Applications .exe Fail to Start by Kernelbase.dll error

Hi all, I have encountered an issue as follows: The exe application I developed, when used with Windows 10 for a while, cannot be opened anymore. When I checked the Event Viewer, I saw an Application Error with KERNELBASE.dll. The detailed error is as…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,538 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 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,177 questions
asked 2024-04-16T02:16:36.7433333+00:00
Roy Nguyen 0 Reputation points
answered 2024-04-16T02:25:50.0933333+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor