Microsoft Q&A

.NET

13,105 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

13,105 questions with .NET-related tags

Sort by: Updated
2 answers

How do I pass dynamically created sets of Checkboxes to controller and get checked

Hi all, hope you are well. Question, I have a form that creates dynamic sets of checkbox and I am looking for some info on how I can pass the selected values to the controller. Example: Lets say there are 2 checkbox groups created (a user could create as…

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,037 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
619 questions
asked 2023-02-08T16:23:54.6633333+00:00
JayJay 0 Reputation points
answered 2023-02-08T22:45:42.3066667+00:00
AgaveJoe 17,316 Reputation points
2 answers One of the answers was accepted by the question author.

Which image is displayed on my Samsung Android tablet when I start my application? Can I change it?

I get the following screen on my Samsung tablet when I start debugging my Android application: image2.jpeg A short time later my splash image is displayed: image1.jpeg And finally a short time later the bar with the icons at the bottom is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
916 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,037 questions
asked 2023-01-14T11:16:24.1433333+00:00
Kim Strasser 381 Reputation points
accepted 2023-02-08T22:36:57.14+00:00
Kim Strasser 381 Reputation points
1 answer

Why do I get a resource not found when disabling Hot Reload

If I disable hot reload I get a Gray950 resouce not found. This is such an indication of the major problems that VS 2022 has. There is no relationship between the two. The only reference that I could find about Gray950 is that it is a resource used in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
916 questions
asked 2023-01-23T22:03:46.8+00:00
Lloyd Sheen 781 Reputation points
answered 2023-02-08T22:30:18.3866667+00:00
Lloyd Sheen 781 Reputation points
1 answer One of the answers was accepted by the question author.

Manage multirepo projects

Hello, I have to manage a multirepo project, i have three repositories (A,B,C) of .net projects and Im using visual studio 2022 latest release, my doubts are: Have I to have only one visual studio solution file? If yes where i have to store it? (in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,608 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,463 questions
asked 2023-02-06T09:33:21.4433333+00:00
first100 61 Reputation points
commented 2023-02-08T20:47:14.8566667+00:00
first100 61 Reputation points
2 answers

.net 5 web API with DateTime parameter

Dear Sir I have an app with API controller and Manager to send Endpoint to controller public static class DrEndpoints { public static string ExportFiltered(string searchString) { return…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,608 questions
asked 2023-02-08T16:19:29.24+00:00
arkan salman 1 Reputation point
answered 2023-02-08T20:40:14.2833333+00:00
Low Luen 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to call the server map path filename that generated randomly

This is a C# code for a Web Form page named "upload.aspx" which allows the user to upload a PDF file and store it in the server. The file uploaded must be a PDF file, and all the text boxes must be filled before submission. The file name is…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
412 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,037 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,211 questions
asked 2023-02-06T17:34:11.35+00:00
Sunny 0 Reputation points
accepted 2023-02-08T20:16:59.4166667+00:00
Sunny 0 Reputation points
2 answers

Problem to implement Visitors Hit Counter for my blazor server app!

Hi everyone .. To implement visitors hit counter for my blazor server app, i've created class to get current context of the page (via injecting ihttpContextAccessor) & extract some information such as url, querystring, etc, Then save these data to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,608 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.
804 questions
asked 2023-02-08T16:24:04.9166667+00:00
Hamed Vaziri 56 Reputation points
answered 2023-02-08T19:37:53.9+00:00
Hamed Vaziri 56 Reputation points
0 answers

Backlog stories not transferring to Board view

No clue which tags to select. I am not a technology person. Apologies. For months my ADO worked without issue. For a few weeks now, stories I create in my backlog won't transfer to the Board view. All is tagged appropriately. What I'm experiencing…

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
18 questions
asked 2023-02-08T19:26:52.8266667+00:00
Emma Oberdieck 0 Reputation points
1 answer

how do you default a dropdown list value in mvc razor using vb.net and c#

hello I am trying to set a default value for a dropdownlist in vb.net and in c# mvc razor view here is how I populate the list here is how I create the drop list in mvc razor the data options for my list are I would like to default the dropdownlist to…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
619 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
646 questions
asked 2023-02-07T23:00:30.67+00:00
AppDev 1 Reputation point
answered 2023-02-08T18:53:43.68+00:00
Bruce (SqlWork.com) 28,366 Reputation points
0 answers

xamarin ios not able to find some of the swift standard runtime libraries.

xamarin ios not able to find some of the swift standard runtime libraries. I am even using linker flag too and it does resolve many errors related to swift runtime libraries but still there few library error such as swiftDataDetection, swiftFileProvider…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,824 questions
asked 2023-02-08T17:28:34.61+00:00
Muhammad nawaz shafiq 0 Reputation points
edited the question 2023-02-08T17:29:33.2933333+00:00
Muhammad nawaz shafiq 0 Reputation points
1 answer One of the answers was accepted by the question author.

framework with C# example

Hi All A frame work just gives us a basic structure around which we can add our code to have a significant functionality of that system. give me such example in .net Framework so We can add our code using C#

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
412 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
960 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,211 questions
asked 2023-02-07T06:19:48.5666667+00:00
Siddangoud Bharamagoudar 21 Reputation points
accepted 2023-02-08T17:08:27.22+00:00
Siddangoud Bharamagoudar 21 Reputation points
2 answers

.NET 6 Plugin Development - "Unable to load one or more of the requested types" when adding dependency

I am writing a series of plugins to be able to perform a specific set of actions as needed. I have been following the Microsoft documentation that can be found here:…

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,037 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
646 questions
asked 2023-02-08T14:57:25.0366667+00:00
Jason Ipock 1 Reputation point
edited an answer 2023-02-08T16:27:44.0566667+00:00
Jason Ipock 1 Reputation point
1 answer One of the answers was accepted by the question author.

Help with CommunityToolkit.MVVM

Hi, I am trying to use the CommunityToolkit.MVVM but when setting the two values in my sample vcard and color it's not getting Binded later on. the Popup as you can clearly see in the sample. https://www.softnames.com/temp/MVVMApp.zip Kindly…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
916 questions
asked 2023-02-02T22:53:31.4766667+00:00
Jassim Al Rahma 1,146 Reputation points
commented 2023-02-08T16:12:37.2033333+00:00
Jassim Al Rahma 1,146 Reputation points
2 answers

Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction

I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,608 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,619 questions
asked 2023-01-27T16:29:45.1233333+00:00
john john 681 Reputation points
commented 2023-02-08T16:04:18.87+00:00
Dennis Kiesel 6 Reputation points
1 answer One of the answers was accepted by the question author.

WCF Error : Cannot obtain Metadata from WCF service

Hello All, We have a webservice in asp.net wcf (ex.. [http://localhost:56561/ProductOData.svc/]). We are able to add as a service reference in asp.net mvc. However, we are trying to add the same service in asp.net core 6.0 and it is not working. The…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
262 questions
asked 2023-02-07T14:43:03.54+00:00
SUMAN7910 20 Reputation points
commented 2023-02-08T15:50:29.1066667+00:00
Michael Taylor 38,271 Reputation points
2 answers One of the answers was accepted by the question author.

Enable Hyper-V on the remote Windows Server for Android Emulator?

We have two questions about Android Development on Windows: 1. We need to enable Hyper-V on a rented Windows server (remote server) so that we can start Android Emulator on it in an accelerated way. Unfortunately, we are not successful in setting up…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
916 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.
804 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,271 questions
asked 2023-02-06T18:21:32.4933333+00:00
perfect code 191 Reputation points
accepted 2023-02-08T15:44:56.6566667+00:00
perfect code 191 Reputation points
1 answer

C# TcpClient/TcpListener / Full Duplex Communication / Sample

Hello! I have already asked. There must be a good example of Socket, TcpClient, TcpListener that does the following. Duplex operation between client and server Automatic reconnection On 10 failed attempts, error message. Read until the root element…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
646 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,037 questions
asked 2023-02-01T17:23:47.48+00:00
Markus Freitag 2,961 Reputation points
commented 2023-02-08T15:36:33.2733333+00:00
Markus Freitag 2,961 Reputation points
0 answers

Open OracleConnection ONGet and Close it OnPost

Hi have a problem I ve been struggling with stateless http request for days on my razpr .NET6 webapp My razor page has a button that opens a modal, this triggers a method (with ajax) public OracleConnection connection { get; set; } public…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,608 questions
asked 2023-02-08T15:07:54.8633333+00:00
Butachan 1 Reputation point
0 answers

Metaceptine Reviews: Ingredients and Side Effects Report 2023

Metaceptine Reviews –  This Biohealth Metaceptine evaluation intends to show the whole thing that you want to understand about the blood sugar support formulation, the Metaceptine capsule that assures to assault of diabetes from its root. For More…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
646 questions
asked 2023-02-08T14:52:15.7833333+00:00
online health4you 0 Reputation points
1 answer

Sql select most repeated value

Hi, I have a database called a “reader”, and a table called "dailyreader". The dailyreader has 6 columns and i am looking to create a query to select the most repeated values in all columns and show how many times has been repeated. Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
646 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.
8,598 questions
asked 2023-02-08T13:31:04.7266667+00:00
M Simo 0 Reputation points
commented 2023-02-08T14:23:54.8833333+00:00
Yitzhak Khabinsky 20,101 Reputation points