23,716 questions with .NET-related tags

Sort by: Updated
1 answer

How to Fix: Applications .exe Fail to Start by Kernelbase.dll error

Hi all, I have encountered an issue as follows: The exe application I developed, when used with Windows 10 for a while, cannot be opened anymore. When I checked the Event Viewer, I saw an Application Error with KERNELBASE.dll. The detailed error is as…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,536 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 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,174 questions
asked 2024-04-16T02:16:36.7433333+00:00
Roy Nguyen 0 Reputation points
answered 2024-04-16T02:25:50.0933333+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,816 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
edited the question 2024-04-16T02:13:57.6666667+00:00
Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
0 answers

What is the max timeout for an API HTTP request in an Azure App Service Web App?

I have a NET 6 API deployed in a Web App in an Linux App Service plan with a P0v3 pricing plan. I would like to know the maximum timeout of a HTTP response because I have an endpoint whose execution time is currently of 20 minutes and would like to know…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,124 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,788 questions
asked 2024-04-15T16:29:48.36+00:00
Armando Cons Robles 0 Reputation points
commented 2024-04-16T01:40:49.87+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 questions
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,663 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
edited the question 2024-04-16T01:29:55.8666667+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can I change the splash screen when run it?

in android MAUI when I run the APP and will get data from server and I will get one image how to set the image to splash screen then I next open the APP it can show in the slpash screen?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-04-11T11:15:15.4+00:00
mc 3,621 Reputation points
commented 2024-04-16T01:22:45.0433333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,631 Reputation points Microsoft Vendor
0 answers

Edit directly in Grid on WEB Page in Razor

I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,124 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
edited a comment 2024-04-16T00:39:44.74+00:00
SurferOnWww 1,906 Reputation points
1 answer

is waiting for the debugger to attach error

Hello, I have installed Visual Studio Enterprice 2022 Preview 17.10.0 Preview 1.0, I also have the xamarin components. When debugging my Xamarin application I get this error and I don't know how to remove it "is waiting for the debugger to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
asked 2024-04-13T17:24:52.4533333+00:00
Salomon Cardos Uc 0 Reputation points
edited an answer 2024-04-15T23:41:19.1033333+00:00
Bruce (SqlWork.com) 54,621 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

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,372 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,231 Reputation points
edited a comment 2024-04-15T23:12:49.8666667+00:00
Bruce (SqlWork.com) 54,621 Reputation points
0 answers

iOS Splashscreen not showing up

I am upgrading a Xamarin.Forms project to MAUI. I have a splash.png image in the Resources\Splash folder. It is 414x720 in size. I have the correct entries in the project file as shown on this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-04-15T21:54:03+00:00
Tony Pitman 20 Reputation points
1 answer

Could not load file or assembly "System.Runtime" on Windows Server

I migrated a WPF project from .NET Framework to .NET 6 which builds fine on my local system (windows 11). However when I moved forward to Azure pipeline, we got this error and it can be replicated on a Windows Server 2022 VM. There are multiple .NET…

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,663 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,049 questions
asked 2024-04-12T21:44:36.36+00:00
zhangjinzhou 20 Reputation points
commented 2024-04-15T21:13:58.7933333+00:00
zhangjinzhou 20 Reputation points
1 answer One of the answers was accepted by the question author.

Looking to remove underline from Android Entry and Pickers in .NET Maui

I need to remove the underline in my .NET Maui application for entry and picker handlers. In addition to this, I need to set the background color to a custom color that I have. I have found ways to set the background color to transparent to remove the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-04-08T18:00:56.82+00:00
Isspro-eng 20 Reputation points
accepted 2024-04-15T21:01:02.3866667+00:00
Isspro-eng 20 Reputation points
1 answer

Azure B2C sign in page does not display company branding images on .NET clients only

We are using MSAL.NET with B2C to authenticate our users. We have a custom company logo and background image that we display when the user signs in to our application. In our Angular-based web portal, the sign in page displays correctly, but in our .NET…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,189 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,313 questions
asked 2024-04-12T16:26:31.89+00:00
Jordan Hariel 21 Reputation points
commented 2024-04-15T20:52:38.7+00:00
Jordan Hariel 21 Reputation points
1 answer One of the answers was accepted by the question author.

missing -f flag that indicates the name of the Dockerfile to use

Missing -f flag in example that indicates the name of the Dockerfile to use for "Customize a Docker image to run your own web app" --> https://learn.microsoft.com/en-us/training/modules/intro-to-containers/4-create-custom-docker-image

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,124 questions
asked 2024-04-15T18:20:51.85+00:00
Chad Sellers 0 Reputation points
accepted 2024-04-15T20:24:28.61+00:00
Chad Sellers 0 Reputation points
1 answer

How do I know if there is an update to .NET Maui?

I have an android app which has been created using .net MAUI  My requirement is to update the android app when an update becomes available Is there a way to have Azure email me or a group when that specific .net application has an update?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-04-15T19:21:14.2366667+00:00
Gregg Lazzara 0 Reputation points
answered 2024-04-15T20:20:21.1366667+00:00
Bruce (SqlWork.com) 54,621 Reputation points
0 answers

.Net 6 Ubuntu jammy 22.04 base image upgrade. Getting GSSAPI error

We are planning to upgrade our .Net core MVC application from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. This is our base image in the Docker file and the following line updates our package…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,124 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,236 questions
asked 2024-04-15T19:25:17.3266667+00:00
Saravanakumar Balachandran 20 Reputation points
2 answers

When running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator, an error is reported: Error adding record: MissingEntity

An error is reported when running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator. The error is [Error adding record: MissingEntitlement]. Is this not a permission in IOS? How should it be set?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2022-10-21T03:09:00.747+00:00
hm w 11 Reputation points
commented 2024-04-15T18:14:14.23+00:00
Raphaël Frébutte 0 Reputation points
1 answer

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-15T18:03:05.6433333+00:00
Eduardo Gomez Romero 185 Reputation points
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 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,174 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 201 Reputation points
edited the question 2024-04-15T17:55:08.6433333+00:00
Phunction 201 Reputation points
0 answers

Getting the following error when deploying a Blazor Server App using Deployment Center: Azure Repos

error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. My application runs fine locally and was…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 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,372 questions
asked 2024-04-15T17:46:24.84+00:00
Fin Watling (student) 0 Reputation points
1 answer One of the answers was accepted by the question author.

Create Azure Key Vault via c# with RBAC.

Hi, I am using below code to create Azure Key vault and below is my code. Where azure is an object of IAzure. This code is working fine. But when I am visiting this vault in Azure I can see "Permission" Model within "Acces…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,097 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,325 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,124 questions
asked 2024-04-10T06:52:54.9233333+00:00
ASR 671 Reputation points
accepted 2024-04-15T17:09:55.2266667+00:00
ASR 671 Reputation points