23,884 questions with .NET-related tags

Sort by: Updated
0 answers

Visual studio M1 Mac Xamarin Android Emulator

Hi - have just moved to an M1 mac, can't seem to get the Android emulator running, please can you advise the necessary steps to get this working with Visual Studio and Xamarin?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-03-23T07:51:27.077+00:00
SSB 86 Reputation points
commented 2022-03-30T06:11:22.71+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,571 Reputation points Microsoft Vendor
0 answers

What this means, "**SQLite.SQLiteException:** 'no more rows available'"?

The database version in my app has changed. So I was trying to migrate old data to new database. My methods work fine on Android emulator and iOS simulator & device. But on Android device (Samsung A01 running Android 10) I am getting the above…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 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,714 questions
asked 2022-03-29T15:27:36.353+00:00
Shantimohan Elchuri 721 Reputation points
commented 2022-03-30T05:02:24.52+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,571 Reputation points Microsoft Vendor
4 answers

Automatically paging items for two asp.net repeaters.

I want the items inside repeater paged automatically as I have two separate repeaters . each item different question , I want 1,2,3... for each one. Note : server is not allowed me to post my code.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2022-03-27T08:27:28.233+00:00
Maitha 21 Reputation points
commented 2022-03-30T03:06:17.857+00:00
Lan Huang-MSFT 25,551 Reputation points Microsoft Vendor
1 answer

Copying excel sheet data from folder and dispalying in datagridview in c# selenium

I am copying excel sheet data from folder and displaying in datagridview without using database and getting error like this way "System.InvalidOperationException: 'Cross-thread operation not valid: Control 'dataGridView1' accessed from a thread…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,374 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 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,247 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,119 questions
asked 2022-03-29T11:40:16.237+00:00
Rakesh kumar 106 Reputation points
answered 2022-03-30T02:28:24.12+00:00
Viorel 112.1K Reputation points
1 answer One of the answers was accepted by the question author.

Why is OnCreate Called Multiple Times?

I have a single-Activity app for which I am working on handling rotation. In all my other apps I did this by handling OnPause & OnResume. I thought OnCreate was called only once (when the app first starts), but it seems like it is being called every…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-03-30T00:46:54.393+00:00
Nathan Sokalski 4,116 Reputation points
accepted 2022-03-30T01:58:55.267+00:00
Nathan Sokalski 4,116 Reputation points
1 answer One of the answers was accepted by the question author.

Is {Settings.Secure.AndroidId} Field permanent?

It says "A 64-bit number (as a hex string) that is randomly generated on the device's first boot and should remain constant for the lifetime of the device". My question is, does this number never change even when …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-03-28T21:08:03.98+00:00
fordicuso 41 Reputation points
accepted 2022-03-30T00:40:09.857+00:00
fordicuso 41 Reputation points
3 answers One of the answers was accepted by the question author.

Javascript library or framework to use in Razor Pages

Hi I'm not a big fan of SPAs I'm using razor pages most of the time and it has always been jquery, jquery ui and bootstrap. (Jquery is becoming obsolete or is it already?) are there any new javascript library and/or frameworks out there that I can use…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,164 questions
asked 2022-03-04T09:16:05.93+00:00
John Patrick S. Po 41 Reputation points
accepted 2022-03-30T00:39:17.983+00:00
John Patrick S. Po 41 Reputation points
0 answers

Windows Azure Management API is configured for use by Azure Active Directory users only. Please do not use the /consumers endpoint to serve this request.

Multiple Visual Studio customers are running into this issue while trying to retrieve the Azure AD B2C tenant information from the 'dotnet msidentity tool'. dotnet msidentity tool code is here: https://github.com/dotnet/scaffolding Error…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,374 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,605 questions
asked 2022-03-25T00:47:50.43+00:00
Vijay Ramakrishnan 1 Reputation point Microsoft Employee
commented 2022-03-29T22:06:01.95+00:00
JamesTran-MSFT 36,371 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Asp.net: user fails to login after changing password and store it in an encrypted format in the database.

I'm trying to implement change password for user in asp.net. the problem I'm facing is that after changing the password and save it in encrypted format in the database the user can no longer login unless he enters the encrypted password. My aspx: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,714 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2022-03-28T07:14:46.383+00:00
mush 181 Reputation points
answered 2022-03-29T20:23:33.317+00:00
Bruce (SqlWork.com) 56,021 Reputation points
1 answer

link to my winform ui app in Azure

hi I have a ui winform application that I want it's to be with free access to everyone on the web by a link in my Azure's account how i achieve this. very thank you

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 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,247 questions
asked 2022-03-25T10:18:23.707+00:00
Haviv Elbsz 1,886 Reputation points
answered 2022-03-29T20:02:24.533+00:00
Marilee Turscak-MSFT 33,801 Reputation points Microsoft Employee
1 answer

.NET 3.X and .NET 6 issue

I've noticed an issue with .NET Core 3.X and .NET 6.  My scenario is as follows. I have the .NET 6 Hosting Bundle installed on a machine running some API's. This works fine and once an update is released I believe windows update is installing…

.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,119 questions
asked 2022-03-29T18:15:21.413+00:00
Adam Reynolds 1 Reputation point
answered 2022-03-29T19:54:20.54+00:00
Bruce (SqlWork.com) 56,021 Reputation points
2 answers One of the answers was accepted by the question author.

C# .net core - Nested Div with ID on button press load, but works on normal load. ViewComponent

I have a view component in my view and it works properly when its loaded one time. This view is part of a Slideshow so there are buttons on it. When the user clicks the next button it creates a duplicate outer div tag. Now with both of these divs…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,164 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,247 questions
asked 2022-03-28T16:35:57.263+00:00
Andrew Harkins 46 Reputation points
answered 2022-03-29T17:55:31.59+00:00
AgaveJoe 26,201 Reputation points
2 answers One of the answers was accepted by the question author.

Archived Xamarin.iOS app is not showing in Xcode Organizer window

I'm developing an application using Xamarin.Forms. Usually when I archive an iOS app, I can see the bundle in Xcode Organizer window. Sometimes I have to restart Xcode to see the new bundle. But now the new bundle is not showing in Xcode Organizer…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2021-10-19T12:47:07.337+00:00
Jalza 736 Reputation points
commented 2022-03-29T17:32:27.017+00:00
Mak Danich 1 Reputation point
4 answers One of the answers was accepted by the question author.

webforms - changing APP_Code classes kicks users out

Hi all, I'm pretty sure there is nothing I can do about this but wanted to ask anyway. I have a webforms 4.7fw app hosted internally (not internet facing). with 60 users on it. users login using IIS forms authentication. once authorized i pull…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2022-03-07T09:33:26.483+00:00
David Harrison 41 Reputation points
commented 2022-03-29T17:24:11.397+00:00
Albert Kallal 4,651 Reputation points
2 answers

Should i set gridview datatable as global variable and use it in crud function?

Hello, I am optimizing the code of crud gridview program and i intended to shorter duplicated code into global variable and function. Below is a part of the result of optimized code but i am not really for sure whether it will cause problem or the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,247 questions
asked 2022-03-25T01:00:43.72+00:00
Yu Fang Chin 1 Reputation point
answered 2022-03-29T17:14:31.31+00:00
Albert Kallal 4,651 Reputation points
1 answer

Page sizing in ASP FormView with enable paging

How display 4 items (each item many records ) in a page with enable paging in ASP FormViw ?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2022-03-29T05:49:58.837+00:00
Maitha 21 Reputation points
commented 2022-03-29T17:00:31.8+00:00
Albert Kallal 4,651 Reputation points
0 answers

Xamarin End of Support

We are working on developing a new mobile App using Xamarin framework and as per the current plans, it is expected to be ready by end of September time frame. However, we just realized that the current version of Xamarin may reach its end of Support in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-03-28T06:51:57.027+00:00
Rajan, Ajith 6 Reputation points
commented 2022-03-29T16:25:28.943+00:00
Rob Caplan - MSFT 5,412 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Merge ObservableCollections

Hello, I develope an App in Xamarin Forms. May Problem is follow: I have two ObservableCollections based on different sources. source SQL databas source cloud MSContacts = new ObservableRangeCollection<Kontacts>(); Contacts = new…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2022-03-28T11:42:13.377+00:00
Jürgen Keitzl 41 Reputation points
commented 2022-03-29T15:39:29.217+00:00
Jürgen Keitzl 41 Reputation points
1 answer One of the answers was accepted by the question author.

Submit buttons are not working

After button "Submit C" click it is not directed to OnPostAsyncC and after button "Submit R" click it is not directed to OnPostAsyncR . Below is the code: @Anonymous @默 Pro.Pages.PersonalPage.CreateNew @addTagHelper *,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,164 questions
asked 2022-03-29T13:01:33.07+00:00
S A 81 Reputation points
accepted 2022-03-29T15:16:12.023+00:00
S A 81 Reputation points
1 answer

About team development in vs

How to develop an asp.net core web app by team in visual studio 2019?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,164 questions
asked 2022-03-28T02:05:01.757+00:00
李畋岷 76 Reputation points
commented 2022-03-29T15:13:32.357+00:00
Bruce (SqlWork.com) 56,021 Reputation points