Microsoft Q&A

.NET

12,918 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,918 questions with .NET-related tags

Sort by: Updated
0 answers

"Güncelle" button not working

ı dont undestand. Delete's working but update(Güncelle) not working. Where's my mistake ?

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.
399 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
590 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,185 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.
147 questions
asked 2023-01-31T06:19:44.85+00:00
Harun Ergün 20 Reputation points
edited the question 2023-01-31T06:34:13.5866667+00:00
Lan Huang-MSFT 9,041 Reputation points Microsoft Employee
2 answers

How to fix error in visual studio 2019

The code .DataSource = ds.Tables[0]; doesn't work for me. What might be the error?? In Microsoft vs 2019

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,185 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
291 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,490 questions
asked 2023-01-30T16:17:13.57+00:00
Kenny Robby 0 Reputation points
answered 2023-01-31T06:33:50.4466667+00:00
Olaf Helper 25,571 Reputation points
1 answer

System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MemoryPool'. Asp.Net Core

app.UseMiddleware(typeof(ErrorHandlingMiddleware)); app.UseMiddleware<TokenHandler>(); System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MemoryPool'. at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
asked 2023-01-06T05:31:39.727+00:00
Mani 1 Reputation point
commented 2023-01-31T06:25:21.5966667+00:00
Zhi Lv - MSFT 18,701 Reputation points Microsoft Employee
1 answer

Disable Specific Date and all the past dates in Razor pages

i want to disable specific dates and all the past dates in Razor pages calendar. I have database table to store the specific dates, i want to fetch from there and disable the dates in the razor pages calendar. <input…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
asked 2023-01-13T08:50:03.6966667+00:00
Blooming Developer 196 Reputation points
commented 2023-01-31T06:24:16.1533333+00:00
Blooming Developer 196 Reputation points
0 answers

xamarin android emulator android > 9 ? how to make ?

Hello all, I have vs 2022 entreprise installed on my computer all works fine with emulator below android 9 .. i can push my app , debug ans so on .. I've try to make an android 10 / 11 and so on but impossible to start it ,, Of course i have the sdk who…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,807 questions
asked 2023-01-26T09:28:50.3866667+00:00
cristopheB 476 Reputation points
commented 2023-01-31T06:20:30.9533333+00:00
cristopheB 476 Reputation points
1 answer

LINQ query to validate the selected day is not in a list of other dates

Hi , I want to validate a selected date that does not fall in a list of dates from other table. Basically when user selects a date from calendar,i need to validate that date is not in list of dates fetched from a table. How can i acheive this via LINQ…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
asked 2023-01-31T05:35:57.64+00:00
Blooming Developer 196 Reputation points
answered 2023-01-31T06:18:18.3766667+00:00
Viorel 82,646 Reputation points
0 answers

Stored Procedures in Razor Pages

Hi All, I have a booking system developed in Razor Pages. My requirement is , when i make a booking to an activity on a day it should show me the available timeslots . And the timeslots can be one hour or half an hour slots. To maintain this i have two…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
asked 2023-01-18T04:08:44.8666667+00:00
Blooming Developer 196 Reputation points
commented 2023-01-31T06:15:41.64+00:00
Blooming Developer 196 Reputation points
0 answers

Java.Lang.IllegalArgumentException Message=No view found for id 0x2 (unknown) for fragment ShellItemRenderer{8ff985} (8d59f552-5e3e-48c3-a91e-e50041b57719 id=0x2)

I am using Version VS 17.5.0 Preview 2.017.5.0 Preview 2.0. In this when I debug it with my mobile it gives me error Java.Lang.IllegalArgumentException Message=No view found for id 0x2 (unknown) for fragment ShellItemRenderer{8ff985}…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
888 questions
asked 2023-01-30T08:42:52.66+00:00
anil kumar 51 Reputation points
commented 2023-01-31T06:15:22.66+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,141 Reputation points Microsoft Employee
0 answers

Failed to compile third-party dynamic libraries using AOT in the MAUI(Andriod) project?

Create a MAUI APP project with VS2022(Version 17.4.4) install TencentCloud.dll from nuget; direct publish project, it takes very long,long time; about three hours. finally compiler…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
888 questions
asked 2023-01-30T01:36:17.93+00:00
晓宁 焦 0 Reputation points
commented 2023-01-31T06:13:59.9633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,411 Reputation points Microsoft Employee
0 answers

Linq query and violation of inserting null in database

Hello All, I have the following two model classes: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public string LastName { get; set; } = null!; [DisplayName("First Name")] public string FirstName { get; set; } =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 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.
6,941 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
590 questions
asked 2023-01-31T01:42:14.5866667+00:00
Anjali Agarwal 81 Reputation points
edited a comment 2023-01-31T06:04:16.03+00:00
Xinran Shen - MSFT 881 Reputation points Microsoft Employee
0 answers

Fix database errors in visual studio

The code for selection of a row in data grud view doesnt work for me (Microsoft visual studio 2019)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,404 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,185 questions
asked 2023-01-30T16:21:53.3+00:00
Kenny Robby 0 Reputation points
commented 2023-01-31T05:55:48.9833333+00:00
Lan Huang-MSFT 9,041 Reputation points Microsoft Employee
0 answers

'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.)

I want to receive and display push notifications on my iPhone/iPad but I get the following message in Visual Studio for Mac: 'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.) I use .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
888 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.
6,941 questions
asked 2023-01-30T12:24:14.4933333+00:00
Kim Strasser 341 Reputation points
edited the question 2023-01-31T05:55:19.84+00:00
Jack J Jun 19,061 Reputation points Microsoft Employee
3 answers

How to convert xml to style so that browser can render html from xml when using RSS

I have downloaded a app called MessageBoard and trying to configure RSS Feed to output serialised data to browser. The result display a error message with code written in xml format. This XML file does not appear to have any style information associated…

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.
399 questions
asked 2023-01-30T01:05:53.09+00:00
peter liles 371 Reputation points
edited an answer 2023-01-31T05:54:31.7466667+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
1 answer

How to use UIWebView in the Xamarin.Forms iOS part?

Hi, I have a Xamarin.Forms application. I integrated Airwatch SDK (WorkspaceOne.Forms) into the iOS part. Now, I am trying to app tunneling with Airwatch SDK. For this reason I have added ModernHttpClient Handler to all of the HttpClients on my project.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,807 questions
asked 2023-01-26T11:10:54.5066667+00:00
Pelin Konaray 266 Reputation points
commented 2023-01-31T05:31:01.6333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,411 Reputation points Microsoft Employee
0 answers

.net upgrade assistant added net7.0-windows for asp.net MVC webapplication during migration

When I used .net upgrade assistant tool convert my webapplication with asp.net MVC with .cshtml views of .net framework 4.8 to migrate to .net 7 then the tool included .net 7-windows as the target framework. this is the same case for projects of type…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
asked 2023-01-31T05:24:17.76+00:00
Tanv 0 Reputation points
edited the question 2023-01-31T05:25:29.64+00:00
Tanv 0 Reputation points
1 answer

Xamarin Form Add Multiple Binding

Please I need help. I have my Xamarin Form app that works very well with DataBinding to its View Model named OrderDetailViewModel. But today I have to add another DataBinding field in line 10 Binding OrderStatusMessage that is bind to its Xaml.cs file…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,807 questions
asked 2023-01-30T07:42:11.72+00:00
Alice 26 Reputation points
answered 2023-01-31T05:03:30.5166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,141 Reputation points Microsoft Employee
0 answers

Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7.

Have implemented fcm push notification in MAUI having .net version 7 from the below link : https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-ios-2f4388bf1ac. For testing , creating release build to test on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
888 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.
6,941 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
368 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
614 questions
asked 2023-01-30T18:27:08.49+00:00
Priya Baghel 1 Reputation point
commented 2023-01-31T04:31:09.7233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,581 Reputation points Microsoft Employee
0 answers

Unable to connect to .NET 7 GRPC service on running on Linux App Service

I have a GRPC service written in .NET 7. It works without issue locally. To publish it to an app service, I followed the instructions at https://github.com/Azure/app-service-linux-docs/tree/master/HowTo/gRPC/.NET/.NET%207 It says it's working. I get…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,315 questions
asked 2023-01-30T05:06:21.61+00:00
Joe Ourada 0 Reputation points
commented 2023-01-31T04:30:25.0933333+00:00
Grmacjon-MSFT 8,596 Reputation points Microsoft Employee
1 answer

"dotnet" is not recognized

I have installed a fresh Windows10, and downloaded the "dotnet-install.ps1" from Microsoft: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script And I ran it with a powershell window: > .\dotnet-install.ps1 -Channel 7.0…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
614 questions
asked 2023-01-30T14:38:11.9433333+00:00
Daniel ‪ 0 Reputation points
commented 2023-01-31T04:12:52.3233333+00:00
Jack J Jun 19,061 Reputation points Microsoft Employee
0 answers

Session is not clearing after signing out from application razor pages

Hi, I want to clear my sessions,once i logout from my application. Now when i logout from application and click the back button,its navigating to the previous page. My logout button is given as a menu in _Layout page like this <li…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,540 questions
asked 2023-01-31T04:04:24.65+00:00
Blooming Developer 196 Reputation points