25,803 questions with .NET-related tags

Sort by: Updated
1 answer

Application_start event not firing in server, but works just fine in debug.

We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,483 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,922 questions
asked 2024-10-08T00:55:19.7766667+00:00
Anish Soman 20 Reputation points
answered 2024-10-08T17:12:45.1666667+00:00
Bruce (SqlWork.com) 65,211 Reputation points
1 answer

Get user data before downloading the application

I'm trying to add a login page to an Android app. There are no problems with the page itself, the issue is how to get user data before loading the app, namely. public partial class App : Application { public App() { InitializeComponent(); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-10-04T07:06:07.21+00:00
валера карманов 141 Reputation points
commented 2024-10-08T17:09:34.1433333+00:00
валера карманов 141 Reputation points
1 answer One of the answers was accepted by the question author.

Change the color of the selected element

How to change the background of the element that was clicked in the "CollectionView" what can be done so that the selection animation affects the inner area of ​​the clicked element.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-10-05T16:30:59.3966667+00:00
валера карманов 141 Reputation points
accepted 2024-10-08T16:53:22.49+00:00
валера карманов 141 Reputation points
0 answers

How to make "RefreshView" friends with "AbsoluteLayout"

public CollectionPage() : base() { collection.SelectionChanged += _OnSelectionChanged; collection.ItemTemplate = GetDataTemplate(); LoadedCollection(); refresh.Command = new Command(LoadedCollection); refresh.Content = collection; var fabButton…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-10-08T16:42:53.7533333+00:00
валера карманов 141 Reputation points
1 answer

Blazor Server with Entity Framework Core Code First

Hello, we are currently evaluating the usability of Entity Framework Core Code First in a Blazor Server application. We try to migrate from a Database First approach where we created a DbContext instance (by a IDbContextFactory) per database…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
741 questions
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,578 questions
asked 2024-10-04T11:46:31.28+00:00
Sieber, Richard 0 Reputation points
answered 2024-10-08T16:19:24.9033333+00:00
Bruce (SqlWork.com) 65,211 Reputation points
1 answer

EntityFramework not getting results when comparing timestamp on version 6.5.1

We recently update our version on Entity Framework from 6.4.4 to 6.5.1 and I start seeing issues in our jobs when trying to pull data by timestamp. on the LINQ query we have we match by timestamp and we start getting zero results when we expect data as…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,845 questions
asked 2024-09-30T18:15:49.7433333+00:00
Jose Lara 0 Reputation points
commented 2024-10-08T15:11:49.12+00:00
Jose Lara 0 Reputation points
2 answers

Why can't I initialize an Init property directly/without the use of an Object Initializer?

Hello, We can initialize the Init property with Object Initializer. In fact, an Object initializer is equivalent to the variable/property initializer. If the compiler translates an Object initializer to a conventional variable initialization, Why can't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,845 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,922 questions
asked 2024-10-08T06:23:29.4333333+00:00
Shervan360 1,561 Reputation points
answered 2024-10-08T15:11:00.2833333+00:00
Bruce (SqlWork.com) 65,211 Reputation points
0 answers

Theming of WPF dialog not working for all controls on the dialog

Hi, I need to change color/theme of all controls on WPF dialog whenever there is change of theme from VS2022 (i.e. Tools -> Options -> Color Theme ) I followed below MSDN…

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,774 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,114 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,922 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
218 questions
asked 2024-10-04T14:07:53.0266667+00:00
Ajay Gera 40 Reputation points
commented 2024-10-08T14:55:09.66+00:00
Ajay Gera 40 Reputation points
0 answers

What a stupid debugging

Explain to whom this nonsense is being displayed, what can be understood here?How can I find where the error occurred?????

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-10-08T14:51:47.78+00:00
валера карманов 141 Reputation points
0 answers

Jaws screen reader /Narrator does not read selected value of combo box control which contains tree view control in wpf

Hi, I have created one combo box control and inside ComboBox.Template I have added one tree view control. Basically one Combobox user control which on expanding shows contents as treeview control. Combox selected item is bound with item which is selected…

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,774 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,114 questions
asked 2024-10-08T14:42:51.84+00:00
Ajay Gera 40 Reputation points
0 answers

LoginUser_Authenticate() method not being hit when app deployed to app service

Assistance Needed with ASP.NET Web Application on Azure App Service Good day guys, I recently deployed an ASP.NET web application, which I upgraded to .NET Framework 4.8, to Azure App Service. However, when I attempt to log in to the web app, the page…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,555 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,483 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,764 questions
asked 2024-10-01T08:46:48.3466667+00:00
Tony 61 Reputation points
commented 2024-10-08T12:43:41.2466667+00:00
Digvijay Chauhan 1 Reputation point
1 answer

Xamarin Forms / API Level 34 / Deployment Failed

While migrating the mobile app to some new tech, we need to deploy an update to our current app which requires Android 14. I've updated the AndroidManifest.xml to 34: <uses-sdk android:minSdkVersion="28"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,349 questions
asked 2024-10-04T15:53:27.25+00:00
CSharpest 0 Reputation points
commented 2024-10-08T12:17:33.5666667+00:00
CSharpest 0 Reputation points
0 answers

Bing api map error on windows

Hello, I am using Bing maps API, to show a map, with a pin in my tubines page, I have a button to call a pop up and add a new turbine public partial class AddTurbnePopUpViewModel(DeviceLanguageService deviceLanguageService, TurbinesService…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-09-29T13:38:30.6733333+00:00
Eduardo Gomez Romero 565 Reputation points
commented 2024-10-08T11:22:24.0333333+00:00
Eduardo Gomez Romero 565 Reputation points
8 answers One of the answers was accepted by the question author.

.NET Framework 4.8 on Windows Server 2019 - installation failes

I have tried the solutions in other questions regarding installation failures of .NET Framework 4.8, but nothing have helped me so far. The server is fully patched and rebooted. (Note! We use a WSUS but I do not know what updates are allowed or…

.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,160 questions
asked 2021-06-17T15:06:41.08+00:00
Kristofer 141 Reputation points
commented 2024-10-08T11:17:24.6033333+00:00
Graham Dutton 0 Reputation points
1 answer One of the answers was accepted by the question author.

Custom splash screen

I have an Image And I want this image, to be the splash screen of my app. my image is 405 x 405 Right now I have this And I have an android 12 and I do not see Anything, also the image gets cut of I see it too small for a Splash in the emulator …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-10-06T01:06:18.14+00:00
Eduardo Gomez Romero 565 Reputation points
commented 2024-10-08T11:15:37.88+00:00
Eduardo Gomez Romero 565 Reputation points
1 answer

pop up animation

I have an poup that is opening with an animation private async void PopUpBorder_Loaded(object sender, EventArgs e) { PopUpBorder.Scale = 0.5; PopUpBorder.Opacity = 0; await Task.WhenAll(new Task[] { PopUpBorder.ScaleTo(1,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-09-28T18:10:20.6733333+00:00
Eduardo Gomez Romero 565 Reputation points
commented 2024-10-08T10:57:35.5666667+00:00
Eduardo Gomez Romero 565 Reputation points
0 answers

Adding an element to the right of the title

public PackagesPage() : base() { Title = "PackagesPage"; NavigationPage.SetTitleView(this, new Label { Text = "Add package" }); } Why is the "Label" element not added?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 questions
asked 2024-10-08T10:41:23.1733333+00:00
валера карманов 141 Reputation points
commented 2024-10-08T10:44:34.8433333+00:00
валера карманов 141 Reputation points
0 answers

Publishing MAUI Project on Windows: Grayed Out Option

I want to publish my MAUI project on the Windows platform, but the publishing option is grayed out. What steps can be taken to resolve this issue? Here's my C# project configuration: <Project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,499 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,922 questions
asked 2024-10-05T14:00:54.4366667+00:00
Smith Tom 65 Reputation points
commented 2024-10-08T10:20:55.11+00:00
studio XFE 65 Reputation points
2 answers

JAWS or windows narrator not working/announcing localized description of enum bind to combo box for wpf application

Hi, I am using JAWS screen reader / windows narrator on wpf dialog for wpf application. But reader does not says/announce/speaks about description of enum bound to combobox in WPF c# application. Screen reader speaks/announce enumerator rather than…

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,774 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,922 questions
asked 2024-09-27T15:19:25.7666667+00:00
Ajay Gera 40 Reputation points
commented 2024-10-08T09:51:32.8233333+00:00
Hongrui Yu-MSFT 1,995 Reputation points Microsoft Vendor
1 answer

How to persist RateLimiter tokens?

I am using .Net RateLimiting and specifically the TokenBucketRateLimiter. Example: services.AddRateLimiter(limiterOptions => { limiterOptions.AddPolicy(userPolicyName, context => { string username = Utils.getUsername(context); return…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,555 questions
asked 2024-10-08T09:06:00.62+00:00
Dillion 6 Reputation points
answered 2024-10-08T09:35:53.4366667+00:00
Jason 76 Reputation points