24,928 questions with .NET-related tags

Sort by: Updated
7 answers

.Net5 Blazor application

Hi, I have a project I'm developing using .Net Core 3.1 for a Blazor server-side project. As I only started this recently, I thought why not move the code to .Net5. So I've just copied and pasted most of my application over and renamed the namespaces…

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,494 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,139 questions
asked 2020-11-24T19:21:30.93+00:00
Ami Sett 1 Reputation point
commented 2020-12-02T07:50:28.02+00:00
Jerry Cai-MSFT 986 Reputation points
0 answers

webHttp request returns double escaped NewLine

I have a WCF-service which returns a string containing NewLines. The service is deployed to azure. The returned string looks good if I use wsHttp-binding. The NewLine is correctly escaped as '\r\n' and displays with proper line breaks. If I use the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,408 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2020-11-23T07:37:49.083+00:00
Thomas Steiner 1 Reputation point
commented 2020-12-02T07:16:19.417+00:00
Theobald Du-MSFT 326 Reputation points
2 answers One of the answers was accepted by the question author.

UDP Socket wont receive data on android

I have an issue with UdpClient.Receive(ref IPEndpoint) on android devices: for some reason the same code works on PC, but android devices (or emulators) have a 50% chance to get stuck on Receive() method. It doesn't depend on networking type (wired,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 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,620 questions
asked 2020-12-01T08:10:31.997+00:00
Я есть 96 Reputation points
accepted 2020-12-02T07:05:10.393+00:00
Я есть 96 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a way to turn Off/On Android Device Location using Xamrine UItest?

I have a test Case in my App where Location should be Off. Is it possible using Xamarin.UItest

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-20T01:46:18.94+00:00
Gnanaprakasam, Kalaimamani 21 Reputation points
accepted 2020-12-02T04:19:00.81+00:00
Gnanaprakasam, Kalaimamani 21 Reputation points
0 answers

"RPC server is unavailable" error occurs when c# window application handle adobe Illustrator file opertaion

Hi, I have a c# wpf application that works on Adobe Illustrator file and uses SQL as DB. I am getting "RPC server is unavailable" error while saving the illustrator file after doing series of operations. And also the error occurs only in…

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,709 questions
asked 2020-12-01T08:22:11+00:00
Studiouslearner 1 Reputation point
commented 2020-12-02T02:17:04.793+00:00
DaisyTian-1203 11,621 Reputation points
1 answer One of the answers was accepted by the question author.

Screen transition when tapping ListView

When I tap ListView, another screen is displayed. If you tap continuously, multiple screens will open. Please tell me the solution. private async void List_ItemTapped(Object sender, ItemTappedEventArgs e) { try { await…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-12-01T22:58:30.953+00:00
TS44 81 Reputation points
accepted 2020-12-02T01:55:25.737+00:00
TS44 81 Reputation points
1 answer One of the answers was accepted by the question author.

Having trouble with foreign key in entity, can't track because the FK is already part of another object

Scenario: I have an entity that is central to the business, let's call it Company. Entity Foo has FK CompanyID, as does entity Bar. If, within the same context, I retrieve Foo and create an instance of Bar, then try…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
724 questions
asked 2020-12-01T00:34:30.12+00:00
David Craig 31 Reputation points
commented 2020-12-02T01:17:45.293+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer

Read_Logs permission- do we need this at all?

One of my app using Read_logs permission which I added back in 2017 according to my git history. I am not sure what for I added this permission. That time i was using respectively Xamarin.Insights and hockeyapp and my git history has only changes…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-12-01T23:38:58.407+00:00
Emil Alipiev 276 Reputation points
answered 2020-12-02T00:33:22.337+00:00
James Montemagno 351 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Files marked for deletion are preventing me from checking into TFS

I am having problems checking in files into TFS. (We're using TFVC.) We have TFS 2015 on-prem. I had to update an Entity Framework 6 EDMX file for new tables that were added to the database. Normally this is a straightforward process of opening the EDMX…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
asked 2020-12-01T18:56:43.2+00:00
Rod At Work 866 Reputation points
commented 2020-12-01T22:07:25.157+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Finding IValueConverter

What do I need to include in my NET library to use IValueConverter?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
asked 2020-12-01T17:26:49.937+00:00
Anonymous
accepted 2020-12-01T19:07:16.647+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter

---- Update 27.11.2020 -------------- As I was not able to post the update as response to the response below (error message "1000 characters exceeded") , I had to update my original post. ****Serious general question: -> Can it…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,376 questions
asked 2020-11-26T16:44:30.877+00:00
Fredy Wenger 201 Reputation points
accepted 2020-12-01T14:31:02.383+00:00
Fredy Wenger 201 Reputation points
2 answers One of the answers was accepted by the question author.

HttpClient freezing on Android

I have a very simple MVVM application using Xamrin Forms and Prism, built from the Prism Xamarin Template. When I initialize a new ViewModel I am trying to make a call to an API, on UWP this is working without any issues but on Android it is just…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-29T17:10:06.66+00:00
Guy 96 Reputation points
accepted 2020-12-01T13:44:51.843+00:00
Guy 96 Reputation points
1 answer One of the answers was accepted by the question author.

Shell Bottom Tab Bar Hide if set to True SetTabBarIsVisible

Hi I am facing issue on iOS devices if SetTabBarIsVisible="True" set on Xaml file then below tabbar is not visiable but same also work on Android devices. can anyone help on this. in previous page tabbar shell is hide when click on button then…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-12-01T08:50:00.687+00:00
Anonymous
accepted 2020-12-01T12:58:43.623+00:00
Anonymous
0 answers

How to invoke OnSelectionChanged on Selector and apply Style with Trigger

Here's the Custom Control, CustomSelector: public class CustomSelector : Selector { static CustomSelector() { DefaultStyleKeyProperty.OverrideMetadata(typeof(CustomSelector), new FrameworkPropertyMetadata(typeof(CustomSelector))); } protected…

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,709 questions
asked 2020-12-01T10:58:09.367+00:00
Emon Haque 3,176 Reputation points
commented 2020-12-01T12:31:03.737+00:00
Peter Fleischer (former MVP) 19,311 Reputation points
0 answers

How cam i use regedit or WPF disable and enable camera immediately(Windows 10)

I use WPF do a camera detection APP, I want the app can turn off and turn on immediately even if the webcam already open but I try many methods can't finish it regedit set Value=Allow or Deny …

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,709 questions
asked 2020-11-23T03:10:26.117+00:00
haoming.hsu 1 Reputation point
commented 2020-12-01T12:27:43.527+00:00
haoming.hsu 1 Reputation point
0 answers

TypeScript-React-Redux less-loader in ASP.NET Core 3.1?

index.tsx less style not working

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,376 questions
asked 2020-11-30T16:24:38.343+00:00
성식 채 1 Reputation point
commented 2020-12-01T09:25:15.573+00:00
Brando Zhang-MSFT 3,446 Reputation points Microsoft Vendor
4 answers

Xamarin Forms CollectionView not showing on iPhone but on Android and Android simulator

Hello guys, I have a problem and a question regarding Xamarin.Forms and CollectionView. I implemented a CollectionView as a Main Menu and on Android it is working fine. But on my iPhone it is not showing the CollectionView. The ScrollView is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-24T15:49:24.353+00:00
Az0th 1 Reputation point
commented 2020-12-01T09:05:36.963+00:00
Az0th 1 Reputation point
1 answer

Why does using Voice Control when a Xamarin.Forms Picker is open result in the app terminating?

With a Xamarin.Forms Picker open on iOS (so the wheels are usable) when using the Voice Control accessibility option, the app is prone to crashing. A wide variety of spoken words or phrases will result in the app crashing, "Next", "Thank…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
asked 2020-11-26T18:59:58.46+00:00
John Hardman 261 Reputation points
commented 2020-12-01T08:55:25.537+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
2 answers

Cannot load System.ServiceModel.Primitives.dll in UWP App

Hello Have a UWP app which references a .Net standard 2.0 library. This library uses System.ServiceModel.Primitives nuget package version 4.8.0 When running the app, it throws the exception "Cannot load System.ServiceModel.Primitives.dll…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
Universal Windows Platform (UWP)
asked 2020-11-25T18:42:39.457+00:00
Abhishek 26 Reputation points
commented 2020-12-01T08:05:29.587+00:00
Dylan Zhu-MSFT 6,406 Reputation points
2 answers

datagrid data from excel

hi is there a way to allow DataGrid to accept data paste data from excel, or any other wpf control supprts that? any help will be apprecited.

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,709 questions
asked 2020-11-26T16:16:33.543+00:00
essamce 621 Reputation points
commented 2020-12-01T07:39:23.897+00:00
DaisyTian-1203 11,621 Reputation points