24,298 questions with .NET-related tags

Sort by: Updated
0 answers

StackOverflowException after upgrading from .Net 6 to .Net 8

Hi, I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,469 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 questions
asked 2024-05-29T09:57:50.6666667+00:00
Abhishek, Burra 5 Reputation points
1 answer One of the answers was accepted by the question author.

How to disable the font scaling for the Display alert's in Maui - iOS

Hello, Currently I'm disabling the font scaling in iOS by following this. https://learn.microsoft.com/en-us/answers/questions/1661536/how-can-i-prevent-the-device-font-size-effect-of-a Now I want to achieve the same functionality for the display…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-21T13:40:20.09+00:00
Vaibhav Methuku 80 Reputation points
edited a comment 2024-05-29T09:39:56.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
0 answers

Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-06T12:03:23.94+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-05-29T09:36:06.18+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
0 answers

App crashes after throwing an error ' Window was already created'

Platform : Android Version : MAUI 8 Description : I was trying to invoke platform specific code by implementing broadcast Receiver for android, When I tried to register the receiver onResume( ) , app crashed with an error "Window was already…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-29T09:32:36.64+00:00
Manickam, Suraj 260 Reputation points
1 answer

To set an alternate app icon in a .NET MAUI app,Here's how we can achieve this:

Previously, in Xamarin.Forms, we could set alternate app icons by registering multiple icons in the Android manifest and iOS Info.plist files. This allowed us to change the app icon and app name based on an identifier. However, in .NET MAUI, achieving…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,469 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-04-30T05:58:18.6366667+00:00
Lakhan Bairawat 0 Reputation points
commented 2024-05-29T09:31:55.2366667+00:00
Lakhan Bairawat 0 Reputation points
1 answer

MVC PDF Generator

Hello everyone, friends, I will have a question for you, I am recording in mvc, when users fill the table, it assigns records to the database, there is no problem in this part, but when it comes to reporting, there is a problem, I cannot properly pdf the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,320 questions
asked 2024-05-29T06:51:00.2666667+00:00
kadir 60 Reputation points
answered 2024-05-29T09:31:00.98+00:00
Lan Huang-MSFT 26,686 Reputation points Microsoft Vendor
1 answer

How to insert new,update, delete existing record in single row of gridview

I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,320 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,404 questions
asked 2024-05-28T14:36:20.12+00:00
Gani_tpt 1,786 Reputation points
commented 2024-05-29T09:28:44.78+00:00
Gani_tpt 1,786 Reputation points
0 answers

Microsoft.Maui.ApplicationModel.FeatureNotSupportedException for PhoneDialer and EmailMessage

I am getting below exception for PhoneDialer and EmailMessage features. Microsoft.Maui.ApplicationModel.FeatureNotSupportedException: Specified method is not supported. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-29T09:18:27.9966667+00:00
Sreejith Sreenivasan 691 Reputation points
0 answers

Microsoft (R) Visual Basic Compiler asking the upgrade the version.

We are trying to Execute SSRS report using rs.exe and will store result in CSV file. For this We have prepared (.rss) file, and executed from command prompt with following command. rs -i filename.rss -s https://server_name/ReportServer -v…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,828 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
97 questions
asked 2024-05-29T09:11:40.0433333+00:00
Kalee Mamillapalli 0 Reputation points
2 answers

Can I use global interactivity along with per page interactivity in same project of .net 8 blazor web app ?

I have created a blazor web app application and I want to use global auto render mode along with per page interactivity mode in same project, is it possible ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,469 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 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,427 questions
asked 2024-05-28T14:30:31.64+00:00
Kuldeep Y 36 Reputation points
commented 2024-05-29T08:35:09.94+00:00
Kuldeep Y 36 Reputation points
1 answer One of the answers was accepted by the question author.

Publish Azure Windows app service time charge very high

When trying to publish an application with Microsoft Visual Studio, it gets stuck on the loading page. I have installed Azure deployment and reset my internet connection, which is good. What can I do?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
601 questions
asked 2024-05-26T19:56:09.15+00:00
Raúl Gómez 20 Reputation points
accepted 2024-05-29T08:09:18.1266667+00:00
Raúl Gómez 20 Reputation points
0 answers

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 2,906 Reputation points
2 answers

Problem in bitmap to vector image converter

Hi, I want to make an app that converts a bitmap image to SVG format. Below you can see my code: @page "/" @using Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 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,427 questions
asked 2024-05-27T14:06:14.7366667+00:00
Saeed Pooladzadeh 231 Reputation points
edited an answer 2024-05-29T07:44:44.5133333+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
1 answer

Not seen mac simulator

Hi, I installed vs code, xcode , and open new maui project and run it. It is not running, do i need to config ant simulator , I want mac simulator. Thw error is on missing android simulators & sdk. How is sone? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-28T08:56:44.53+00:00
Dani_S 2,906 Reputation points
edited a comment 2024-05-29T07:36:01.67+00:00
Dani_S 2,906 Reputation points
1 answer One of the answers was accepted by the question author.

How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually

I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,320 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,404 questions
asked 2024-05-25T07:53:00.6633333+00:00
Gani_tpt 1,786 Reputation points
commented 2024-05-29T07:32:21.86+00:00
Gani_tpt 1,786 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,906 Reputation points
commented 2024-05-29T07:26:22.41+00:00
Dani_S 2,906 Reputation points
0 answers

How to fix build errors that I am getting currently when I convert my .NET MAUI [ sdk 6 version] to .NET 8 version?

I am currently in a process of converting my MAUI project which is in .NET 6 version to .NET 8 version. I have used Microsoft's .NET upgrade assistant extension tool for the same. After successful upgrade, when I try to build/rebuild my project, I am…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,469 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,993 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,404 questions
asked 2024-05-29T07:24:16.99+00:00
Suhas MR 0 Reputation points
0 answers

How to reproduce the UI control from mock-up using wpf?

Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. <UserControl…

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,689 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,404 questions
asked 2024-05-28T16:45:17.65+00:00
Gcobani Mkontwana 40 Reputation points
commented 2024-05-29T07:17:17.3466667+00:00
Hongrui Yu-MSFT 415 Reputation points Microsoft Vendor
1 answer

How to configure virtual directory correctly with right permission on Visual Studio to serve Blazor Standalone frontend

I'm currently managing a .NET 6 Blazor standalone application that utilizes WebAssemblyHostBuilder. For deployment, the application is configured to operate under a virtual directory, enabling it to be accessed via a subpath (e.g., test.fr/subpath1/).…

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,427 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,711 questions
asked 2024-05-28T14:57:11.3966667+00:00
Quentin RODIC 0 Reputation points
commented 2024-05-29T06:51:13.39+00:00
Quentin RODIC 0 Reputation points
2 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,320 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,404 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
306 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
commented 2024-05-29T06:31:46.8066667+00:00
Tiny Wang-MSFT 1,841 Reputation points Microsoft Vendor