23,814 questions with .NET-related tags

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

Xamarin.Forms.RangeSlider not visible in iOS Devices

Hi https://www.nuget.org/packages/Xamarin.Forms.RangeSlider/ hi i am using above nuget pacakge range slider but it's not visible on iOS devices but it's working on Android Devices below is the code which i used. …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-04T07:16:25.917+00:00
Anonymous
commented 2020-12-08T08:08:04.32+00:00
Anonymous
1 answer

Calling any notification system

Dear Friends, I'm finishing a webservices project in C# to help a local elementary school. The idea of the project is to read some parameters of the current school management software and make some communications to teachers and students. Currently…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-07T22:31:28.49+00:00
Tiago Pinho 1 Reputation point
answered 2020-12-08T07:46:08.113+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
2 answers

Using Volatile

Hello, From you experience using syntax code volatile, what concrete example have you used volatile in your application and why? (https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/volatile) Thank you!

.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,117 questions
asked 2020-12-07T14:58:02.367+00:00
JJ TT 141 Reputation points
answered 2020-12-08T07:24:36.767+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
2 answers

How do I clear a remote session after publishing my C# MVC application from Visual Studio?

So I have my C# MVC application, happy with its design, I publish the application onto external servers (ionos), once I've published I've found if I create a new account or go to log into the application its like the session is still hanging around. As…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,146 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,590 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,214 questions
asked 2020-12-05T21:56:20.873+00:00
martin cooke 1 Reputation point
commented 2020-12-08T07:04:24.903+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer

How to make a Ressults Key for an ASP.NET API call

I have a API that work but the client app calling is is getting an error and is looking for a results key. Can someone please tell me how to add this to the API? I'm using Visual Studio 2019 and this is a ASP.NET API project (not core). Thank you.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,146 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 questions
asked 2020-12-07T21:47:09.883+00:00
moondaddy 911 Reputation points
answered 2020-12-08T06:20:30.11+00:00
Yihui Sun-MSFT 801 Reputation points
0 answers

Download from moodle with download manger

We area creating Xamarin Application, this app open moodle web site in native web view, we handle the action with Download event everything go well, get the link to download and process it to downloaded manager, but here is the problem Moodle reject the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-03T15:34:12.663+00:00
Josue Avendano Gutierrez 1 Reputation point
commented 2020-12-08T06:08:46.19+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
0 answers

Xamarin Forms `SQLiteAsyncConnection` throws error when trying to add data with new columns in existing table

I am using SQLiteAsyncConnection to perform CRUD operation in my xamarin.forms app. My problem is. I have existing table with data in it. My requirement changed and I needed to add few more columns into that table. because I have data in that table,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 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,662 questions
asked 2020-12-02T12:20:49.6+00:00
Gayatri Gokhale 1 Reputation point
commented 2020-12-08T05:04:39.127+00:00
Gayatri Gokhale 1 Reputation point
0 answers

Cannot open/create ASP.NET applications in Visual Studio

I'm having trouble opening my projects in Visual Studio. I get the following error and the project does not load. Creation of virtual directory failed with the following error: Filename: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,146 questions
asked 2020-12-07T11:59:28.787+00:00
SaranRajen 1 Reputation point
commented 2020-12-08T03:39:07.257+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How Can I Import one .net framework WPFControl or one .net5 WPFControl into The new .net5 Winform?

I've tried to used a .net framework WPFUserControl into the .net5 WPF (.net framework WPF certainly too) , and how can I use this control into my .NET5 Winform? I guess .NET5 Winform can't use ElementHost anymore.right?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,823 questions
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,668 questions
asked 2020-12-07T15:11:03.437+00:00
Shawn Song 41 Reputation points
commented 2020-12-08T02:56:48.897+00:00
Shawn Song 41 Reputation points
0 answers

How to debug high cpu usage after unlocking iOS device in Xamarin App

I have an Xamarin.Forms app which has an issue where CPU goes over 100% and stays there after unlocking the phone while the app is in the foreground I have put logging statements in all the places I can think of that may be the cause, but so far no…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-07T21:57:17.357+00:00
Daniel Hughes 96 Reputation points
commented 2020-12-08T02:47:33.227+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer

Multi-Value XAML Array

In the ItemsSource property of a CollectionView I want to place an array of an anonymous type or Tuple. Visual Studio 2019 Intellisense lets me do the following: <CollectionView.ItemsSource> <x:Array Type="{x:Type system:(T1,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-02T20:00:27.207+00:00
Nathan Sokalski 4,116 Reputation points
commented 2020-12-08T01:20:02.863+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,176 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Add Ripple Effect To Frame Using Custom Render RippleDrawable Xamarin.Froms

Hello Im Using Xamarin.Forms and I Want to Add Ripple Effect For Frame Control but how to do that using custom render by using RippleDrawable and how to Change Shadow Elevation and Thanks :) and i try to use this code but its need some arguments like…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-05T21:37:17.79+00:00
SimonGhost 256 Reputation points
commented 2020-12-07T22:06:14.897+00:00
SimonGhost 256 Reputation points
1 answer One of the answers was accepted by the question author.

.NET Core 2.1.20+ failing on App Service

Why is .NET Core 2.1.19 the latest version that will run on App Service? .20, .21, .22, .23 all return 502.5 IIS Error. HTTP Error 502.5 - Process Failure Common causes of this issue: The application process failed to start The application…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,842 questions
asked 2020-11-18T16:24:15.807+00:00
A.J. Freda 21 Reputation points
accepted 2020-12-07T20:09:07.627+00:00
A.J. Freda 21 Reputation points
0 answers

WPF inside native application, hwndSource is sometimes empty (rendering) and other problems

fro my plugin I use WPF for GUI. Everything works ok, but sometimes, when window (host) is opened, the hwnSource show blank space. When mouse is over some interactive element (button which have mouse over state and change a color) it redraw a rectangle…

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,668 questions
asked 2020-12-07T16:58:52.187+00:00
Code Wanderer 396 Reputation points
1 answer

TapGestureRecognizer Not working on iOS

I'm working on an application where I've used TapGestureRecognizer on a Path. This works correctly in Android but when I build and debug on an iOS device (physical or emulated) the command bound to the recognizer doesn't work. The code is as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-02T04:26:16.427+00:00
Andrew 16 Reputation points
answered 2020-12-07T16:23:22.007+00:00
Andrew 16 Reputation points
1 answer

Masterdetail Navigation Help

I am not sure if this is set up correct as I am getting null exceptions when page navigation from the masterdetail -"detail" element. Set is my flow, App.CS = MainPage = new LoadingView(); loadingview checks if users token is still…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-07T10:00:03.253+00:00
sipepguru 1 Reputation point
answered 2020-12-07T13:04:15.397+00:00
JarvanZhang 23,936 Reputation points
2 answers One of the answers was accepted by the question author.

Azure Publish Asp.net core 5.0 hosted web assembly ( VS 2019)

I've created a new Asp.NET Core 5.0 Blazor web assembly hosted on Asp.net core server. Publishing the app to Azure is taking longer times. I notice lots of dll's getting copied/uploaded in the build output view every time the app is published. Could you…

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,380 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,917 questions
asked 2020-12-06T13:12:25.023+00:00
Chandra Mohan 461 Reputation points
accepted 2020-12-07T13:02:05.8+00:00
Chandra Mohan 461 Reputation points
1 answer

.Net 5 Window

How can I create a .Net 5 window without Xaml? Please, no legacy frameworks like Winforms or WPF. I would use UWP, except it has a couple of significant issues ... not easily distributable and not distributable generally. cannot disable Windows…

.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,117 questions
asked 2020-12-06T05:57:20.197+00:00
Gavin Williams 761 Reputation points
commented 2020-12-07T09:35:10.85+00:00
Jerry Cai-MSFT 986 Reputation points
2 answers One of the answers was accepted by the question author.

INotifyPropertyChanged not causing my View data to refresh

I'm new to Xamarin Forms. Been struggling with this all day now :( My view doesn't refresh My Object that I'm binding to... using DTS_Driver.Classes; using DTS_Driver.Models; using System.Collections.ObjectModel; namespace DTS_Driver.Classes_Static { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2020-12-07T00:42:10.547+00:00
Dave C 21 Reputation points
answered 2020-12-07T09:31:40.513+00:00
Dave C 21 Reputation points
1 answer

PII PHI data encyption using data protection api

I am using data protection api in asp.net core 3.1 . I have PII and PHI data in database. can I use data protection api to encrypt the data. what if my data is not accessed for more than 6 month how key rotation will effect that

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,146 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,842 questions
asked 2020-12-02T14:37:27.09+00:00
Somnath Shukla 411 Reputation points
commented 2020-12-07T09:17:39.953+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor