25,032 questions with .NET-related tags

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

Navigation.PushModalAsync() does nothing

Hello, I've a Shell-based XF app and upgraded recently from 4.6.0.847 to (currently) 5.0.0.1931. On some page, I handle a tap event like that: void OnEditClicked(System.Object sender, System.EventArgs e) { // Additional…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-11T16:55:54.177+00:00
Xavier Perseguers 121 Reputation points
accepted 2021-02-14T09:02:12.993+00:00
Xavier Perseguers 121 Reputation points
3 answers One of the answers was accepted by the question author.

Data mismatch Error

I have a query that is run to update values changed during editing of controls on a form. When the query is run I get the error message stating, "Data type mismatch in criteria expression.". This only occurs if one of the text boxes with…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
asked 2021-01-27T01:40:18.163+00:00
Glenn Walker 251 Reputation points
accepted 2021-02-14T04:23:08.577+00:00
Glenn Walker 251 Reputation points
0 answers

Need some logic advice

This is not specifically about VB Net except that is what I am using to create the program. Trying to make a "Numbrix" puzzle. If you aren't familiar with Numbrix, it's a 9x9 grid of numbers where the requirement is simple, you must be able to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,649 questions
asked 2021-01-25T01:41:12.497+00:00
Devon Nullman 21 Reputation points
commented 2021-02-14T02:30:39.463+00:00
Devon Nullman 21 Reputation points
1 answer One of the answers was accepted by the question author.

Upgraded Xamarin Forms and Essentials to latest version and now app will not build

HI all, I have a Xamarin Forms Android project that I developed a couple of years ago and it was using an older version of Xamarin Esssentials and Forms (can't remember the versions sorry) but now after updating both Xamarin.Essentials to v1.6.1 and …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-07T05:07:18.397+00:00
MikeC 21 Reputation points
commented 2021-02-13T23:47:28.763+00:00
MikeC 21 Reputation points
3 answers One of the answers was accepted by the question author.

DataGridView - How to Bind columns in Row to List/Array/IEnumerable

Okay, So i've got essentially a BindingList<BindingList<string>> . I've managed to create the columns, and when I set the DataGridView.DataSource = myNestedBList, i get the number of rows showed in the grid. When I break at the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 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,650 questions
asked 2021-02-13T19:11:59.063+00:00
Jaeden Ruiner 126 Reputation points
accepted 2021-02-13T22:57:24.12+00:00
Jaeden Ruiner 126 Reputation points
3 answers

Datagridview selectedvalue where there are duplicate display column entries.

Is there anyway that anyone knows, that you can coerce a datagridview combobox column to use the combox's selected value, rather than it's default behaviour. For reasons I cannot fathom, the DGV combobox column, instead of using the selectedvalue…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
asked 2021-02-12T16:10:43.56+00:00
Arkady Bron 1 Reputation point
answered 2021-02-13T22:30:33.233+00:00
Arkady Bron 1 Reputation point
2 answers

Web Application Without Model

Is there any other way to create an ASP.NET Web Application .NET Framework (as Frontend) without using a Model class? I'm using ASP.NET Core Web Application as Backend.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,402 questions
asked 2021-02-11T03:03:27.207+00:00
Jela 1 Reputation point
answered 2021-02-13T20:39:17.573+00:00
Duane Arnold 3,216 Reputation points
1 answer One of the answers was accepted by the question author.

C++/CLI ManagmentObjectSearcher using

private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { ManagementObjectSearcher^ searcher = gcnew ManagementObjectSearcher("select*from Win32_BIOS "); lb1->Text = Convert::ToString(searcher); } Hello, I…

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,650 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,637 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,141 questions
asked 2021-02-13T17:18:31.143+00:00
Wami007 296 Reputation points
commented 2021-02-13T19:07:06.557+00:00
Wami007 296 Reputation points
1 answer One of the answers was accepted by the question author.

Cannot Receive_SMS

I want to receive a message from my application,I've followed a few post discussing about the same topic,tried reproducing the same thing but cant receive a message on my app.When I receive a message a toast pops up ,after that I can click the button and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-07T08:48:36.613+00:00
Owais Ahmed 81 Reputation points
accepted 2021-02-13T18:55:19.55+00:00
Owais Ahmed 81 Reputation points
2 answers One of the answers was accepted by the question author.

Create a list of dropdown lists in Xamarin.Forms(Xaml)

If we have a model of... Let's say a pizza. public class Pizza { public int IdPizza { get; set; } public string? PizzaName { get; set; } public string? CountryOfOrigin { get; set; } public…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-01-25T08:41:09.14+00:00
TheRomanianWarrior 21 Reputation points
commented 2021-02-13T10:57:58.58+00:00
TheRomanianWarrior 21 Reputation points
1 answer One of the answers was accepted by the question author.

BROWSE FOLDERS IN THE CLOUD

My desktop application in C# needs to save certain files in a folder selected by the user. FolderBrowserDialog can do the job, but only for local folders, it does not 'see' the network and in particular the cloud. How can I allow the user select a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 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,650 questions
asked 2021-02-07T08:33:40.427+00:00
Giorgio Sfiligoi 146 Reputation points
commented 2021-02-13T08:53:00.853+00:00
Giorgio Sfiligoi 146 Reputation points
1 answer

When Combobox SelectedValue of property of first item is null following items property is set to null

I am looking for some advice on how to address an issue I have due I think to nullable int type used for SelectedValue binding on a combobox. What I observe is that if the property (which is derived from an object in ViewModel that is populated from a…

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,710 questions
asked 2021-02-13T02:16:36.94+00:00
scott thomson 66 Reputation points
answered 2021-02-13T08:10:41.177+00:00
scott thomson 66 Reputation points
1 answer One of the answers was accepted by the question author.

access shared folder from Tow IIS server.

i am using .net core 3.1.18 web api hosted in IIS. i have load balancer hosting the api on two windows server. i am writing a file since i need to access the file from from two server i am using UNC path for folder sharing. i need to access a shared…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,402 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,418 questions
asked 2020-11-20T03:11:24.67+00:00
Somnath Shukla 411 Reputation points
accepted 2021-02-13T04:20:00.67+00:00
Somnath Shukla 411 Reputation points
1 answer

Advice - Developing a business application for Azure to replace an old style desktop program

The main program that currently runs our business (Purchasing, Sales, Warehouse, Stock Control, Works Orders) is a VB.net windows forms desktop program linking to an MS SQL Database on-premise. The current program is written inhouse and has developed…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
asked 2021-02-11T13:30:28.473+00:00
Richard Dunning 6 Reputation points
commented 2021-02-13T03:35:43.74+00:00
brtrach-MSFT 15,866 Reputation points Microsoft Employee
0 answers

Pulling Docker Image failed for AML job

Hi, I got the error "Running Docker Command attempt 1 failed with err: exit status 1,Error response from daemon: Getting ..." when I was trying to pull a docker image from azurecr.io, as showed in the above image. I am wondering…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,649 questions
asked 2021-02-13T01:08:03.76+00:00
Xingchao Peng 6 Reputation points
0 answers

How to restrict google maps api key for usage in xamarin forms?

Hello, I am consuming some google maps place api endpoints from my app, using http client. So basically, it's like consuming it from postman or from any web client. Something like this: var response = await…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-12T23:52:05.767+00:00
Stesvis 1,041 Reputation points
2 answers

Difference between Data Member and Feilds

Whats the Difference between Data Member and Feilds

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,649 questions
asked 2021-02-11T23:14:55.643+00:00
rupeshkumar 1 Reputation point
answered 2021-02-12T18:06:43.287+00:00
Sam of Simple Samples 5,531 Reputation points
1 answer One of the answers was accepted by the question author.

Very slow database creation within Azure function project deployed to Premium plan

Something I have discovered whilst investigating some performance issues is that it is taking entity framework between 6 and 7 seconds to perform the first database operation (the database has 152 tables) when deployed into an Azure Premium Function…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,679 questions
asked 2021-02-12T13:54:29.103+00:00
Andrew HB 321 Reputation points
accepted 2021-02-12T14:46:59.307+00:00
Andrew HB 321 Reputation points
0 answers

Docker for windows (Linux container) + Windows authentication

We are running our node services on linux-docker containers. We are using Docker for windows and able to use linux container. Now, how to be able to authenticate to MSSQL from inside the linux container? Kerberos is a choice, but it looks like it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,649 questions
asked 2021-02-12T11:14:35.823+00:00
Leo Pragi 11 Reputation points
1 answer One of the answers was accepted by the question author.

Registering a document type for iOS image sharing from Photos

I would like to have my xamarin forms app appear in the list of possible targets of the image share in the iOS Photos app. I followed the directions in this blog: https://codemilltech.com/sending-files-to-a-xamarin-forms-app-part-1-ios/ Changing it…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-11T12:14:51.547+00:00
Jose Simas 21 Reputation points
accepted 2021-02-12T09:48:30.253+00:00
Jose Simas 21 Reputation points