23,860 questions with .NET-related tags

Sort by: Updated
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,293 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,293 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,157 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,367 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,602 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,366 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,252 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,691 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,568 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) 55,601 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,827 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,234 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) 55,601 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,157 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,234 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,191 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,293 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,252 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,252 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,234 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,252 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,568 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,293 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,293 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,157 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,157 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) 55,601 Reputation points
1 answer

About changing a control's font .

In Windows Forms, when changing a control's font, does the control dispose the old one automatically? If so, what if this font (the old one) is used elsewhere? Thanks

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,827 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,234 questions
asked 2022-03-29T11:32:11.93+00:00
Adel 21 Reputation points
commented 2022-03-29T14:18:42.31+00:00
Adel 21 Reputation points
1 answer One of the answers was accepted by the question author.

how can i create rest api with swagger in xamarin.forms

i'm creating a xamarin.forms application so i'm using mvvm pattern and firebase as an SGBD, then i added a new application web ASP.NET core to the project and i implement swagger to build some REST API . but now i'm confused about how to do that: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 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,234 questions
asked 2022-03-28T20:49:07.093+00:00
gazdallah amira 21 Reputation points
accepted 2022-03-29T10:14:47.063+00:00
gazdallah amira 21 Reputation points
1 answer

zipFile.ExtractToDirectory() error

I can't unzip a file in the destination path. Every time I get this error message: System.UnauthorizedAccessException: 'Access to the path "/ storage / emulated / 0 / Download / Matrix 08_06.enc' is denied". In manifest I declared…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2022-03-26T13:34:16.353+00:00
Maddox 1 Reputation point
commented 2022-03-29T09:50:10.767+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
3 answers

What is the migration guidelines to migrate .NET Core 2.1 apps to .NET 6?

Hello! I'm looking for some guidance on migrating .NET Core 2.1 applications to .NET 6(Preview). As .NET 6 is going to be a LTS, I would like to migrate it. Thanks, Siva

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 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 2021-09-17T15:18:19.993+00:00
Sivakumar 1 Reputation point
commented 2022-03-29T09:15:04.343+00:00
Nagendran, Arun Prakash 1 Reputation point