24,311 questions with .NET-related tags

Sort by: Updated
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,997 questions
asked 2024-05-28T08:56:44.53+00:00
Dani_S 2,906 Reputation points
commented 2024-05-29T21:40:35.5766667+00:00
Bruce (SqlWork.com) 58,126 Reputation points
1 answer

EF Core 3.1 - System.InvalidOperationException: 'The entity type 'Pntbec03' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'.'

Hello . I need to handle a EF Core Entity relating to a table , but without having EF managing all its columns , but just a subset of them. I have scaffolded the small database to which the table belongs into a DbContext , and I though I could create…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
705 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
asked 2024-05-29T13:46:26.23+00:00
leo del ciello 66 Reputation points
commented 2024-05-29T21:40:04.91+00:00
leo del ciello 66 Reputation points
1 answer

How to fix the exception System.Net.Http.HttpRequestException: The SSL connection could not be established

we have SignalR and SignalR.Client libraries used in our project to establish the connection between the client and the server. The services are .NET applications and the client is a mobile application which is also a .NET application. I am got the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
124 questions
asked 2024-05-29T11:57:56.0666667+00:00
Singh, Sheetal 0 Reputation points
answered 2024-05-29T20:56:27.6633333+00:00
Bruce (SqlWork.com) 58,126 Reputation points
2 answers

Blazor RZ10001 The type of component 'InputDate' cannot be inferred based on the values provided.

This code <InputDate id="Date" class="form-control" placeholder="Date" @bind-value="objWeatherForecast.Date" /> produces the following: Error RZ10001 The type of component 'InputDate' cannot be…

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 2020-12-17T05:38:41.207+00:00
Michael Luna 16 Reputation points
edited a comment 2024-05-29T20:31:20.6466667+00:00
Steve Carroll 1 Reputation point
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,997 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,906 Reputation points
commented 2024-05-29T20:27:36.15+00:00
Bruce (SqlWork.com) 58,126 Reputation points
0 answers

Issue Connecting With An Azure SQL Database from .NET WinForms Application

I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Azure SQL Database
asked 2024-05-22T16:37:29.1633333+00:00
Tom 1 Reputation point
commented 2024-05-29T20:14:39.26+00:00
Oury Ba-MSFT 16,901 Reputation points Microsoft Employee
1 answer

Visual Studio theming not applied correctly to custom Control property's UITypeEditor

Visual Studio: 2022 Community (17.10.0) Visual Experience Color Theme: Dark I'm working on a custom UITypeEditor (drop-down control) for a custom type that's a part of my custom control. When I trigger the UITypeEditor to drop down, I can see it in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
asked 2024-05-29T19:27:50.2633333+00:00
gb 66 Reputation points
answered 2024-05-29T19:33:45.6166667+00:00
gb 66 Reputation points
0 answers

How do I override the default Blazor scaffolding template in Visual Studio 2022

I want to edit the scaffolding template for Blazor CRUD pages, but my changes to the template are not being reflected in the output. I tried researching this issue, and the closest answers I could find are how to edit Razor templates, or MVC component…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,249 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
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,715 questions
asked 2024-05-28T21:54:43.2466667+00:00
Andrew Karpinski 0 Reputation points
commented 2024-05-29T19:31:31.6966667+00:00
Andrew Karpinski 0 Reputation points
0 answers

Carousel not changing items in real-time, blank slide, grey bar at the bottom on iOS

I am binding an ObservableCollection to a Carousel view and displaying images and text. What I am noticing is that if I change the contents of the ObservableCollection, the Carousel doesn't reflect the change in realtime. I have to swipe through a few…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-29T19:06:17.7066667+00:00
Reza Mohamed 1 Reputation point
0 answers

How to fix Event code: 3005 Exception type: HttpException Exception message: An unhandled exception has occurred

Event code: 3005 Event message: An unhandled exception has occurred. Event time: 5/25/2024 11:58:49 AM Event time (UTC): 5/25/2024 6:58:49 PM Event ID: 1e7d615635e14a07b514dac4415f2f51 Event sequence: 101 Event occurrence: 1 Event detail code: 0…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,314 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,750 questions
asked 2024-05-29T16:22:40.47+00:00
Kim Loan Tran 0 Reputation points
edited a comment 2024-05-29T19:02:47.0533333+00:00
AgaveJoe 26,246 Reputation points
1 answer

Getting error while finding control in Footer Row Gridview

I am getting error while binding data in dropdown in gridview footer template. Pls. help us, how to bind dropdown values inside the gridview footer template. getting below error.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 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,408 questions
asked 2024-05-29T13:47:28.71+00:00
Gani_tpt 1,786 Reputation points
edited an answer 2024-05-29T19:01:24.0233333+00:00
AgaveJoe 26,246 Reputation points
1 answer

.NET8 MAUI Image "gif" animation Debug vs. Release

Has anyone figured out how to get a MAUI Image "gif" animation to work in Release mode?   Using Visual Studio 2022's Android Device Manager, Emulator set to Tablet M-DPI 10.1in - API34, Android 14.0 - API 34, the MAUI Image animation in Debug…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,472 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-22T20:22:10.54+00:00
Paul Kelley 0 Reputation points
edited a comment 2024-05-29T18:53:21.3933333+00:00
UnexpectedGrit 11 Reputation points
3 answers

Where is system.device.location?

I am trying to use the GeoCoordinateWatcher in my WPF application. Whenever I type the using statement "using System.Device.Location" I am told it does not exist. I have read that I have to add it as a reference but when I go to the list of…

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,408 questions
asked 2022-03-16T00:46:27.013+00:00
Ike 6 Reputation points
answered 2024-05-29T18:47:52.53+00:00
Bruce (SqlWork.com) 58,126 Reputation points
0 answers

how to show image2 in gridview

Hello This is my aspx page <asp:TemplateField HeaderText="IMAGE1"> <ItemTemplate> <asp:Image ID="Image1" runat="server" /> </ItemTemplate> …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 questions
asked 2024-05-29T13:35:22.69+00:00
RAVI 936 Reputation points
edited a comment 2024-05-29T18:47:10.9166667+00:00
AgaveJoe 26,246 Reputation points
2 answers

Problem with ScrollTo

I have a collectionview with many items. I have implemented a search which will find an item by a person's name and then scroll to that person. Now it gets weird. Certain seachs cause the scrollto to work and the item is scrolled to the top. But other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2023-12-14T20:06:14.25+00:00
Lloyd Sheen 1,391 Reputation points
answered 2024-05-29T18:37:24.79+00:00
Richard Dufour 10 Reputation points
0 answers

How to maintain Ajax calendar values after postback in Gridview Footer

I am using AJAX control textbox in gridview. Inside the gridview, Footer Template i am using dropdown control and many textboxes. after selecting of Ajax calendar control, if i select dropdown, the ajax value getting cleared. How to maintain the date…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,325 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,408 questions
asked 2024-05-29T15:22:30.55+00:00
Gani_tpt 1,786 Reputation points
edited a comment 2024-05-29T17:47:09.7933333+00:00
AgaveJoe 26,246 Reputation points
1 answer

Save xml log file in MAC

Hi, In windows I keep in c drive in MAC where i save my log file? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-29T10:31:16.86+00:00
Dani_S 2,906 Reputation points
answered 2024-05-29T16:12:21.4433333+00:00
Bruce (SqlWork.com) 58,126 Reputation points
3 answers

Where has MapIcon gone in Windows MAUI Maps ?

Hi team. I try to migrate a custom renderer for Maps from Xamarin to MAUI. I need to show a custom icon on the Map in Windows platform (found multiple examples how to do that in IOs and Droid) In Xamarin there was a MapIcon class , derived from…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-29T10:42:51.1733333+00:00
Andreas Wegener 0 Reputation points
answered 2024-05-29T16:03:26.21+00:00
Andreas Wegener 0 Reputation points
1 answer One of the answers was accepted by the question author.

App Services on Linux rebooting because exceeded "memory limits"/"swap usage limits"

Hello, I currently have a functional and production Windows service plan hosting 4 Blazor server side applications (2 production and 2 staging). I want to switch these applications to a Linux app service plan. So, I created a Linux Service Plan (P0v3,…

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
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,047 questions
asked 2024-05-21T08:23:23.8366667+00:00
Rémy Bertrand 20 Reputation points
accepted 2024-05-29T15:36:15.3533333+00:00
Rémy Bertrand 20 Reputation points
0 answers

Running app on mac - menu corrupted

Hi, Please run the app from: https://github.com/dotnet/maui/issues/22719 the menu corrpted when switching between pages and when maximize the page. Thank in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,997 questions
asked 2024-05-29T15:02:22.02+00:00
Dani_S 2,906 Reputation points
commented 2024-05-29T15:02:47.17+00:00
Dani_S 2,906 Reputation points