24,075 questions with .NET-related tags

Sort by: Updated
0 answers

Xamarin iOS builds crashing on startup after iOS upgrade

I have an app that has been working fine in production and on Testflight. However, recently our customer upgraded to iOS 15 and the app started crashing for them on startup. I looked into this and was able to reproduce the crash by deploying directly to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-02-02T16:40:56.203+00:00
Jonathan Cook 6 Reputation points
1 answer

Telemetry Dependencies automatically added to Xamarin build in VS2019

We have found that when we build our code in Visual Studio 2019 some dll dependencies are added in a folder in the build called "TelemetryDependencies". Those dependencies are as follows: Microsoft.VisualStudio.RemoteControl.dll …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2021-12-13T14:50:45.643+00:00
Jonathan Cook 1 Reputation point
answered 2022-02-02T15:53:41.317+00:00
Jonathan Cook 6 Reputation points
1 answer One of the answers was accepted by the question author.

Httpclient not works in release mode but works in debug mode in xamarin forms

Httpclient not works in release mode but works in debug mode in xamarin forms Application proper work in debug mode but after creating release build not working httpclient. Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
Small BASIC
Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
277 questions
asked 2022-02-02T01:25:42.283+00:00
S GAIKWAD 231 Reputation points
commented 2022-02-02T13:40:44.657+00:00
S GAIKWAD 231 Reputation points
0 answers

Wpf System.Windows.Media.ImageSourcesConverter cannot be applied

Hey all it has been a few years since I last worked on my WPF code and sadly I'm not remembering what all I did in order for it to work as its coded. The current issue I am facing is this: An object of the type…

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,681 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,308 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
767 questions
asked 2022-02-02T03:00:46.097+00:00
david g 1 Reputation point
commented 2022-02-02T13:35:48.323+00:00
david g 1 Reputation point
1 answer

Entity Framework Unexpectedly attempts to connect to the Master database with the context username but with a blank password.

When my webapp builds I'm recently experiencing error 18456 with state 123 as Entity Framework is attempting to connect to the MASTER database, but it isn't providing a password. This is a new issue, previously we recognised that the app was trying to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
asked 2021-12-23T16:54:48.177+00:00
Richard Hanby 1 Reputation point
answered 2022-02-02T11:42:57.55+00:00
Richard Hanby 1 Reputation point
2 answers One of the answers was accepted by the question author.

Browser Compatibility

I am using Bootstrap framework and using its classes and DIV in my ASPX page. Its working perfectly fine in Google Chrome but everything gets messed up in Internet Explorer. Though when I run that application from my local PC, it works fine, but the…

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-01-28T07:55:53.14+00:00
Adeel Mirza 121 Reputation points
accepted 2022-02-02T11:06:32.107+00:00
Adeel Mirza 121 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor Wasm Authentication (MSAL): Not waiting for token

Hi, I have a standalone Blazor Webassembly app (.NET 6) with authentication implemented with Azure AD, using MSAL. In Program.cs, I am using the following auth configuration: builder.Services.AddMsalAuthentication(options => { …

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,403 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
asked 2022-01-28T14:14:03.843+00:00
Moinuddin Mohamed 46 Reputation points
accepted 2022-02-02T10:02:49.043+00:00
Moinuddin Mohamed 46 Reputation points
0 answers

The problem of sending data over the socket

hi Send data via socket from Android to computer. The code works without problems. The problem comes if the computer is disconnected from the Internet during transmission. The program stops in Android and stops the interface Is there a way to use the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-01-24T01:20:39.627+00:00
ahmedAlie 161 Reputation points
commented 2022-02-02T09:39:47.773+00:00
JarvanZhang 23,951 Reputation points
1 answer

Modeling with Dynamic Properties and Form

Hello and thank you for any help you may provide. I have a problem that is in my head for the past week and that I can't resolve and I will appreciate any help in resolving it. In my head I would like to classify objects by category and sub-category, and…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-01-29T00:21:17.507+00:00
Guillermo Perez 26 Reputation points
commented 2022-02-02T09:01:41.353+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WinForms RichTextBox - InvalidOperationException: Cannot load the text - happens only in .Net 6

I'm using System.Windows.Forms.RichTextBox, and have the following code: var testRichTextBox = new System.Windows.Forms.RichTextBox(); var testText = @"{\rtf1\ansi\deff0{\fonttbl{\f0 Courier New;}}{\colortbl\red0\green0\blue0;}\fs20{\cf0…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 questions
asked 2022-02-01T16:31:27.447+00:00
WPF-Learner 106 Reputation points
accepted 2022-02-02T08:56:03.45+00:00
WPF-Learner 106 Reputation points
0 answers

Android and SSL Certificate

Hi, I'm using Xamarin Forms and I want to access XML file from Android app to check for existing updates, I was using Plesk hosting but now Let's Encrypt SSL does not support Android operating systems before 7.1.1. App crashes here: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 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,308 questions
asked 2022-02-01T16:30:31.687+00:00
Yusuf 691 Reputation points
commented 2022-02-02T08:46:03.417+00:00
JarvanZhang 23,951 Reputation points
1 answer

How does the new security update (Microsoft Certification Based Authentication - MC316448) will affect Basic Authentication feature in IIS?

Hi I have a scenario where a couple of web apps are hosted on Windows servers of our customer base. All the articles point to the changes for security defaults in Office 365 after March. I understand this is just for Exchange and other Microsoft apps. …

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-02-01T11:31:27.72+00:00
Indrani Gajjarapu 1 Reputation point
answered 2022-02-02T06:03:40.647+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer

Shell Navigation Breaks When Navigating Back to Top-Level Tab Bar ContentPage

I have a Shell navigation structure defined like this: Items.Add( new TabBar() { Items = { new ShellContent { Icon = ImageSource.FromResource( "HomeIcon" ), ContentTemplate = new…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-01-12T08:12:55.913+00:00
EasyGoingPat 261 Reputation points
commented 2022-02-02T05:58:00.16+00:00
JarvanZhang 23,951 Reputation points
3 answers

Discrepancy between .Net SDK version shown on the website and Display version shown on the Registry

Hi There, When we install Microsoft .Net SDK 6.0.100, the display version available on the registry is "6.1.21.52711".But, the actual version that is mentioned on the website is "6.0.100". Even the products that are included…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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,126 questions
asked 2022-01-25T09:05:42.933+00:00
Dhanraj D 6 Reputation points
answered 2022-02-02T05:38:56.857+00:00
Dhanraj D 6 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with trying to use multiple identities .net core 5.0

Hi everyone, I am new to asp.net core and i started working on asp.net from version 5.0 core. I have switched to asp.net from laravel php framework. This was my brief introduction. I have been working on asp.net and using database first approach i…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 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 2021-12-22T06:03:33.043+00:00
BBK_Developer 26 Reputation points
accepted 2022-02-02T04:57:02.59+00:00
BBK_Developer 26 Reputation points
2 answers One of the answers was accepted by the question author.

Error while publishing code in View which has its controller return value JsonResult

Hi, I have added the following code in controller in which I am returning JsonResult and I am having this code in existing view that is : [HttpPost] public JsonResult GetVersionNumber(string testTypeName) { return Json(allowedVersion); } In 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-02-01T12:25:44.027+00:00
Santosh Umarani 81 Reputation points
answered 2022-02-02T04:50:36.073+00:00
Santosh Umarani 81 Reputation points
0 answers

Scrivere applicazioni per mac

Come posso iniziare a scrivere applicazioni compatibili con Apple Mac con c#?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-02-01T08:03:25.52+00:00
Marco russo 1 Reputation point
commented 2022-02-02T03:42:17.433+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
0 answers

Dot Net core 6

we are migrating dot net core 5 to 6 .And as part of dot net core 6 we have made the following changes 1.)Installed the Dot Net Core 6 SDK 2.) Updated the NuGet Packages as part of Version 6 3.)Made required changes in Program.Cs and Startup.Cs file And…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-02-01T07:38:31.237+00:00
Huded, Hamidabanu 0 Reputation points
commented 2022-02-02T02:05:37.593+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Manage Azure with C# .Net 5 - Add Custom Domain and App Service Managed Certificate to Azure App Service

Hello all. I am following a sample from https://github.com/davidebbo/AzureWebsitesSamples private static ResourceManagementClient _resourceGroupClient; private static WebSiteManagementClient _websiteClient; private static AzureEnvironment…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,958 questions
asked 2022-01-16T19:45:10.237+00:00
David Warwick 121 Reputation points
commented 2022-02-02T00:35:22.557+00:00
David Warwick 121 Reputation points
2 answers

App Service not getting requests from its external IP

I currently have an asp.net core middleware app currently running on a server and I want to move it to an Azure app service. This app is used to take requests from various domains that we own and redirect them to the appropriate URL. So the domains we…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,958 questions
asked 2022-01-13T20:56:11.78+00:00
Adam 1 Reputation point
answered 2022-02-01T20:25:35.35+00:00
Adam 1 Reputation point