16,466 questions with .NET-related tags

Sort by: Updated
1 answer

Configuration system failed to initialize ---> System.NullReferenceException: Object reference not set to an instance of an object.

After months running without any issues/without any changes to the application/server, one of our ASP.NET (MVC/.NET Framework 4.x) applications failed with "Configuration system failed to initialize" every time that access to the configuration…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2021-02-04T13:00:09.907+00:00
Sal Datoccio 96 Reputation points
commented 2021-02-04T15:40:41.603+00:00
Michael Taylor 57,396 Reputation points
1 answer One of the answers was accepted by the question author.

how to work with VS and Xamarin.Forms on a fresh installed MacOS Mojave?

hi, installed MacOS Mojave again on my MacBook Air after many problems with Big Sur ... so how do i install VS and Xamarin.Forms on Mojave? i cannot find any version that works with Xcode 11.3.1 ... is there a complete package or may i install…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-04T10:45:56.163+00:00
andreas krahn 96 Reputation points
accepted 2021-02-04T11:19:20.01+00:00
andreas krahn 96 Reputation points
1 answer

A connection was successfully established with the server. But then an error occurred during the pre-login handshake.(provider: TCP Provider, error: 0- The semaphore timeout period has expired)

Hello Senior!!, Now I facing this error("A connection was successfully established with the server. But then an error occurred during the pre-login handshake.(provider: TCP Provider, error: 0- The semaphore timeout period has expired)…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
922 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.
11,341 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,200 questions
asked 2021-01-12T05:17:15.153+00:00
wint zarchi htun 6 Reputation points
answered 2021-02-04T10:32:39.293+00:00
Zlatko Lovcevic 26 Reputation points
2 answers

Shell redirection

Hello! I am using Shell as my main page. When entering the application, if the user is not authenticated, then he goes to the page that he should not see. Is there some way to redirect the user to the login page if they are not authenticated?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-01-30T16:10:20.017+00:00
commented 2021-02-04T10:19:30.263+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,021 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

What does mean "Error updating Objective-C type information"?

Hello. I use VS for Mac Community 8.8.6 and Xcode 12.4, under MacOS 11.1. I can build my Cocoa project with no error, and execute it. But, for some weeks, when I try to open a storyboard (in the Solution column), VS displays "Error updating…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-01-29T15:46:57.223+00:00
Gilbert Tordeur 146 Reputation points
accepted 2021-02-04T08:52:44.363+00:00
Gilbert Tordeur 146 Reputation points
0 answers

Cmdlet out-display in Powershell stopped working

Making a rebuild of my GITHUB repository running DOCKER in BINDER to get a fresh NOTEBOOK in JUPYTERLAB I had to use a new version of .NETS interactive tool: global Microsoft.dotnet-interactive --version 1.0.155302 --add-source…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,200 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,200 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
asked 2021-02-04T08:22:18.003+00:00
Henning Reckey 1 Reputation point
0 answers

Cmdlet out-display in Powershell stopped working

Making a rebuild of my GITHUB repository running DOCKER in BINDER to get a fresh NOTEBOOK in JUPYTERLAB I had to use a new version of .NETS interactive tool: global Microsoft.dotnet-interactive --version 1.0.155302 --add-source…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,200 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,200 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
asked 2021-02-04T08:22:18.003+00:00
Henning Reckey 1 Reputation point
1 answer

Why am I not getting a .dSYM file when I build my iOS app?

I have an App the has been submitted to Apple Play Store that they are failing because it's crashing on startup. Works fine here so I need to get the .dSYM file so I can figure out where it's crashing. I have the crash report from Apple, I just need to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-03T04:39:48.61+00:00
Brien King 1 Reputation point
commented 2021-02-04T08:05:46.757+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer

WebView inside ScrollView not scrolling.

Hi, I have below code and it does not work for me. The WebView is just not scrolling and cannot read the full article. How can I fix this please? <ScrollView Grid.Row="0" Margin="0" HorizontalOptions="FillAndExpand"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-02T19:19:43.727+00:00
jrahma 116 Reputation points
commented 2021-02-04T06:29:54.257+00:00
JessieZhang-MSFT 7,716 Reputation points Microsoft External Staff
1 answer

Microsoft.Office.Interop.Excel.dll is it require on host PC.

I have created an application in VB.net on Visual Studio 2017. I have referenced Microsoft.Office.Interop.Excel.dll with Embed Interop Types set to True. However when I run the compiled software on a friends machine (running Microsoft 365) the print…

.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,200 questions
asked 2021-02-03T19:47:44.973+00:00
Dave the Golfer 1 Reputation point
answered 2021-02-04T02:58:56.857+00:00
Jerry Cai-MSFT 991 Reputation points
1 answer

i want that my xamarin app keep working in background

Hi, i am developing an app with xamarin for iOS and android. and i want to keep my app working even if the phone is in my pocket and recieving notifications . Please i need help .

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-03T14:30:49.627+00:00
bilel miled 21 Reputation points
answered 2021-02-04T02:09:23.033+00:00
JessieZhang-MSFT 7,716 Reputation points Microsoft External Staff
2 answers

How to create valid setup project for NET 5.0 solution having multiple interlaced exe projects sharing same dlls?

Hi! I have upgraded multi project windows Framework 4.8 solution to NET 5.0. and... Microsoft Visual Studio Installer Projects 0.9.9. setup project is having trouble recognizing shared dll-s. Details... Setup's target installation is,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 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,200 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,862 questions
asked 2021-02-01T17:53:15.753+00:00
vb 286 Reputation points
commented 2021-02-03T21:26:04.007+00:00
vb 286 Reputation points
1 answer

Exercise - Scale a web app manually - app doesn't run

While studying the Azure exercise "Scale an App Service web app to efficiently meet demand with App Service scale up and scale out" part 3, I input the command to run the web app, and go t the following output: dotnet run It was not possible to…

.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,200 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,505 questions
asked 2021-01-28T20:38:36.143+00:00
Dan Py 1 Reputation point
commented 2021-02-03T18:16:37.587+00:00
Grmacjon-MSFT 18,901 Reputation points
2 answers One of the answers was accepted by the question author.

How to prebuild C# generics before runtime

Hi, Currently, C# generics are built at runtime. First time, generics execution is very slow because runtime compilation. How to avoid runtime compilation...how to get target x64 or x86 binaries where generics are already compiled to native binary. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
343 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.
11,341 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,200 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,862 questions
asked 2021-01-14T14:45:11.157+00:00
vb 286 Reputation points
commented 2021-02-03T17:40:16.69+00:00
vb 286 Reputation points
2 answers One of the answers was accepted by the question author.

Skiasharp - Detected Selected Touch Point

Hi In this example there are four touch points TouchPoints[0], touchPoints1, touchPoints[2] and touchPoints[3] …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-01-31T12:59:31.557+00:00
Yusuf 791 Reputation points
commented 2021-02-03T16:19:55.137+00:00
Yusuf 791 Reputation points
2 answers One of the answers was accepted by the question author.

ZIndex Changes Unexpectedly

I have a DataTemplate containing several basic elements (a Grid containing Label(s) and Button(s)). Some of the Label(s) are on top of the Button(s) (they have the same Grid.Column & Grid.Row). However, at certain points when I click the Button the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-02T20:25:22.417+00:00
Nathan Sokalski 4,111 Reputation points
accepted 2021-02-03T16:07:52.467+00:00
Nathan Sokalski 4,111 Reputation points
1 answer One of the answers was accepted by the question author.

CollectionView: change selected Label textcolor

CollectionView Selected Item Highlight Colour In this example is it possible to change the Grid background color when the items is selected. I would like to change the grid background color AND the Label TextColor Is it possibile with…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-03T10:48:42.733+00:00
Alessandro Caliaro 4,196 Reputation points
accepted 2021-02-03T14:18:20.987+00:00
Alessandro Caliaro 4,196 Reputation points
1 answer One of the answers was accepted by the question author.

How can I use IDisposable in a class derived from a class that's implementing IDisposable already?

I'm trying to understand how Finalizers and IDisposable are supposed relate to each other in a class hierarchy. Given I have a class that's deriving from a base class, both classes have unmanaged resources. How would I implement Finalizers and…

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.
11,341 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,200 questions
asked 2021-02-03T00:15:00.963+00:00
AxD 671 Reputation points
commented 2021-02-03T12:57:15.63+00:00
AxD 671 Reputation points
1 answer One of the answers was accepted by the question author.

Crashes on Testflight launch

Xamarin project on windows visual studio. Trying to use testflight and eventually apple store. The crash occurred on my 8th Gen Ipad The app crashes upon launch on testflight. No pages just immediately crashes and generates log. I assume this is a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
asked 2021-02-03T11:00:57.9+00:00
Devon Daigneault 101 Reputation points
accepted 2021-02-03T12:48:38.84+00:00
Devon Daigneault 101 Reputation points
0 answers

What should be binding in WCF Client for calling SOAP web service with OAuth Authentication

Hello, I am having WCF client which consumes SOAP based web service which has OAuth authentication. My WCF service gets consumed by some other service but my issue is about authentication when it consumes web service. My WCF client, consumes web…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
asked 2021-02-03T00:11:41.347+00:00
Patel, Manoj (IST) 1 Reputation point
commented 2021-02-03T10:12:45.603+00:00
Patel, Manoj (IST) 1 Reputation point