24,054 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

macOS catalina and xcode version

Hello, I am using macOS catalina 10.15.7 on win pro 10 and visual studio 2019. I wonder which version of xcode should I install in catalina?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2022-04-22T22:27:48.95+00:00
Ismail ÇAKMAK 46 Reputation points
accepted 2022-04-23T21:29:02.14+00:00
Ismail ÇAKMAK 46 Reputation points
1 answer One of the answers was accepted by the question author.

Filter and mutliply sql table with stored procedure

Hello all, I am very new to SQL , I have table like this : in my winform I have two text boxes for Dish & number of persons: so if i type Cake & 3 , the result should be like below : Pls someone guide me how to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 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,791 questions
asked 2022-04-23T04:38:45.337+00:00
ravi kumar 331 Reputation points
commented 2022-04-23T16:24:19.54+00:00
Ronen Ariely 15,096 Reputation points
2 answers

Add line under Button

I have a series of buttons next to each other. When clicking one button, I want a line to appear under that button. This line should then disappear when another button is clicked and be displayed under the new clicked button.Does anyone know how to do…

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,679 questions
asked 2022-03-24T17:12:45.023+00:00
Imilio 41 Reputation points
commented 2022-04-23T15:27:49.763+00:00
Sarah 186 Reputation points
1 answer

How to remove selection in ListView by clicking on blank space or any other control in UI?

I am using a ListView and I want to disable the selected item when I click anywhere in the UI or click another control in the UI. <ListView x:Name="View" Grid.Row="1" Grid.Column="0" ItemsSource="{Binding…

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,679 questions
asked 2022-03-12T14:22:24.6+00:00
Sarah 186 Reputation points
commented 2022-04-23T14:43:29.54+00:00
Sarah 186 Reputation points
1 answer

Azure B2C authorize loop in sub-application

0 I'm currently using Azure B2C to authenticate a series of .NET 6 server-side Blazor apps and Web APIs. In IIS, the apps are setup as follows: domain.com domain.com/admin domain.com/api1 domain.com/api2 domain.com/api3 If a user logs into…

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,401 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,661 questions
asked 2022-04-21T14:42:39.787+00:00
GccDev 1 Reputation point
answered 2022-04-23T14:25:22.873+00:00
Michael Washington 911 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to solve : The name does not exist in the current context in c#

This is asimple windows application forms program which deals with files..etc, I have linked a photo to give a clear view of the errors I get and another one to describe my program. I also added both libraries: System.Drawing.Printing …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 questions
asked 2022-04-23T07:40:52.137+00:00
HEBA YAHIA 21 Reputation points
accepted 2022-04-23T11:43:21.113+00:00
HEBA YAHIA 21 Reputation points
1 answer One of the answers was accepted by the question author.

System.InvalidOperationException

i have made a chatting application and i built wcf server side appliation which is to be started when the UI of the chatting application is started but each time i start the application the above picture gives details of my error i keep…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,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.
10,299 questions
asked 2022-04-21T03:28:22.68+00:00
KwebenaAcquah-9104 306 Reputation points
accepted 2022-04-23T02:15:34.483+00:00
KwebenaAcquah-9104 306 Reputation points
3 answers

Erratic behavior of TextBox "TextChanged" event

I have inserted in the GUI a TextBox. It must hold a number between 0 and 1 that represents a lower threshold for accepting a structure name guessed by the Dice coefficient. I have set a default but the user can edit the threshold. Therefore I have to…

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,679 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,299 questions
asked 2022-04-08T12:36:21.107+00:00
mauede 221 Reputation points
commented 2022-04-23T01:59:41.983+00:00
Edelweiss 1 Reputation point
2 answers

Rather than using Session or view state, why don't we simply store the value as a variable to use later? What else does viewstate or session offer?

Rather than using Session or view state, why don't we simply store the value as a variable to use later? What else does viewstate or session offer?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2022-04-21T07:36:30.667+00:00
Bob Dang 1 Reputation point
answered 2022-04-23T00:36:53.23+00:00
Albert Kallal 4,806 Reputation points
2 answers

IIS Site Hitting Cap of 64 for "Requests Executing" Performance Counter

Hello, In our production environment, when the system is under heavy load, one of our applications (let's call it "App X", a WCF service using .NET Framework 4.6.1) hosted by IIS is hitting a cap of "64" for ASP.NET Apps…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,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.
10,299 questions
asked 2022-04-22T17:53:21.513+00:00
Chandler Zwolle 1 Reputation point
commented 2022-04-22T19:58:20.957+00:00
Chandler Zwolle 1 Reputation point
3 answers

Making APIs available publicly

I have a .NET6 Blazor wasm application https://invoicis.com. The app was built using standard Blazor wasm template with individual accounts authentication and hosted options turned on. The Client application uses http calls to get and send data 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,202 questions
asked 2022-04-21T17:25:48.52+00:00
Amjad Khan 21 Reputation points
answered 2022-04-22T18:02:23.567+00:00
near 1 Reputation point
2 answers

XarminForms and XCode 14

I am a bit confused about Xamarin Forms and the support for upcoming Xcode releases - in particular the one in fall 2022. ( I assume V14 ) Does Xamarin Forms plan to support that ? In terms of XCode compatibility what is the last version of XCode…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2022-03-07T17:29:20.257+00:00
Richard Clark 1 Reputation point
commented 2022-04-22T15:34:14.003+00:00
Richard Clark 1 Reputation point
2 answers One of the answers was accepted by the question author.

How do I Remove Specific Character from a Field in a C# List?

I got a C# List that it's the result of a LINQ query. I had no issues removing zero records like this. myList.RemoveAll(x => x.Amount ==0); How do I remove character "TH" from a column in myList? Data example: "48…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,202 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2022-04-21T20:50:06.537+00:00
lesponce 176 Reputation points
commented 2022-04-22T13:27:29.11+00:00
lesponce 176 Reputation points
1 answer One of the answers was accepted by the question author.

Resources in ResourceDictionary require a x:Key attribute

I am building a Xamarin Forms app and I received an error message on the MainViewPage.xaml on line 10: - Resources in ResourceDictionary require a x:Key attribute <?xml version="1.0" encoding="utf-8" ?> <FlyoutPage…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2022-04-22T05:17:10.9+00:00
wire_jp 201 Reputation points
accepted 2022-04-22T12:27:28.137+00:00
wire_jp 201 Reputation points
1 answer One of the answers was accepted by the question author.

SqlBulkCopy of EntiryFramework table

Hi, I have a LogHistory table which is available in Entity framework. I have set of values to be set in this table. If I set like below for individual values, I am able to set the values in LogHistory table. using (var context = new AutomationEntities())…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 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,791 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,299 questions
asked 2022-04-21T12:06:36.967+00:00
Santosh Umarani 81 Reputation points
accepted 2022-04-22T11:24:48.877+00:00
Santosh Umarani 81 Reputation points
1 answer One of the answers was accepted by the question author.

Referrencing .NET 6 assembly package in a .NET Framework 4.8 assembly

I have a .NET 6 assembly which is uploaded to nuget as a package, and another .NET Framework 4.8 assembly. Can the .NET 6 assembly package be referenced in the .NET Framework 4.8 assembly, and can it run without generating any exceptions?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,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.
10,299 questions
asked 2022-04-22T02:48:42.287+00:00
Wonderful World 21 Reputation points
accepted 2022-04-22T09:54:25.75+00:00
Wonderful World 21 Reputation points
1 answer

Not understanding Viewmodels in mvc I am using vb.net to see if it will help me understand it better

Hi All I am having trouble wrapping my heard around view models. I have tried lots of tutorials to try to understand them and how to use them but nothing makes any since as there in nothing that shows you how to populate your database from the view…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2022-04-21T18:53:44.52+00:00
App Dev 86 Reputation points
commented 2022-04-22T09:43:24.217+00:00
Yijing Sun-MSFT 7,071 Reputation points
2 answers

girdiview binding wrong value

Hello <script> $(function () { $(".mytext").val($(".myddl").val()) $(".myddl").change(function () { …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2022-04-20T12:26:05.89+00:00
RAVI 916 Reputation points
commented 2022-04-22T09:32:53.673+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer

Not Understanding how FileUpload Example works using submit button but not working when calling the mvc Controller Getting error HttpPostedFileBase Example

Hi All, I have an example that I found online that Uploads a file to the database using file stream I am guessing it uses HttpPostedFileBase Let be clear this is not my area of full understanding but the example fails to tell you how it all works…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2022-04-21T19:22:43.45+00:00
App Dev 86 Reputation points
commented 2022-04-22T09:08:03.1+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer

What is clearselection in built function purpose?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,299 questions
asked 2022-04-22T06:36:21.693+00:00
Bob Dang 1 Reputation point
answered 2022-04-22T08:42:12.857+00:00
Yijing Sun-MSFT 7,071 Reputation points