24,613 questions with .NET-related tags

Sort by: Updated
0 answers

Passing another parameter from Index.cshtml to ActionResult Index in StudentsControler.cs

I am able to pass a Search string and a Sort string parameter from Index.cshtml to ActionResult Index in StudentsControler.cs. I have added 3 button and need to pass either True if button1 or False if button2 or NULL if button3. It is much like Search…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,384 questions
asked 2024-06-22T05:07:37.38+00:00
Hursh 131 Reputation points
edited a comment 2024-06-22T08:22:24.8366667+00:00
SurferOnWww 2,176 Reputation points
0 answers

My CollectionView not update ItemSources ussing MVVM?

Hi, my name Liem! I using CommunityToolkit.MVVM for my NET MAUI project. I have success load data to CollectionView by binding ItemSource to [ObservableProperty] ObservableColleciont<T> Items. Now I use for loop to change item properties inide…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,078 questions
asked 2024-06-22T08:08:36.86+00:00
Liem Nguyen 11 Reputation points
2 answers

How to close Bootstrap modal in Blazor WASM?

Hi, In my Blazor WASM (.net 6) application, I am displaying a modal popup as follows. <!-- Modal --> <div class="modal fade bg-transparent" id="templatemo_search" tabindex="-1" role="dialog"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 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,459 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,521 questions
asked 2024-06-21T19:34:00.18+00:00
Cenk 981 Reputation points
commented 2024-06-22T03:55:28.4166667+00:00
Cenk 981 Reputation points
1 answer

How to connect Access Database to a VB.Net project in VS 2022 using .Net 8.0?

Hi All, I am trying to use .Net 8.0 in Visual Studio 2022; I am unable to use Access Database; the usual way of adding "Data Sources" is not available ( I have been using .Net Framework 4.5 for my projects without any difficulties.) I used the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,544 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,636 questions
asked 2024-06-20T18:51:16.6666667+00:00
VKSB 216 Reputation points
commented 2024-06-22T03:45:13.6833333+00:00
KOZ6.0 6,210 Reputation points
0 answers

Develop an ASP.NET Core web app that consumes an API - NO SCORE AT ALL

hi, after submitting my assessment score didn't show after, that was my third attempt. Microsoft Credential task: "Develop an ASP.NET Core web app that consumes an API".

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
14 questions
asked 2024-06-21T03:01:09.4366667+00:00
David Jugeli 0 Reputation points
edited the question 2024-06-22T03:37:19.73+00:00
Pradeep M 1,135 Reputation points Microsoft Vendor
3 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.' model was null

model { public int VehicleID { get; set; } public int VehicleTypeID { get; set; } public string Brand { get; set; } public string Model { get; set; } public int Capacity { get; set; } = 0; public bool IsActive { get; set; } } controller //…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,544 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,786 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
914 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,521 questions
asked 2024-06-21T09:37:52.91+00:00
Naveinthiran 0 Reputation points
commented 2024-06-22T03:14:03.6933333+00:00
SurferOnWww 2,176 Reputation points
2 answers

validate antiforgery token genereted by aps.net mvc framework and used in back for front (BFF) api .net core when ajax called

Hi, there, I would like to validate an "antiforgery token" generated on an asp.net mvc framework application hosted on IIS in a BFF .net core API (back for front) hosted on Kestrel Linux with the ValidateAntiForgeryToken attribute. When I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,384 questions
asked 2024-06-21T11:44:44.45+00:00
Pierre Guillaume 0 Reputation points
answered 2024-06-22T02:14:43.85+00:00
SurferOnWww 2,176 Reputation points
0 answers

Getting "Value does not fall within the expected range." on a call to EventWaitHandle.WaitAll(WaitHandle[], Int32)

In my code I make a call (from an MTA thread) to EventWaitHandle.WaitAll(WaitHandle[], Int32) and get the exception: "Value does not fall within the expected range." All the handles in the array (three of them at this time) are non-null, valid…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,544 questions
asked 2024-06-22T00:29:01.43+00:00
Kamen 45 Reputation points
commented 2024-06-22T01:50:58.2566667+00:00
Viorel 114K Reputation points
2 answers

Cancellation Token signal not being received by the application code

looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://learn.microsoft.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,384 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,521 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.
312 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,204 questions
asked 2024-06-20T19:01:11.7333333+00:00
Michel Fornaris 0 Reputation points
answered 2024-06-22T01:16:34.5866667+00:00
SurferOnWww 2,176 Reputation points
3 answers

Issue with View ActionResult on Button Click in MVC 5

The following code works fine and display student enrollment records on the page. Right before the table element, I have 3 buttons to filter out records based on the button that was clicked. In the controller, I added a function "IsEnrolled". …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
asked 2024-06-21T05:39:46.3533333+00:00
Hursh 131 Reputation points
commented 2024-06-21T22:21:31.6166667+00:00
Hursh 131 Reputation points
0 answers

How do you use the 26100 SDK with .NET?

Using the latest visual studio, all current updates, build system is OS version 22621, deploying to OS version 26100. 26100 SDK is installed from Visual Studio installer. Create a blank "WPF Application" project from Visual Studio Target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,544 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,700 questions
asked 2024-06-21T20:42:25.8866667+00:00
yoyodyne01 46 Reputation points
edited the question 2024-06-21T21:49:48.8233333+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
4 answers

.NET8 MAUI and Azure Notifications Hub implementation

In my NET8 MAUI application, I'm trying to add push notifications using Azure Notification Hub. I can't find an updated example of how to configure and implement correctly the push notification for Windows, Android and iOS. Can you point me in the right…

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.
285 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,078 questions
asked 2024-02-03T10:33:24.31+00:00
Enrico Rossini 181 Reputation points
answered 2024-06-21T20:12:09.9366667+00:00
Sergio Alejandro Perez Molina 0 Reputation points
0 answers

Shell.Current.GoToAsync Failed with Error: java.lang.IllegalStateException: The specified child already has a parent.

In my ViewModel, I had a RelayCommand to send parameters to another page. [RelayCommand] public async Task ReviewIt() { // ... await Shell.Current.GoToAsync(nameof(ReviewItView), new Dictionary<string, object>{ ["key1"] = value1,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,078 questions
asked 2024-06-21T19:32:07.13+00:00
Fan Yang 0 Reputation points
0 answers

GoToAsync Failed With Java.Lang.IllegalStateException

In my ViewModel, I had a relaycommand to navigation another page: [RelayCommand] public async Task ReviewIt () { ... await Shell.Current.GoToAsync(nameof(ReviewItView), new Dictionary<string, object>{ ["key1"] = value1, …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,078 questions
asked 2024-06-21T19:12:56.94+00:00
Fan Yang 0 Reputation points
4 answers One of the answers was accepted by the question author.

How to design patterns from scratch using C# asp.net MVC

I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,544 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,384 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,521 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 236 Reputation points
accepted 2024-06-21T18:41:50.0666667+00:00
coder rock 236 Reputation points
3 answers One of the answers was accepted by the question author.

How to achieve key/value pair max accurately with simple string using c#

I have simple string value line which contain below content. logo Name raj mobile 9038874774 address 6-98 india bill auto generated Now I am trying key/Value pair to achieve my detail and the pair value output expecting like below [0] Key: Name …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,384 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,521 questions
asked 2023-11-16T21:05:40.3933333+00:00
coder rock 236 Reputation points
accepted 2024-06-21T18:38:51.3+00:00
coder rock 236 Reputation points
1 answer One of the answers was accepted by the question author.

How to achieve Named Entity Recognition (NER) using C# asp.net

When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark Zuckerberg is one of the founders of Facebook, a company from the United States” we can identify three types of…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,384 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,521 questions
asked 2024-06-18T09:45:00.54+00:00
coder rock 236 Reputation points
accepted 2024-06-21T18:37:17.86+00:00
coder rock 236 Reputation points
1 answer

Will MIP SDK be supported newer versions of .Net core?

Will MIP SDK be supported on newer versions of .NET core?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
asked 2024-06-21T12:54:31.7533333+00:00
Amaldas, Vimal (INFOSYS) 0 Reputation points
answered 2024-06-21T17:35:15.4833333+00:00
Bruce (SqlWork.com) 59,471 Reputation points
3 answers

Has the development of classic ASP been stopped at Microsoft side and if yes, when?

Dear Microsoft team, we have an application, which was developed with classic ASP. We have found the information, that ASP.NET is the successor of classic ASP. The question is, has the development of classic ASP been stopped at Microsoft side and if…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
asked 2021-05-10T11:31:17.533+00:00
Yauheniya Seliazniova 6 Reputation points
edited a comment 2024-06-21T17:28:01.5666667+00:00
Lex Li (Microsoft) 5,072 Reputation points Microsoft Employee
2 answers

Error running MAUI on iOS Device

Hi, I have just downloaded Visual Studio for Mac PRE 17.3 (Build 1038) but when I try to run the default MAUI app on iPhone device I get below error: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,078 questions
asked 2022-06-24T18:11:33.737+00:00
Jassim Al Rahma 1,541 Reputation points
answered 2024-06-21T17:18:47.6366667+00:00
Bruce (SqlWork.com) 59,471 Reputation points