23,102 questions with .NET-related tags

Sort by: Updated
0 answers

How to utilize print report the lists of data in the table of an inventory webapp

I have a print report functionality but its output is that the print report javascript takes all of the page looking like a screenshot, what i wanted is that the data in the table only has to be printed, and when i click the print button it'll be in pdf…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,176 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,182 questions
asked 2024-02-28T01:08:11.6333333+00:00
MiKhel Navarra 20 Reputation points
0 answers

Stop AppDomain Timeout

I am developing a WPF app that executes code in a separate appdomain. I've noticed that the appdomain times out and terminates after 6 minutes. After doing some research, I discovered that the lease on the connection expires after 6 minutes. ***…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,176 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,634 questions
asked 2024-02-27T20:14:27.66+00:00
Wally96333 61 Reputation points
commented 2024-02-27T23:56:02.3033333+00:00
Wally96333 61 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,176 questions
asked 2024-02-25T12:35:59.5066667+00:00
JD 1 Reputation point
edited a comment 2024-02-27T22:58:20.5966667+00:00
JD 1 Reputation point
1 answer One of the answers was accepted by the question author.

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,591 questions
asked 2024-02-27T14:37:02.4866667+00:00
Wheelstring 85 Reputation points
accepted 2024-02-27T22:45:12.97+00:00
Wheelstring 85 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,176 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,275 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,957 questions
asked 2024-02-26T16:15:43.7066667+00:00
zc 51 Reputation points
edited a comment 2024-02-27T22:36:48.78+00:00
KarishmaTiwari-MSFT 17,257 Reputation points Microsoft Employee
0 answers

.NET Blazor Routing

Hello, I have a razor page named Contact.razor. I want to localize it so when you select one of the 3 languages, the route changes accordingly. Meaning, I don't want to only change the culture but also the route. For example, by default it is /en/contact…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,016 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,319 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,182 questions
asked 2024-02-27T22:25:09.26+00:00
Kuler Master 221 Reputation points
edited a comment 2024-02-27T22:36:20.9366667+00:00
AgaveJoe 25,761 Reputation points
0 answers

How to add title for div class container instead of using h3 tag ?

I work on asp.net razor page i face issue i can't add title for div class container and title must be with top border  exactly as field set and legend  so how to apply title to be part from top border using html and css and jquery  <table…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,016 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,182 questions
asked 2024-02-27T22:34:15.96+00:00
ahmed salah 3,216 Reputation points
0 answers

Websocket server in MAUI with .NET 8

Hello, I'm trying to create a websocket server in a MAUI app and .NET8. When I launch the server using Android app, the server is pefectly listening to the Websocket clients but when I launch the app in Windows the server is not listening any local…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,591 questions
asked 2024-02-22T13:33:41.49+00:00
Jorge Vilaplana Herruzo 0 Reputation points
commented 2024-02-27T21:51:57.47+00:00
Jorge Vilaplana Herruzo 0 Reputation points
2 answers

org.xml.sax.SAXParseException; The prefix "tem" for element "tem:UN" is not bound.

Iam integrating service references from wsdl file in C#. the service is working fine with SOAPUI but while executing the process in C# it is giving exception asorg.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 9; The prefix "tem" for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,176 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,418 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,957 questions
asked 2024-02-12T06:57:50.3+00:00
Rashmitha B 0 Reputation points
edited the question 2024-02-27T21:46:52.5433333+00:00
Andreas Baumgarten 92,396 Reputation points MVP
1 answer

Post requests do not work in production after deploy

Hi, I have a classified ads web application developed in ASP.NET Core 2.1, and it works well from localhost. No issue with get and post requests. But after deploying the application into server, though website is published successfully, I cannot create…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,176 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,016 questions
asked 2024-02-27T20:05:30.2366667+00:00
Farid GN 1 Reputation point
answered 2024-02-27T20:46:22.2766667+00:00
AgaveJoe 25,761 Reputation points
1 answer

Visual Studio 2022ASP.NET project error: "RunCommand property is not defined."

Hi, I developed ASP.NET C# website for five years. Recently I upgraded to VS2022 recent updates. Now, I try to debug the program and I get an error message: "Unable to run your project. The 'RunCommand' property is not defined." I cleared…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,182 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
913 questions
asked 2024-02-27T20:44:49.1866667+00:00
Noorann Tech 0 Reputation points
answered 2024-02-27T20:44:49.19+00:00
Q&A Assist
0 answers

NET8.0 MAUI - MediaElement - Error when trying to stream Audio files stored on AWS S3

Hi I am using MediaElement to Play audio files stored on AWS S3 buckets, using streaming. Everything is correctly setup and I am populating the MediaElement Source property with the url of the Audio file stored in my S3 bucket. I get the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,591 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,957 questions
asked 2024-02-27T20:43:12.21+00:00
Riffy 271 Reputation points
0 answers

Issue with TextBox.KeyUp event in a Telerik DataGrid

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. [RC:OCRed text] private void TextBoxOnKeyUp(object sender, KeyRoutedEventArgs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,591 questions
asked 2024-02-26T16:13:38.4866667+00:00
Huynh Than 20 Reputation points
edited a comment 2024-02-27T20:31:47.4366667+00:00
Rob Caplan - MSFT 5,397 Reputation points Microsoft Employee
0 answers

NET MAUI - MediaElement - Not playing Audio Files stored on Google Drive

Hi I am using MediaElement to play Audio Files (.mp4) that are stored on my Google Drive,. But this is failing with error: [0:] MediaManager: Error: Error codename: ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED, Error message: Source error The following is a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,591 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,957 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.
744 questions
asked 2023-03-19T20:01:32.4066667+00:00
Riffy 271 Reputation points
commented 2024-02-27T20:28:25.91+00:00
Riffy 271 Reputation points
0 answers

SkiaSharp for maui could identify how many points were touched in parallel, in the TouchEnvet?

I using SKCanvasView as a custom control that allows to the user interact with an image, I would like to know if is possible to identify when the user touches to location In general, because the user wants to do a pinch.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,591 questions
asked 2024-02-27T19:47:54.87+00:00
Daniel Batista 0 Reputation points
edited the question 2024-02-27T19:49:53.2333333+00:00
Daniel Batista 0 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,016 questions
Azure Web Application Firewall
asked 2021-11-10T08:41:43.057+00:00
Niklas Nielsen 31 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,176 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,182 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,957 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,176 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,016 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,319 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,182 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,957 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,586 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,176 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,591 questions
asked 2024-02-27T15:54:41.5766667+00:00
Sibalik, Mike 11 Reputation points