23,071 questions with .NET-related tags

Sort by: Updated
1 answer

Issue with TextBox.KeyUp event for UWP

I'm using an event attached to TextBox.KeyUp that looks like this. I'm using custom control with Handler/mapper approach. This is a native control that inherits from TextBox. This function does certain things when Enter key is pressed. However, it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-26T16:13:38.4866667+00:00
Huynh Than 0 Reputation points
answered 2024-02-26T16:22:26.6533333+00:00
Michael Taylor 44,221 Reputation points
1 answer

How to pass selected class ids and selected text to post generate button ?

I work on asp.net core razor page . i face issue i can't pass selected ids and selected text from checkboxes from action  so how to pass classIds from action OnGetSubAccountClassName to action post OnPostGenerateCount using hidden field when change event…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,175 questions
asked 2024-02-25T21:06:10.4733333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
edited an answer 2024-02-26T16:21:13.01+00:00
AgaveJoe 25,761 Reputation points
0 answers

Azurite - Server failed to authenticate the request - 403

I have problem with Azurite and downloading files. I have error "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature" The problem only occurs when I do get, there is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,273 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.
9,945 questions
asked 2024-02-26T16:15:43.7066667+00:00
zc 51 Reputation points
0 answers

"Microsoft.Azure.WebJobs.Host: Error indexing method" after upgrade

Hello, I am doing the upgrade of my project from .netcore3.1 to .net7 (isolated process), azure functions from v3 to v4 and CosmoDB to v4. After changing every Microsoft.Azure.WebJobs.Extensions.* reference to the corresponding…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,004 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,354 questions
asked 2024-02-26T16:14:37.71+00:00
Stefania Grillo 0 Reputation points
2 answers

Troubleshooting a Blank Page When Running a .Net Blazor website

I'm running a website in Visual Studio, but when I load it there's just a blank page, not even a loading screen. And with nothing showing up in the inspect tool. Any suggestions on what could be causing this issue?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 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,317 questions
asked 2024-02-25T19:35:45.66+00:00
Ryan G 0 Reputation points
commented 2024-02-26T16:07:09.42+00:00
Azar 14,020 Reputation points
1 answer

Debug using iPad that connected to Mac Mini using Windows-Mac connection

Hi, I have set up the Windows-Mac connection to debug MAUI iOS directly from the Windows machine. The connection is good. I also disabled the hot restart feature to get the iPad (which connects to the Mac Mini) debug. These are the errors I encountered…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-08T16:00:14.8866667+00:00
Huynh Than 0 Reputation points
edited a comment 2024-02-26T16:06:33.8633333+00:00
Huynh Than 0 Reputation points
0 answers

System.TypeLoadException: Could not resolve type with token 01000004 from typeref (expected class 'System.Reflection.AssemblyInformationalVersionAttribute' in assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')

MAUI android app is crashing randomly and i am not able to find the root cause of it. Can anyone please help me on this by seeing the below crash log from appcenter. Thanks in advance System.TypeLoadException: Could not resolve type with token 01000004…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-26T16:05:29.36+00:00
Satya 85 Reputation points
1 answer

Unable to find an entry point named 'http_query_request_property' in DLL 'aspnetcorev2_inprocess.dll' in ASP.NET 8

We have just decided to migrate our existing web applications from .NET 6 to .NET 8. We have them configured with SSL and all works as intended in .Net6 but fails with this error message: An unhandled exception was thrown by the application. med…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 questions
asked 2024-02-26T15:24:14.6566667+00:00
Nicklas Engberg 0 Reputation points
answered 2024-02-26T16:05:23.3033333+00:00
Michael Taylor 44,221 Reputation points
3 answers

Displaying Files of Unknown Types Stored in SQL Server Using C# WPF

I am developing a C# WPF application using .NET 6 in Visual Studio 2022, with a SQL Server 2008 R2 database. My database contains a table GRADE_CUST_GRP with a column GCPS of type image, where files of various types are stored without any file extension…

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,631 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 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,268 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.
9,945 questions
asked 2024-02-25T12:17:45.5366667+00:00
Mojtaba_Hakim 281 Reputation points
commented 2024-02-26T15:59:45.8933333+00:00
Mojtaba_Hakim 281 Reputation points
0 answers

Why does class view think everything is an inherited class

I recently did the reset of Visual Studio setting. For the last few days I have been restoring what it got rid of (it did fix the problems I was having with the debugger) and now I find something that I would like an explanation of. When I go to Class…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,415 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-23T20:24:46.2266667+00:00
Lloyd Sheen 1,331 Reputation points
commented 2024-02-26T15:53:30.0233333+00:00
Lloyd Sheen 1,331 Reputation points
1 answer

how to hide navigationbar in landescape?

I am using android in maui. I want to hide navigationbar but not in full screen mode (with the status bar not hide). If I set the SystemUIVisibility yes it is hide. but when I tap somthing the navigationbar will appeared. and If I detect…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-17T08:36:00.3433333+00:00
mc 3,441 Reputation points
commented 2024-02-26T14:43:02.7166667+00:00
mc 3,441 Reputation points
0 answers

Blazor AI imge generator

Hi, I'm trying to make an online AI image generator with blazor. It sounds like everything is correct but the app does nothing. Can you please guide me? Below you can see my code: @page "/" @using System.Net.Http.Json @using…

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,317 questions
asked 2024-02-26T13:08:05.7933333+00:00
Saeed Pooladzadeh 221 Reputation points
edited the question 2024-02-26T14:38:12.0233333+00:00
Saeed Pooladzadeh 221 Reputation points
0 answers

ASP.NET CORE MIDDLEWARE

public static Task WriteAsync(this HttpResponse response, string text, CancellationToken cancellationToken = default(CancellationToken)) { if (response == null) { throw new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 questions
asked 2024-02-26T11:09:56.2466667+00:00
SHAIK BAJIDBEE 0 Reputation points
edited a comment 2024-02-26T14:17:43.1833333+00:00
AgaveJoe 25,761 Reputation points
0 answers

Develop Azure Functions using Visual Studio with examples targeting net8

The document Develop Azure Functions using Visual Studio https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/functions-develop-vs.md targets net6, is there a version that targets net8? The examples in the document have nullable…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,004 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 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,415 questions
asked 2024-02-26T10:01:30.8133333+00:00
OSMark 0 Reputation points
edited a comment 2024-02-26T14:13:04.2533333+00:00
JananiRamesh-MSFT 18,781 Reputation points
4 answers One of the answers was accepted by the question author.

ERROR: Method not found: 'Void Microsoft.NetEnterpriseServers.ExceptionMessageBox.SetButtonText(System.String[])'. (Microsoft.DataWarehouse)

Hello, When I want to edit the configuration file at Package Configuration Wizard, I get this error: Method not found: 'Void Microsoft.NetEnterpriseServers.ExceptionMessageBox.SetButtonText(System.String[])'. (Microsoft.DataWarehouse) Please refer to the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 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,415 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,268 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,408 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,101 questions
asked 2023-02-08T07:25:00.0866667+00:00
syazwan amir 20 Reputation points
answered 2024-02-26T13:57:57.98+00:00
Rakesh 0 Reputation points
0 answers

Fullscreen issue in MAUI

my app shows a blackscreen at the bottom in emulator and in real device i have black line on top and bottom as well . I tried everything inside app in android activity .

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-26T13:53:38.5933333+00:00
0 answers

Maui - close up with confirmations

Hi, I'm using .Net 8. I want when user will close the app he will get promp: If confirm it willl do this code otherwise close operation will be cancell ? How is can be done ? My current code: builder .UseTelerik() …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-26T10:05:45.4433333+00:00
דני שטרית 2,226 Reputation points
commented 2024-02-26T13:41:32.8233333+00:00
דני שטרית 2,226 Reputation points
0 answers

Images don't persist in ColllectionView .

I have a Class in Model to save the Information about a document. The images are retrieved as streams in view model and are displayed in CollectionView .The problem is when Images are scrolled out of view and scrolled back in the images disappears. here…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,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.
9,945 questions
asked 2024-02-12T09:17:00.5633333+00:00
Asgar Ali 86 Reputation points
commented 2024-02-26T12:43:15.2366667+00:00
Asgar Ali 0 Reputation points
2 answers

Registering user over an e-mail

I have a legacy app that registers user (user first and second name, e-mail and password) with the server. Server accepts registration (creates the login entry in the database) and sends a verification e-mail to the user to verify that the user has…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,167 questions
asked 2024-02-25T12:35:59.5066667+00:00
JD 1 Reputation point
edited a comment 2024-02-26T11:45:25.2766667+00:00
JD 1 Reputation point
0 answers

Regarding the android minsdk version in .net maui

Severity Code Description Project File Line Suppression State Error AMM0000 uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library C:\Mtechwebx folder\M-PriceCheker\obj\Debug\net7.0-android\lp\132\jl\AndroidManifest.xml as the…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
695 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,582 questions
asked 2024-02-26T11:16:21.29+00:00
Faizan Khan 0 Reputation points