Microsoft Q&A

.NET

13,903 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

13,903 questions with .NET-related tags

Sort by: Updated
0 answers

Inserting row from control to table,then some time value getting null

I am inserting rows into table ,some time inserting null values from dropdownlist to table below is image. Code $(document).ready(function () { $("#Search_Prdno").change(function () { var prdno…

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.
7,491 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
715 questions
asked 2023-03-20T16:15:14.7533333+00:00
akhter hussain 2,781 Reputation points
0 answers

NET MAUI - MediaElement - Not playing Audio Files stored on Google Drive

Hi I am using MediaElement to play Audio Files (.mp4) that are stored on my Google Drive,. But this is failing with error: [0:] MediaManager: Error: Error codename: ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED, Error message: Source error The following is a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,055 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.
7,491 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.
596 questions
asked 2023-03-19T20:01:32.4066667+00:00
Riffy 266 Reputation points
commented 2023-03-20T15:50:03.7533333+00:00
Riffy 266 Reputation points
2 answers One of the answers was accepted by the question author.

Blazor Server SignalR capabilities

I have developed Blazor Server application. It is hosted on Azure, and I also created SignalR service that my app uses. Now the Standard plan for SignalR says: 1,000 connections/unit 1,000,000/Unit/Day 41.41 EUR/Month/Unit 0.84 EUR per million…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
871 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
80 questions
asked 2023-03-20T11:54:52.4966667+00:00
rokolab 0 Reputation points
answered 2023-03-20T15:41:29.8366667+00:00
rokolab 0 Reputation points
0 answers

HorizontalScrollView not Scrolling to Unrendered RecyclerView Items

I have a HorizontalScrollView that contains a RecyclerView. However, the HorizontalScrollView only lets me scroll far enough to see the items that are already or partially visible. I believe this is because RecyclerView does not render items until they…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
853 questions
asked 2023-03-19T23:16:52.9566667+00:00
Nathan Sokalski 4,051 Reputation points
commented 2023-03-20T15:37:33.2133333+00:00
Nathan Sokalski 4,051 Reputation points
0 answers

ASP.NET Core MVC : complex data model reading related data

I am trying to display a drop-down on my DEVICES create.cshtml view of the names from CONTACT via the lookup table DeviceAssignments, below is an ERD. I am already able to display the drops downs for DeviceCategories and DeviceLocations, but I am not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
476 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
715 questions
asked 2023-03-16T17:21:00.64+00:00
tjestesjr77 20 Reputation points
commented 2023-03-20T15:30:36.36+00:00
tjestesjr77 20 Reputation points
2 answers

How to add jquery or java script on blazor server side ?

I work on blazor server side .NET core 7 .i face issue i can't add jQuery code on my blazor application web app so can you please help me how to add jQuery to my web app by steps or image screen shoot if possible please ? i need to apply below jquery…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
871 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,315 questions
asked 2023-03-20T00:38:33.1366667+00:00
Ahmed Salah Abed Elaziz 65 Reputation points
answered 2023-03-20T15:26:16.28+00:00
Bruce (SqlWork.com) 30,866 Reputation points
1 answer One of the answers was accepted by the question author.

How To Pass Values From Controller To A TextBox Using Ajax

Hello, I am trying to Pass a Dropdown item from View to Controller and return value to a textbox. I have this //Dropdown value.. when an item is selected it goes to the controller to get the value and display it on a textbox <select…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
asked 2023-03-20T12:09:54.7733333+00:00
Freeman 21 Reputation points
accepted 2023-03-20T15:24:21.68+00:00
Freeman 21 Reputation points
0 answers

.NET Maui Fil Upload Camera Problem

AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="C> <application android:allowBackup="true"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,055 questions
asked 2023-03-20T15:13:37.6033333+00:00
Yunus Ayhan 0 Reputation points
3 answers

Hot to read Specific line of text in notepad and display in datagridview where value repeated multiple lines in a large notepad file

Hello Great Mind ! I am beginner in programming and still learning. This forum help me a lot to easy my job. I am not a programmer professionally, I do coding for my own works. Previously I need help to write text in notepad and a user of this group…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,740 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
853 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,959 questions
asked 2023-03-19T09:49:58.3166667+00:00
Amit kumar Yadava 21 Reputation points
edited an answer 2023-03-20T15:11:18.3666667+00:00
LesHay 6,501 Reputation points
0 answers

Controller necessary for creating database / Entity Framework

if I create a property set under models and list it in the context class and run a migration and database update the database is not created (as observed through MSSMS). If I create a controller using entity framework in between creating a property set…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
476 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
715 questions
asked 2023-03-20T13:24:31.3933333+00:00
Dean Everhart 746 Reputation points
commented 2023-03-20T15:02:06.0066667+00:00
AgaveJoe 19,046 Reputation points
1 answer

EF Core 7.0 with a SQL Table (DB First) having an Identity Column and a Computed Column (Primary Key)

Hi There, I have a fairly simple table in SQL DB as below [dbo].TBL_CUST ColumnCommentsIDInt; Identity (1, 1)D_IDComputed column Calculated as = "DID" + RIGHT('000' + Cast(ID as varchar(3)) , 3) i.e.... Like DID001 / DID019 etc...NameVarchar…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 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.
7,491 questions
Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
227 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.
871 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
476 questions
asked 2023-03-15T17:23:05.2+00:00
amjee84 1 Reputation point
commented 2023-03-20T14:59:15.5233333+00:00
amjee84 1 Reputation point
0 answers

I can't get my WCF service to run on our new server running Windows Server 2022

We have a simple WCF service installed on Windows Server 2012 with IIS 8.5. This has been running flawless for many years. We have now started installing our services on our new Windows Server 2022 with IIS 10.0 Unfortunately one of the few services we…

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.
7,491 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,762 questions
Internet Information Services
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
271 questions
asked 2023-03-20T14:59:11.2733333+00:00
Adagio_B 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to add background animation in asp.net

I wanted to bring Particle animation into asp.net Razor pages. The Particle animation works fine with a simple page with an Html5 page as a background, implying it is not part of the main rending page and is a background layer. The animation is written…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
asked 2023-03-18T06:15:06.6233333+00:00
Agha Khan 121 Reputation points
commented 2023-03-20T14:47:14.9533333+00:00
Agha Khan 121 Reputation points
1 answer

ASP.NET Core & IONOS SSL Certificate: ERR_SSL_PROTOCOL_ERROR

I am testing an asp.net core web API application with Swagger from Visual Studio 2022 in a windows hosting pack at IONOS. When I create an application of the asp.net core web API and uncheck the "Configure for HTTPS" option, and publish the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,740 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,315 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,762 questions
Internet Information Services
asked 2023-03-20T00:43:11.4233333+00:00
Happy Development 20 Reputation points
answered 2023-03-20T14:22:32.6266667+00:00
Limitless Technology 15,016 Reputation points
1 answer

How to publish a project without temporary key - Visual Studio 2019

I have built an application and want to make it executable by publishing When I publish the program, it creates a temporary key file, which I don't want it to create because it creates a problem for me and shows me the message: "Default certificate…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
853 questions
asked 2023-03-14T13:02:17.67+00:00
Apostolos Doudakmanis 1 Reputation point
edited an answer 2023-03-20T14:08:40.29+00:00
Jack J Jun 21,576 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Xamarin pushnotification OnMeasageRecieved event is not triggering in background and killed mode.

I have a Xamarin application and want to navigate to different pages when the user taps on the push notification Using azure notification hubs to sent notification.But in android this is not working while the app is in background and on killed mode.…

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.
7,491 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2023-01-22T14:45:20.0166667+00:00
Swathi J 1 Reputation point
commented 2023-03-20T14:06:14.6033333+00:00
Swathi J 1 Reputation point
0 answers

Vsiaul Studio debug services on Docker-Compose not starting

Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,740 questions
asked 2023-03-20T13:49:46.3733333+00:00
BenT 0 Reputation points
4 answers One of the answers was accepted by the question author.

Winui media player element PlayToEnd()

Sorry for my bal english ! On Microsoft store i have an app Horloge parlante, it is an UWP app works only if langage French is installed on Windows 10 / 11 I try to build a new one with Winui Desktop Micorosft.WindowsAppsSDK the problem is mediaPlayer…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
470 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
853 questions
asked 2023-03-03T14:55:32.03+00:00
Fernand Delavy 20 Reputation points
answered 2023-03-20T13:18:12.8633333+00:00
Fernand Delavy 20 Reputation points
3 answers One of the answers was accepted by the question author.

Enum - saving to property / field

Premise: An enum in a model does not create a property / field to hold the enum value. Question: How do you have this enum value saves into a property / field? What does declaring an enum value accomplish if it is not creating a corresponding…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,804 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
715 questions
asked 2023-03-13T16:55:35.7666667+00:00
Dean Everhart 746 Reputation points
accepted 2023-03-20T13:13:51.6666667+00:00
Dean Everhart 746 Reputation points
1 answer One of the answers was accepted by the question author.

In C# XAML WPF app, getting Exception HResult -2146233079 Task

I have a Visual Studio C# WPF XAML application running on Windows 10 .Net 7.0. I have an async Task that runs continuously (while (IsRuuning). The job of the Task is to: every 100 ms, under a mutex, read the contents of a file located at statusfilePath,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,740 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
853 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,270 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,583 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.
7,491 questions
asked 2023-03-19T22:17:56.0933333+00:00
DonBaechtel-7903 81 Reputation points
commented 2023-03-20T13:11:57.2466667+00:00
DonBaechtel-7903 81 Reputation points