23,728 questions with .NET-related tags

Sort by: Updated
1 answer

How to exit from this function

Hi, How to exit from : public async Task Execute(IJobExecutionContext context) { return; }

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
asked 2024-04-16T12:19:39.4666667+00:00
דני שטרית 2,666 Reputation points
answered 2024-04-16T12:47:16.06+00:00
Viorel 111.5K Reputation points
2 answers

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,327 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
commented 2024-04-16T12:40:01.45+00:00
Sgcino Ngema 0 Reputation points
1 answer

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,817 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 21 Reputation points
commented 2024-04-16T12:34:24.77+00:00
Prash 21 Reputation points
0 answers

how to check user data

Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,238 questions
asked 2024-04-16T12:33:55.6866667+00:00
RAVI 896 Reputation points
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,129 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
commented 2024-04-16T12:18:22.62+00:00
SurferOnWww 1,906 Reputation points
0 answers

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
256 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 0 Reputation points
commented 2024-04-16T12:06:46.36+00:00
Hiran Desai 0 Reputation points
0 answers

How can i get current user groups from Azure AD using claims in dotnet core?

I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,129 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,806 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,327 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
edited the question 2024-04-16T10:57:50.8533333+00:00
Tomar, Abhishek 6 Reputation points
0 answers

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

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

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,129 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,238 questions
asked 2024-04-16T05:30:39.0866667+00:00
Surya Chandra Mohan 0 Reputation points
edited the question 2024-04-16T10:38:36.79+00:00
Surya Chandra Mohan 0 Reputation points
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,178 questions
asked 2024-04-10T20:42:05.4866667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-16T10:23:36.7833333+00:00
fatih uyanık 80 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,327 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
edited a comment 2024-04-16T10:17:46.2666667+00:00
AgaveJoe 26,181 Reputation points
0 answers

need to render a page to another through loginform

Register.cshtml @page "/register" @using FaceAdminWebApp.ViewModels @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } <h1>Register</h1> @if (Model.IsPhoneNumberPresent) { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,129 questions
asked 2024-04-16T10:09:07.4733333+00:00
Nandini S 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,129 questions
asked 2024-04-16T05:14:18.7833333+00:00
Nandini S 20 Reputation points
commented 2024-04-16T10:07:55.9866667+00:00
Brando Zhang-MSFT 2,716 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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,823 questions
asked 2024-04-10T10:21:06.85+00:00
דני שטרית 2,666 Reputation points
accepted 2024-04-16T10:05:22.3633333+00:00
דני שטרית 2,666 Reputation points
3 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,823 questions
asked 2022-10-21T03:09:00.747+00:00
hm w 11 Reputation points
answered 2024-04-16T09:53:14.43+00:00
Thabo mashaba 0 Reputation points
0 answers

How to update MAUI workload to latest (8.0.20)

How do I update my .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 0 Reputation points
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,823 questions
asked 2024-04-15T06:10:45.9+00:00
Bhuwan 596 Reputation points
commented 2024-04-16T09:48:06.9133333+00:00
Bhuwan 596 Reputation points
0 answers

OpenIdConnect with request object

Version: .net 6.0 Our idp now requests that all new authentication implementations use oidc request object method instead of query parameters. I have gotten the request object itself and signing it with our private key to work correctly and the idp…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
asked 2024-04-11T13:37:58.3+00:00
Tommi Koponen 0 Reputation points
commented 2024-04-16T09:47:07.71+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Add Validator in Blazor

I want Location text box to accept only alphabets both cases,number and comma 1)a-z 2) A-Z 3) 0-9 4) comma(,) So Location can be like 125 Harkness Ave,Pasadena or London,Ontario Location shouldnt accept %![ etc. Please suggest how do I add Validator in…

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
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-12T18:16:54.3033333+00:00
Maui Learner 420 Reputation points
accepted 2024-04-16T09:24:50.7966667+00:00
Maui Learner 420 Reputation points
1 answer

How to use. net8 for VS2022 for Mac? I only have. net6 and. net7 options, but I have installed the. net8 package locally. Thank you for your help!

How to use. net8 for VS2022 for Mac? I only have. net6 and. net7 options, but I have installed the. net8 package locally. Thank you for your help!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-15T12:40:46.0233333+00:00
于晏 彭 0 Reputation points
commented 2024-04-16T08:46:06.5533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
0 answers

How to make .aar workable in maui project ?

Hi all, I am trying integrate a android native sdk into maui, Made a project with Android Java Library Binding, By looking into the docs. But after that total of 3 error are occuring. 1. The type or namespace name 'ProgressStateEventArgs' does not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-15T13:20:13.0366667+00:00
Manu Michael Samuel 131 Reputation points
commented 2024-04-16T08:40:51.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor