24,782 questions with .NET-related tags

Sort by: Updated
1 answer

can not use UIKit or others in .net ios Bindings?

I created ios Binding project. and want to compile .a file to .dll there is ApiDefinition and StructsAndEnums.cs but both of them can not use ios UIImage NativeHandle Export Verify and all of it. CGSize Static can not use too. I can not use this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
asked 2024-07-01T10:46:09.4966667+00:00
mc 4,006 Reputation points
commented 2024-07-05T01:55:55.6066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
0 answers

How to fix Validation Error with MS Store app submission?

When creating app for the MS Store, I'm getting these Validation Errors. Invalid package family name: xxxxxx.xxxxxx (expected: xxxxx.yyyyyy) Invalid package publisher name: CN=xxxxx (expected: CN=xxxxC1-1875-4D0B-AD90-55xxx) These are added to my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
asked 2024-07-05T01:54:24.6833333+00:00
Fritz Switzer 261 Reputation points
0 answers

How to fix Visual Studio 2022 from crashing on startup?

I downloaded Visual Studio 2022 yesterday and installed the .NET component for a uni course. Today when I went to open VS2022 it crashed on start-up. I have repaired the program and it worked well once, then after I had saved/closed the program it began…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 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,823 questions
asked 2024-07-04T23:57:16.39+00:00
William.S 0 Reputation points
2 answers

How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?

I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…

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,706 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,497 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,571 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,610 questions
asked 2024-06-23T21:10:17.6933333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-07-04T23:27:36.4533333+00:00
MERUN KUMAR MAITY 531 Reputation points
2 answers

I am getting a "Requests from this IP are not allowed" when trying to signin/signup to Entra ID for external providers

I am trying to follow the tutorial in the link https://learn.microsoft.com/en-us/entra/external-id/customers/tutorial-mobile-app-maui-sign-in-sign-out ... I have created the UserFlows ., but when running the app , I get a "Requests from this IP are…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,349 questions
asked 2024-05-27T02:42:10.6966667+00:00
Srinath Nanduri 5 Reputation points
commented 2024-07-04T22:29:41.0866667+00:00
Lucas Moreira 0 Reputation points
1 answer

Microsoft Cognitive Services Voise to text doesn't work on uploaded to Azure website

I'm using Azure AI services to recognize speach and convert it into text with .Net SpeechConfig speechConfig = SpeechConfig.FromSubscription(subscriptionKey, region); SpeechRecognitionResult result; using (SpeechRecognizer…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,576 questions
asked 2024-07-04T14:41:38.0133333+00:00
Sviatlana 0 Reputation points
answered 2024-07-04T21:28:27.77+00:00
Amira Bedhiafi 18,501 Reputation points
1 answer

Manage Bluetooth with an ASP.NET app

good evening, I find myself creating a web application with asp.net in windows 11 also targeting previous versions, for managing bluetooth. I tried to integrate Windows.Device.Bluetooth with the VS22 package, but I get error NETSDK1130. I would like to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,571 questions
asked 2024-07-03T10:06:53.05+00:00
Eric Marziali 0 Reputation points
commented 2024-07-04T20:42:43.44+00:00
Albert Kallal 5,226 Reputation points
3 answers

SQL Server connection timeout after idle

I just set up on Azure a SQL Server (free tier) connecting to an .NET Core web app also on Azure. After 20 minutes the database goes idle. The first attempted connection to the database fails with the call stack below. The subsequent call works…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 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.
13,199 questions
asked 2024-07-04T17:35:16.3733333+00:00
Patricia Davidson 0 Reputation points
answered 2024-07-04T20:25:56.0333333+00:00
Erland Sommarskog 105.7K Reputation points MVP
4 answers

Blazor webassembly shows 405 error in localhost (and also when deployed to iis) when redirect back from payment website

I have created a blazor webaseembly project using .net 7. The blazor app redirects to an external url for payment. Once payment is done the payment status page(which is in the blazor app) should be loaded as that's the return url set while calling 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,477 questions
asked 2023-01-27T11:08:51.96+00:00
Jayant Guru 0 Reputation points
commented 2024-07-04T20:05:46.3066667+00:00
Cenk 986 Reputation points
0 answers

Blazor WebAssembly Standalone App shows blank page in Azure environment

I just upgraded my backend (ASP.NET Core) and frontend (Blazor WebAssembly) from .NET 6 to .NET 8. I had to do few changes to make it work and succeed in my Azure DevOps pipelines but locally everything works now basically. Now that it's deployed in my…

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,477 questions
asked 2024-07-04T20:03:08.7066667+00:00
Bjorn Lenoir 20 Reputation points
edited the question 2024-07-04T20:04:32.6+00:00
Bjorn Lenoir 20 Reputation points
1 answer

How to navigate to 3rd party URL in Blazor WASM?

Hi, I have an e-commerce solution. Using Blazor WASM .NET 6 for the client side. I am using a 3rd party payment gateway. Unfortunately, they don't have a great support and help desk so most of the time I am trying to find my way with trial and error. I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 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,477 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,571 questions
asked 2024-07-02T10:15:03.17+00:00
Cenk 986 Reputation points
commented 2024-07-04T19:53:01.9566667+00:00
Cenk 986 Reputation points
1 answer One of the answers was accepted by the question author.

I'm getting a runtime error in my functions app but only in Azure, locally everything works fine and neither any issues in my Azure DevOps pipeline.

The error I'm getting is: Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. StoringenDWG.Functions: Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=8.0.0.0,…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,567 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
asked 2024-07-02T18:54:52.1366667+00:00
Bjorn Lenoir 20 Reputation points
accepted 2024-07-04T18:18:16.6366667+00:00
Bjorn Lenoir 20 Reputation points
2 answers

Send email from a .Net Framework Winforms application and service using Microsoft accounts.

Hello. We provide a .Net Framework Winforms application with a service. Both share code which allows our customers to send email from their own email accounts, currently using MailKit, although we could use another client if necessary. Where they want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
Microsoft Entra
asked 2024-06-28T11:56:45.4266667+00:00
Fortecho Solutions Ltd 0 Reputation points
commented 2024-07-04T18:03:41.4633333+00:00
Fortecho Solutions Ltd 0 Reputation points
0 answers

Xamarin.Forms : change dynamically BarBackgroundColor

In a Xamarin.Forms program, how to dynamically change the BarBackgroundColor? I already changed the app.xaml file like this: <Application.Resources> <ResourceDictionary> <!--Global Styles--> <Color…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,320 questions
asked 2024-07-04T17:47:17.02+00:00
Marcel Delhaye 26 Reputation points
edited the question 2024-07-04T17:49:43.2033333+00:00
Marcel Delhaye 26 Reputation points
0 answers

What is the format in VS 2022 for "Custom Expression"?

In working on a WPF application in Visual Studio 2022, if you expand the property window for Brush, you get the following display. If you click the small down arrow in the Editor tab, you get the following menu: If you select Custom Expression..., you…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 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,823 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
785 questions
asked 2024-07-04T17:40:34.44+00:00
Nicholas Piazza 536 Reputation points
1 answer

html table add pagination

I want to add page number to my table. But the problem is - when the page is loaded the page number is not working. Working when clicking on page number symbol. If I use the data manually instead of fetching it from the database, it works. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2024-07-04T16:30:13.3133333+00:00
jewel 801 Reputation points
answered 2024-07-04T17:21:38.0233333+00:00
Bruce (SqlWork.com) 60,361 Reputation points
0 answers

I have 3 image in Blazor page.Want do every image have own Uploadfile that mean one image one uploadfile

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1 style="color: blue;">Promosi Barang Anda!</h1> <p></p> Welcome to your new app. <p></p> @for (int i = 0; i <…

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,477 questions
asked 2024-07-04T15:27:00.7266667+00:00
MIPAKTEH_1 260 Reputation points
0 answers

Issue with CollectionView RemainingItemsThresholdReached event

I am facing 2 issues with the CollectionView: I have given RemainingItemsThreshold="0" for CollectionView, but the RemainingItemsThresholdReached event is firing before reaching the last item. It is calling around 6 items before the last…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
asked 2024-07-02T15:15:25.8366667+00:00
Sreejith Sreenivasan 811 Reputation points
commented 2024-07-04T15:18:30.8366667+00:00
Sreejith Sreenivasan 811 Reputation points
0 answers

I am having an issue , the textbov does allow space when pressing space bar

<TextBox x:Name="txtLocationName" Grid.Column="3" Grid.Row="5" Height="22" VerticalAlignment="Center" TabIndex="17" …

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,706 questions
asked 2024-07-04T11:30:05.2+00:00
Sgcino Ngema 0 Reputation points
commented 2024-07-04T15:14:08.5066667+00:00
Viorel 114.1K Reputation points
2 answers

Why does my newly created .NET 8 azure function use dotnet, while upgraded ones use dotnet-isolated?

Hello all, I recently migrated a few azure functions from .NET 6.0 to .NET 8.0, mostly using the in place Visual Studio 2022 upgrade process. One of the last steps after upgrading is to update your local.settings.json to this…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,567 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,573 questions
asked 2024-07-03T21:23:52.92+00:00
Brendan Finnegan 46 Reputation points
answered 2024-07-04T14:07:15.3033333+00:00
Pinaki Ghatak 2,795 Reputation points Microsoft Employee