23,718 questions with .NET-related tags

Sort by: Updated
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,821 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,521 Reputation points Microsoft Vendor
0 answers

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

Blazor syntax- @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="@(new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode })" /> } else { <RegistrationForm /> Razor syntax- <div…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,126 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-16T06:18:12.55+00:00
Surya Chandra Mohan 0 Reputation points
0 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,126 questions
asked 2024-04-16T05:14:18.7833333+00:00
Nandini S 20 Reputation points
commented 2024-04-16T06:16:04.6566667+00:00
Brando Zhang-MSFT 2,716 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,175 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,821 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,461 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,175 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,521 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,821 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,521 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,461 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,601 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,175 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,821 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,537 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,175 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
1 answer

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,816 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
edited the question 2024-04-16T02:13:57.6666667+00:00
Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
0 answers

What is the max timeout for an API HTTP request in an Azure App Service Web App?

I have a NET 6 API deployed in a Web App in an Linux App Service plan with a P0v3 pricing plan. I would like to know the maximum timeout of a HTTP response because I have an endpoint whose execution time is currently of 20 minutes and would like to know…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,126 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,790 questions
asked 2024-04-15T16:29:48.36+00:00
Armando Cons Robles 0 Reputation points
commented 2024-04-16T01:40:49.87+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 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,663 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
edited the question 2024-04-16T01:29:55.8666667+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can I change the splash screen when run it?

in android MAUI when I run the APP and will get data from server and I will get one image how to set the image to splash screen then I next open the APP it can show in the slpash screen?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-04-11T11:15:15.4+00:00
mc 3,621 Reputation points
commented 2024-04-16T01:22:45.0433333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,631 Reputation points Microsoft Vendor
0 answers

Edit directly in Grid on WEB Page in Razor

I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,126 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
edited a comment 2024-04-16T00:39:44.74+00:00
SurferOnWww 1,906 Reputation points
1 answer

is waiting for the debugger to attach error

Hello, I have installed Visual Studio Enterprice 2022 Preview 17.10.0 Preview 1.0, I also have the xamarin components. When debugging my Xamarin application I get this error and I don't know how to remove it "is waiting for the debugger to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
asked 2024-04-13T17:24:52.4533333+00:00
Salomon Cardos Uc 0 Reputation points
edited an answer 2024-04-15T23:41:19.1033333+00:00
Bruce (SqlWork.com) 54,621 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

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-11T23:07:09.2+00:00
David Thielen 2,231 Reputation points
edited a comment 2024-04-15T23:12:49.8666667+00:00
Bruce (SqlWork.com) 54,621 Reputation points
1 answer One of the answers was accepted by the question author.

Looking to remove underline from Android Entry and Pickers in .NET Maui

I need to remove the underline in my .NET Maui application for entry and picker handlers. In addition to this, I need to set the background color to a custom color that I have. I have found ways to set the background color to transparent to remove the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-04-08T18:00:56.82+00:00
Isspro-eng 20 Reputation points
accepted 2024-04-15T21:01:02.3866667+00:00
Isspro-eng 20 Reputation points