22,981 questions with .NET-related tags

Sort by: Updated
1 answer

Why .net runtime needs to be downloaded for every new project started in vscode

Could someone please help me understand why this is? Whenever I try to create a new .Net app in vscode with the command palette, it has to download a new .net runtime even though I have .net 8 runtime installed. Running Ubuntu 22.04

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 questions
asked 2024-02-20T20:48:43.5833333+00:00
WILSON, ISAAC 0 Reputation points
answered 2024-02-20T20:55:03.17+00:00
Michael Taylor 43,891 Reputation points
1 answer

Can I omit .NET Core references of Blazor WASM?

When publishing standard Blazor WASM which would be provided via Blazor server, how can I omit all references currently already available on my MAUI client? As I hope to reduce size of downloaded WASM when I am using .NET emulating within BlazorWebView,…

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,304 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-19T17:10:23.62+00:00
Matěj Rada 0 Reputation points
commented 2024-02-20T20:54:35.9533333+00:00
Matěj Rada 0 Reputation points
1 answer

Wrong render for a component depending of JavaScript with NET8 Blazor

I'm creating a new website with Blazor Web App with NET8. Out of the box, Visual Studio creates 2 projects for the Interactive Mode Auto, one for server and another one for client. I created a repo on GitHub with the full solution. I created a component…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,993 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,304 questions
asked 2023-10-17T11:19:19.9233333+00:00
Enrico Rossini 126 Reputation points
commented 2024-02-20T20:50:30.8633333+00:00
Garrett Womack 0 Reputation points
2 answers

Does AllowBulkExecution option for Cosmos client work with Parallel.ForEachAsync

With our Web API application we are trying to upload 3500 records to cosmos DB. We are using using Parallel.ForEachAsync method for this. When we're setting AllowBulkExecution option to true in Cosmos Client it is taking 18 sec to insert 3500 records in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,993 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,348 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,917 questions
asked 2024-02-15T14:49:00.11+00:00
Debashis Jena 71 Reputation points
answered 2024-02-20T19:32:00.87+00:00
Oury Ba-MSFT 14,856 Reputation points Microsoft Employee
0 answers

Outlook keeps asking me to log into my Google account everytime I open the app.

I have recently downloaded the new Outlook version and I have logged into my Google account. However, whenever I open the app, I have to log into my Google account again, and it's pretty annoying.

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,917 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
50 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.
82 questions
asked 2024-02-20T19:08:38.6633333+00:00
Linus García 0 Reputation points
0 answers

Images don't persist in ColllectionView .

I have a Class in Model to save the Information about a document. The images are retrieved as streams in view model and are displayed in CollectionView .The problem is when Images are scrolled out of view and scrolled back in the images disappears. here…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,253 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,917 questions
asked 2024-02-12T09:17:00.5633333+00:00
Asgar Ali 86 Reputation points
commented 2024-02-20T18:57:58.53+00:00
Asgar Ali 86 Reputation points
1 answer One of the answers was accepted by the question author.

Why dot.net objects work differently in windows and Android???

So since debugging with Android and the emulator is so horrible I am now debugging on windows (had to change init a bit as it reads a file). Now this way of doing things works well. Then KABANG!! I have an endpoint that need a date string in the format…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-20T16:48:47.9233333+00:00
Lloyd Sheen 1,311 Reputation points
commented 2024-02-20T18:56:27.7+00:00
Lloyd Sheen 1,311 Reputation points
1 answer

Can a nuget written in .Net standard 2.0 be consume by application written in .Net Framework 4.8.2

I want to write a client application which will work with Azure Storage to upload, download or update blobs in container. I want that, this client application should be compatible with any .Net implementation irrespective of the version. As far as I can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,508 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,098 questions
asked 2024-02-20T11:38:16.0533333+00:00
Mini Lahariya 0 Reputation points
answered 2024-02-20T18:29:56.0066667+00:00
Bruce (SqlWork.com) 52,311 Reputation points
3 answers

Fill and remove elements at any time, asyncronous mode.

Hello, I receive data as a string, packed in json format. I can receive the data at any time. I would like to work through the data step by step. At the same time, I may remove a row of data and then add new data. How can I avoid collisions and…

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,624 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,917 questions
asked 2024-02-17T15:23:27.9866667+00:00
Markus Freitag 3,706 Reputation points
commented 2024-02-20T18:25:48.88+00:00
Andy De George 90 Reputation points Microsoft Employee
3 answers

How can I resolve a validation error related to the binding of a related entity (Category) in ASP.NET Core 6 MVC, despite trying various approaches?

Hello, I'm relatively new to ASP.NET Core 6 and I'm encountering a frustrating validation issue when attempting to work with related entities in my MVC application. I apologize if this question has been asked before, but I've spent considerable time…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,993 questions
asked 2024-02-18T23:53:59.69+00:00
Aspcoool 0 Reputation points
edited an answer 2024-02-20T18:18:55.2966667+00:00
Bruce (SqlWork.com) 52,311 Reputation points
3 answers One of the answers was accepted by the question author.

How to use a user created username to login instead of the email in Asp.Net Core 6

I am working on an ASP.NET Core 6 project with identity. In the default Register.cshtml page, there is a textbox to enter the email and confirm email. I have modified this page with a new field named "UserCreatedUserName" and I am saving this…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,993 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,160 questions
asked 2024-02-16T16:25:20.7433333+00:00
Sherpa 121 Reputation points
commented 2024-02-20T18:11:16.27+00:00
Sherpa 121 Reputation points
2 answers One of the answers was accepted by the question author.

How to change the grey default background of a combobox in wpf in xaml

Hi how can I change the grey default background color of a combobox? Of the selected Item not the dropdown list Any help?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 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,624 questions
asked 2024-02-02T20:36:18.67+00:00
VFarkas 20 Reputation points
accepted 2024-02-20T17:49:52.52+00:00
VFarkas 20 Reputation points
1 answer

getting <element class="demotest"> Selector specificity (0, 1, 0)

My curly brace is not being recognized and showing the following error after typing in both html and css files: <style> .demotest { } MY FIRST CURLY BRACE IS NOT BEING RECOGNIZED

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,160 questions
asked 2024-02-20T16:08:43.56+00:00
Noreen Giovinazzi 0 Reputation points
answered 2024-02-20T17:28:56.0933333+00:00
Bruce (SqlWork.com) 52,311 Reputation points
2 answers One of the answers was accepted by the question author.

Excel process not terminating after use in C# console app

I am creating spreadsheets in a C# console app using Excel. When I try to terminate the Excel process and get the window handle, I get an 'InvalidComObjectException' the second time through. The first Excel image in memory is deleted but thereafter Excel…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 questions
asked 2024-02-07T19:36:54.0966667+00:00
Al Harlow 20 Reputation points
commented 2024-02-20T17:24:00.2866667+00:00
Al Harlow 20 Reputation points
1 answer

What happens when Xamarin support ends?

I have an existing app that uses Xamarin.Android, and I'm concerned about the impact of Xamarin support ending on May 1, 2024. Will my app still work if I don't migrate to .NET ? Also, will there be any issues with Google Play Protect when deploying the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,253 questions
asked 2024-02-20T09:38:46.81+00:00
Akshaya Naik 0 Reputation points
answered 2024-02-20T17:21:01.96+00:00
Bruce (SqlWork.com) 52,311 Reputation points
0 answers

exceptionForHR in long polling from API, timer goes in two..

Hello I have my JoingMeetingViewModel private string? elapsedTimeString; private readonly Stopwatch? stopwatch = new(); private Timer? meetingTimer; private Timer? breakTimeTimer; private MeetingData? data; private Timer?…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-17T14:52:03.1033333+00:00
Eduardo Gomez 3,196 Reputation points
commented 2024-02-20T17:00:29.0666667+00:00
Eduardo Gomez 3,196 Reputation points
1 answer

How do I fix an issue with content not showing inside of a carousel view item after a swipe gesture in .net Maui 7.0?

We have been working on transferring an old Xamarin project on over to .NET MAUI 7.0. for several months now. Everything is going pretty well. However, there are a few issues that we are having with the carousel view that are quite aggravating.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-19T01:04:57.96+00:00
Matthew Bailey 0 Reputation points
commented 2024-02-20T16:38:36.81+00:00
Matthew Bailey 0 Reputation points
1 answer

permissions to refresh a data model in azure analysis services

I am refreshing a data model in Azure Analysis Services using an Azure Function App (C# .NET 6). I am using the Microsoft.AnalysisServices.Tabular package available at https://www.nuget.org/packages/Microsoft.AnalysisServices.NetCore.retail.amd64. When I…

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
426 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,985 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,140 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,230 questions
asked 2024-02-19T11:10:09.8366667+00:00
Muhammad Pathan 20 Reputation points
edited a comment 2024-02-20T16:10:25.52+00:00
Muhammad Pathan 20 Reputation points
0 answers

Automatic joining of a Teams-Bot to an ongoing Teams meeting

I am facing the challenge of having a C# Teams bot automatically join an ongoing Teams meeting. My goal is to retrieve call information about the participants of the meeting in order to be able to process this data further. It is important to note that I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,993 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,879 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.
2,743 questions
asked 2024-02-20T15:39:17.47+00:00
Ottmann, Thomas 0 Reputation points
edited the question 2024-02-20T15:39:54.2366667+00:00
Ottmann, Thomas 0 Reputation points
0 answers

Function app not connecting to analysis services server getting Specified method is not supported

I am refreshing a data model in azure analysis services using a azure c# .net6 function app. i am getting Specified method is not supported when trying to connect to analysis services. my connection string looks correct. my server name is correct and…

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
426 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,985 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,917 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,098 questions
asked 2024-02-08T15:37:05.84+00:00
Muhammad Pathan 20 Reputation points
commented 2024-02-20T15:10:17.6866667+00:00
Marc De Vreese 11 Reputation points