24,062 questions with .NET-related tags

Sort by: Updated
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,204 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 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,798 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,301 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,301 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,288 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,288 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,288 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,288 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,301 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
2 answers

What is the purpose of detailsview control and how does it relate to templatefield?

What is the purpose of detailsview control and how does it relate to templatefield?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
asked 2022-04-21T07:30:41.373+00:00
Bob Dang 1 Reputation point
commented 2022-04-22T08:24:08.68+00:00
Yijing Sun-MSFT 7,071 Reputation points
2 answers

What is the difference between formview control and detailsview, since it seems that both display data in a row format? can you please suggest?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
asked 2022-04-21T07:35:03.163+00:00
Bob Dang 1 Reputation point
commented 2022-04-22T07:54:50.287+00:00
Yijing Sun-MSFT 7,071 Reputation points
0 answers

Knockout JS and Razor - How to assign data to Razor variables?

I am working with a multi layer web application that uses various web technologies. It interacts with a WebAPI to get the data via Knockout JS. I will try to narrow the scope of my question to this: I have a span tag <span…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,204 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2022-04-21T12:41:04.943+00:00
Ali Aziz 1 Reputation point
commented 2022-04-22T07:31:37.077+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
1 answer

What does the find by value and selected mean in our image in the respective context?

What does the find by value and selected mean in our image in the respective context?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
asked 2022-04-21T07:45:37.617+00:00
Bob Dang 1 Reputation point
answered 2022-04-22T07:00:46.917+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer

Xamarin Forms take backup and restore sqlite from Google Drive

Hi , I need take backup sqlite from Xamarin Forms iOS application and store it into google drive. Same thing I want to restore sqlite from google drive to my xamarin forms iOS application. How it to do ? Any good nuget pacakages available with…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2022-04-19T13:32:50.66+00:00
Gopidhas, Sidharthan 1 Reputation point
commented 2022-04-22T06:02:29.987+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

What is meaning of the highlighted part of the image below?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
asked 2022-04-21T07:33:12.76+00:00
Bob Dang 1 Reputation point
answered 2022-04-22T05:49:29.337+00:00
Yijing Sun-MSFT 7,071 Reputation points
0 answers

adding additional nodes automatically with expected SOAP (asmx - C#) response message when receive at the end of client

Technical specification at development time (using Visual Studio) Microsoft .net .Net framework 4.7.2 C# Web Service (ASMX) Below link will show the difference between generated message which receive at the end of client…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
asked 2022-04-21T03:48:54.78+00:00
Abu Bakar Siddiq 1 Reputation point
commented 2022-04-22T05:25:45.27+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Issue to show the message

Hi, I cannot expectedly show the message by the code below. Please help.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,412 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,301 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
asked 2022-04-04T04:52:47.197+00:00
Peter_1985 2,526 Reputation points
accepted 2022-04-22T04:41:25.477+00:00
Peter_1985 2,526 Reputation points
2 answers One of the answers was accepted by the question author.

Asp.net MVC app with sequential approvals

Hello. I'm developing an MVC project (visual studio.net and SQL server) in which a user enters his account and fills in his last working day to submit for approvers to do the clearance. What I have done so far: 1- create a table for employee…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,798 questions
asked 2022-04-10T12:04:57.023+00:00
Abeer S 41 Reputation points
commented 2022-04-22T02:21:19.97+00:00
Naomi 7,361 Reputation points
3 answers One of the answers was accepted by the question author.

Need help in LINQ: Contains clause

Hi. This is my table I've successfully getting all data using below var _SFAProject = _context2.SFAProject.ToList(); Now I want to filter using Contains. Let say, I've have ClientsId variable parameter as following, ('8', '6', '1',…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,204 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,301 questions
asked 2022-04-19T09:13:23.683+00:00
Jerry Lipan 916 Reputation points
accepted 2022-04-22T01:28:43.123+00:00
Jerry Lipan 916 Reputation points
5 answers

How to redirect to /Home from server side after logged in?

How to redirect to /Home from server side after logged in? startup.cs app.UseMvc(routes => { routes.MapRoute( name: "default", template:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,204 questions
asked 2022-04-11T02:41:42.607+00:00
Dondon510 221 Reputation points
commented 2022-04-21T20:48:13.96+00:00
Bruce (SqlWork.com) 56,926 Reputation points