23,094 questions with .NET-related tags

Sort by: Updated
1 answer

Error NETSDK1045 The current .NET SDK does not support targeting .NET 11.0. Either target .NET 8.0 or lower

Hi all I migrated functional project Xamarin to maui via utility "upgrade-assistant upgrade" generated good 👍. But when I run/compile it, I got: Error NETSDK1045 The current .NET SDK does not support targeting .NET 11.0. Either target .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,589 questions
asked 2024-02-27T14:37:02.4866667+00:00
Wheelstring 85 Reputation points
answered 2024-02-27T17:35:20.4466667+00:00
Michael Taylor 44,231 Reputation points
0 answers

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,589 questions
asked 2024-02-26T16:13:38.4866667+00:00
Huynh Than 20 Reputation points
commented 2024-02-27T17:24:37.6733333+00:00
Michael Taylor 44,231 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Application Gateway WAF blocking some requests with OpenID Connect nonce cookies

The default rules of Azure Web Application firewall sometimes block requests containing a cookie set by Microsoft.AspNetCore.Authentication.OpenIdConnect During challenge redirect the AuthenticationHandler sets a cookie named:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,013 questions
Azure Web Application Firewall
asked 2021-11-10T08:41:43.057+00:00
Niklas Nielsen 21 Reputation points
commented 2024-02-27T16:58:58.29+00:00
Brittany Wolf 1 Reputation point
2 answers

Is it possible to prevent a Javascript function from executing in C# if record exista in DB?

Hello community, please I will like to ask if it possible that a Javascript function is prevented from executing from code behind (C#), if a record exists in a database? The reason why I haven't posted any code is that I want to first find out if it is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,173 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,178 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,955 questions
asked 2024-02-27T05:26:56.4+00:00
Donald Symmons 2,746 Reputation points
edited an answer 2024-02-27T16:49:33.9066667+00:00
Albert Kallal 4,486 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,173 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,013 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,318 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,178 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,955 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 0 Reputation points
commented 2024-02-27T16:44:22.98+00:00
Bruce (SqlWork.com) 52,576 Reputation points
0 answers

.NET Office Interop non-functional with sensitivity label requirements?

We have a .NET solution that uses the Office Interop to create an Excel Workbook using Excel, write data to this workbook, then save and close. With the latest Office 365 builds, this functionality no longer works if the user's organization requires…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,173 questions
asked 2024-02-26T16:24:54.4433333+00:00
JK 0 Reputation points
edited the question 2024-02-27T16:16:30.0333333+00:00
deherman-MSFT 31,996 Reputation points Microsoft Employee
0 answers

Using a MAUI handler to show an ActivityIndicator during WebView navigation on iOS

I have a Xamarin app I'm trying to port to MAUI. It has a WebView control that displays remote HTML content. There is also an ActivityIndicator that is used to indicate when navigation is taking place. On Android, the WebView's Navigating event fires…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,589 questions
asked 2024-02-27T15:54:41.5766667+00:00
Sibalik, Mike 11 Reputation points
1 answer

Is there any tag/code/script to launch the application in Edge browser which works in only IE

Hi All, I am working on a legacy asp.net application, the UI of the application is implemented using Component Art. This application works in only Internet Explorer with compatibility mode. Now we are able to launch this application on Edge browser by…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,178 questions
asked 2024-02-27T15:16:55.6166667+00:00
Bharathi 46 Reputation points
answered 2024-02-27T15:36:37.48+00:00
Michael Taylor 44,231 Reputation points
1 answer

Why is my RelayCommand Parameter Not Available in the ViewModel

<ListBox DisplayMemberPath="Name" ItemsSource="{Binding Path=GeoElements}" SelectedValue="{Binding Path=RouteID}" SelectedValuePath="ElementID"> <i:Interaction.Triggers> …

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,633 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,501 questions
asked 2024-02-27T15:02:31.81+00:00
RogerSchlueter-7899 1,156 Reputation points
answered 2024-02-27T15:21:26.61+00:00
Michael Taylor 44,231 Reputation points
0 answers

How to build a rotation gesture

Hello on platform xamarin android app I tried to build a rotation gesture for ex open a ball valve i add an interface namespace plx { internal interface IONROTATIONGESTURELISTNER { void OnRotateStarted(MotionEvent Event); …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,258 questions
asked 2024-02-27T15:01:03.6566667+00:00
Shay Wilner 1,706 Reputation points
1 answer One of the answers was accepted by the question author.

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,589 questions
asked 2024-02-08T16:00:14.8866667+00:00
Huynh Than 20 Reputation points
accepted 2024-02-27T14:46:25.24+00:00
Huynh Than 20 Reputation points
0 answers

Error running iOS MAUI .NET 8.0

Hi, you advised that I should create a new thread for this issue. project /Users/agro-rodney/Desktop/THAN/Agronomix/GenovixApp/GenovixApp.csproj…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,589 questions
asked 2024-02-27T14:43:23.51+00:00
Huynh Than 20 Reputation points
0 answers

Error accessing web application: ":( Application Error If you are the application administrator, you can access the diagnostic resources."

Hi, I am following the instructions in the module "Develop and configure an ASP.NET application that queries an Azure SQL database". I finally was able to build the web app after getting some help in Q&A. However, when I tried to access the…

Azure SQL Database
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
618 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,013 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
700 questions
asked 2024-02-25T13:52:30.7966667+00:00
YAU NICHOLAS HENG WAH 20 Reputation points
edited a comment 2024-02-27T14:20:51.2333333+00:00
YAU NICHOLAS HENG WAH 20 Reputation points
1 answer

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,318 questions
asked 2024-02-26T13:08:05.7933333+00:00
Saeed Pooladzadeh 221 Reputation points
edited a comment 2024-02-27T14:11:49.81+00:00
Saeed Pooladzadeh 221 Reputation points
0 answers

Pentesting Blazor Server Apps

Hi, I came across a web app that is using Blazor Server, all the communication is happening through SignalR. Now in traditional web apps, pentesters use ZAP/Burp to intercept the traffic and manipulate with it. i.e. test access controls by toggling the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,013 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,318 questions
asked 2024-02-27T13:50:50.58+00:00
Najam ul Saqib 60 Reputation points
1 answer

CS5001 Program does not contain a static 'Main' method suitable for an entry point

I developed ASP.NET website for five years. Recently I upgraded to VS2022 recent release, then R-Click on the project name in Solution Explorer I ran "Analyze and Code Cleanup". Now, I get a build error "CS5001: Program does not contain a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,178 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,955 questions
asked 2024-02-27T11:49:12.7533333+00:00
Noorann Tech 0 Reputation points
answered 2024-02-27T13:44:08.76+00:00
Noorann Tech 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,173 questions
asked 2024-02-25T12:35:59.5066667+00:00
JD 1 Reputation point
edited a comment 2024-02-27T13:00:52.82+00:00
JD 1 Reputation point
4 answers

SAML Toolkit for C# and ASP.NET

Is there any SAML Toolkit for C# and ASP.NET? I want to integrate SAML 2.0 into my existing ASP.NET application. I have done the research for plugins/toolkits for. NET. I haven't found any from Microsoft. Please help me on this.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,178 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,955 questions
asked 2023-01-30T13:25:03.8966667+00:00
Sai Kiran Naidu 5 Reputation points
commented 2024-02-27T12:54:14.36+00:00
Ilya 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to integrate Firebase Analytics in .NET MAUI.

How to integrate Firebase Analytics in .NET MAUI. for previous Xamarin application follow this URL and it's working both android and iOS devices and log proper data - https://thewissen.io/using-firebase-analytics-in-your-xamarin-forms-app/ but in MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,589 questions
asked 2024-01-10T14:53:47.1333333+00:00
Bhuwan 516 Reputation points
commented 2024-02-27T12:46:52.45+00:00
Bhuwan 516 Reputation points
1 answer

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,589 questions
asked 2024-02-26T10:05:45.4433333+00:00
דני שטרית 2,226 Reputation points
commented 2024-02-27T12:35:21.8466667+00:00
דני שטרית 2,226 Reputation points