24,878 questions with .NET-related tags

Sort by: Created
0 answers

C:\Users\HMIS>dotnet list sdks The command could not be loaded, possibly because: * You intended to execute a .NET application: The application 'list' does not exist. * You intended to execute a .NET SDK command: No .NET SDKs were found.

every time i try to install SDKs in mywidnows machine its not going through even to open my already created app to open...using System; using System.Reflection; [assembly:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
749 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,137 questions
asked 2024-07-11T22:43:23.2333333+00:00
Isaac Mhango 0 Reputation points
commented 2024-07-12T07:10:22.7333333+00:00
Sander van de Velde | MVP 31,106 Reputation points MVP
1 answer

EF Core AUTO_INCREMENT problem with MySQL database

The only problem i have now that i finished my database design is that the AUTO_INCREMENT is not specified when creating the tables by EF Core. This is the modelBuilder modelBuilder.Entity<Conturi>(entity => { …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
721 questions
asked 2024-07-11T22:03:48.4833333+00:00
Stefan 0 Reputation points
answered 2024-07-15T01:59:36.52+00:00
Hongrui Yu-MSFT 945 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

button doesn't work with command

I have a custom command public partial class DateTimeZonePicker : ContentView { public DateTimeZonePicker() { InitializeComponent(); } public static readonly BindableProperty OpenDateTimePickerCommndProperty =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T21:16:12.93+00:00
Eduardo Gomez Romero 245 Reputation points
commented 2024-07-12T19:44:10.9533333+00:00
Eduardo Gomez Romero 245 Reputation points
3 answers

How to pass generic list to activity

Hello i have a list class Classdaysun { public int daysun { get; set; } public int monthsun { get; set; } public DateTime time { get; set; } } private List<Classdaysun> list1= new…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2024-07-11T20:56:34.23+00:00
Shay Wilner 1,746 Reputation points
answered 2024-07-15T01:02:51.1833333+00:00
Graham McKechnie 321 Reputation points
2 answers

Blazor app is not working with Front door

Hi, My blazor app works fine in local. And I had deployed to App service in azure and did front door configuration for lower environments, then it shows warning message like below and all actions (Add/delete) works fine as expected. But when i deployed…

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
626 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,492 questions
asked 2024-07-11T17:59:55.3433333+00:00
YachamaneniSreelekha-1920 1 Reputation point
commented 2024-07-11T20:23:52.79+00:00
Sina Salam 6,966 Reputation points
1 answer

Connecting Blazor server app to Application Insights

Hi all; Is there any comprehensive documentation on connecting a Blazor server app to Application Insights? I've found the following bits and pieces: Provides some basics, but leaves a ton unanswered. Looks like a good wrapper for Blazor WASM, nothing…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,986 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,492 questions
asked 2024-07-11T17:21:19.1466667+00:00
David Thielen 2,751 Reputation points
commented 2024-07-12T22:56:10.78+00:00
David Thielen 2,751 Reputation points
0 answers

How do I avoid rate limit issue when extracting many images from microsoft graph urls?

Hi support, I have a web application which displays teams messages from various channels in one place, when a user sends an image in teams chat, it is received as a url in the format…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,548 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,316 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,029 questions
asked 2024-07-11T17:05:40.2233333+00:00
Siddiqui, Wasif 0 Reputation points
commented 2024-07-12T13:29:56.93+00:00
Meghana-MSFT 3,831 Reputation points Microsoft Vendor
1 answer

Maui for Android issue with Clipboard.Default.SetTextAsync

Hello all the code for Clipboard.Default.SetTextAsync as shown build ok but croush at app starting. Any help Thank you. Using maui and android latest versions. private void TDRangeTB_TextChanged(object sender, TextChangedEventArgs e) { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T13:02:57.0366667+00:00
Haviv Elbsz 2,046 Reputation points
commented 2024-07-15T01:54:19.7766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,876 Reputation points Microsoft Vendor
1 answer

How to Equally space menu items of BottomNavigationView in Android Tab?

Screenshot 2024-07-11 at 5.25.28 PM.png https://github.com/dotnet/maui-samples/tree/main/8.0/Fundamentals/Shell I've set up this MAUI Shell project and removed one item from the BottomNavigationView. Once removed the remaing three items are…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T12:03:56.5266667+00:00
Mohammed, Rahil 0 Reputation points
commented 2024-07-12T10:21:15.39+00:00
Mohammed, Rahil 0 Reputation points
2 answers

How to create folder structure when app loaded.

Hi, I'm in net 8 macos. I want to create on this path : var lib = FileSystem.AppDataDirectory. folder name App and inside it folder Logs. if these folders exists don't create them. Please add full code ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T10:36:07.6766667+00:00
Dani_S 3,276 Reputation points
edited a comment 2024-07-11T22:24:55.9466667+00:00
Bruce (SqlWork.com) 60,866 Reputation points
1 answer

How to install .pkg file in customer and run the app?

Hi, In the end of the thread (https://learn.microsoft.com/en-us/answers/questions/1731082/how-to-find-where-pkg-file-store-the-installed-app?comment=answer-1570815&page=1#comment-1638338) you said: "If you send a link to the customer, the pkg…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T10:19:07.9733333+00:00
Dani_S 3,276 Reputation points
commented 2024-07-14T19:40:02.1533333+00:00
Bruce (SqlWork.com) 60,866 Reputation points
0 answers

How to fix "Request textDocument/semanticTokens/range failed" and "Request textDocument/hover failed" in my blazor v8 project

It displays endless message from the gold bar: "Request textDocument/semanticTokens/range failed" "Request textDocument/hover failed" [Error - 12:02:57 PM] [LanguageServerHost] System.ArgumentException: Range={ Start={ Line=57,…

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,492 questions
asked 2024-07-11T10:12:19.4533333+00:00
Bracho Yanez, Karol 0 Reputation points
commented 2024-07-15T02:02:56.3533333+00:00
JasonPan - MSFT 4,801 Reputation points Microsoft Vendor
0 answers

How to authenticate my application (running as an Azure App Service) against another Azure App service using Managed Identites?

We have two applications that run in two different Azure App Services: A ASP.NET 4.6.2 application that Host a website and utilizes a web job that communicates with the other App Service over gRPC (using the older Grpc.Core package because App Services…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,328 questions
asked 2024-07-11T09:59:10.7266667+00:00
Lucas 0 Reputation points
2 answers One of the answers was accepted by the question author.

<Title> tag not reflected in AssemblyInfo.cs

Hello <Title> tag is not reflected in the generated AssemblyInfo.cs. ConsoleApp1.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 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,852 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,604 questions
asked 2024-07-11T09:58:48.1333333+00:00
Hideo Yamada 20 Reputation points
accepted 2024-07-11T10:33:33.63+00:00
Hideo Yamada 20 Reputation points
1 answer

How to store large amount of Data in maui application.

Hello Team, We had migrated our xamarin application to Maui - We need to store large json file approx ( 1 Lakh lines). Earlier in Xamarin we used to create a text file in local folder and we used to write into that particular file. Can we follow the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T05:34:29.1466667+00:00
Vaibhav Methuku 80 Reputation points
answered 2024-07-11T05:57:20.6966667+00:00
Viorel 114.4K Reputation points
1 answer

Error message Windows media player 10 or higher required for media element in WPF

When trying to use the media element in WPF to play an MP3 file, nothing happens when running the project. An error message says that Windows Media Player version 10 or higher is required, but Windows Media Player version 11 is already installed on the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-11T03:04:05.8466667+00:00
Nam Nguyen 0 Reputation points
answered 2024-07-11T07:41:25.25+00:00
Hongrui Yu-MSFT 945 Reputation points Microsoft Vendor
1 answer

Value cannot be null. Parameter name: instance

|at System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute[] attributes) at Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner) at …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-11T02:13:06.05+00:00
Thanh Truong Van 0 Reputation points
answered 2024-07-11T07:23:44.02+00:00
Jiale Xue - MSFT 42,401 Reputation points Microsoft Vendor
1 answer

Mac connect in visual studio

I'm running the app in visual studio. In order to check the operation with the Mac simulator, the following error occurs when I connect to the Mac and build. What should I do? error: No provisioning profiles were found available for OnlineSecurityApp…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-11T00:37:59.3133333+00:00
水元 翼 0 Reputation points
commented 2024-07-15T02:04:49.07+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,876 Reputation points Microsoft Vendor
0 answers

MAUI App Centre not working

Hi, I am upgrading from Xamarin to MAUI - i have App Centre setup for error tracking for both iOS and Android. It is working fine from Xamarin. on my MAUI app, it is connecting and working fine on iOS, but on Android it is not detecting any events or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-10T21:08:48.79+00:00
SSB 111 Reputation points
commented 2024-07-11T02:46:27.55+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
1 answer

How to add vertical scroll bar into relative layout

Hello in platform xamarin android I have a relative layout and inside some text view i try to add a scroll bar as parent to the text views but when i debug the app i get an exception android.views.inflateexception scrollview can hosts only one…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2024-07-10T19:59:58.0233333+00:00
Shay Wilner 1,746 Reputation points
answered 2024-07-10T20:23:54.7066667+00:00
Shay Wilner 1,746 Reputation points