24,875 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Authorization - MSB4018 The "GenerateStaticWebAssetsPropsFile: task failed unexpectedly

Creating a project which has individual User Accounts Authorization... Steps. In the Authentication type input, select Individual User Accounts Update-Database Error... Severity Code Description Project File Line Suppression…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,359 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
asked 2023-04-11T16:50:10.4266667+00:00
Dean Everhart 1,516 Reputation points
accepted 2024-07-14T15:13:43.7733333+00:00
Dean Everhart 1,516 Reputation points
0 answers

Exceeded language worker restart retry count for runtime:dotnet-isolated. error happening locally while upgrading azure function project to isolated

I am trying to upgrade my azure function project from .net 6 to .net 8 isolated and it seems there is something wrong with my local because I get the same error in the projects that I developed myself and deployed to production. Here is the full log of…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,607 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,359 questions
asked 2024-07-14T15:00:00.8666667+00:00
Ronak Panchal 0 Reputation points
1 answer

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,276 Reputation points
answered 2024-07-14T14:54:51.3233333+00:00
Krirjr 0 Reputation points
0 answers

Maui for Android editor text selection issue

Hello All. using Maui net 8 android 14. Please when I select a word in the editor a menu copy paste select all pop-up and when I choose select all the screen scroll and the selection mark is hidden and I need to scroll to see it. Please how I can fix…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-14T14:14:48.0633333+00:00
Haviv Elbsz 2,046 Reputation points
0 answers

Mac - keep data in memory and get data

Hi, I run mac app in vs code net 8. after publishing it using this command: dotnet publish -f net8.0-maccatalyst -c Release The app stop working me, the logic not working. I keep data in singelton class and I reach from other pages to this class. It work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-14T13:15:46.56+00:00
Dani_S 3,276 Reputation points
commented 2024-07-14T13:47:26.2+00:00
Dani_S 3,276 Reputation points
3 answers One of the answers was accepted by the question author.

VS 2022 Not showing red squiggles under errors when i debug projects saved on network disk

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,596 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,602 questions
asked 2024-06-21T05:42:45.41+00:00
Willis1962 25 Reputation points
commented 2024-07-14T09:03:37.5733333+00:00
Vivek Reddy Sripathi 0 Reputation points
0 answers

How do I access child elements

Hello. I have a problem, in one of the StackPanels I want to display product cards, where the user can write the quantity of goods purchased and their price, then the program should calculate the total amount. Everything should change dynamically with…

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,709 questions
asked 2024-07-14T09:01:52.8433333+00:00
vitaminchik 466 Reputation points
edited the question 2024-07-14T09:02:59.6566667+00:00
vitaminchik 466 Reputation points
1 answer

Inserting data in many to many relation ship in EF core

i have two tables 1-Employees (ID ,EmpName) 2- Project (ID,ProjectName) data is already inserted in boh tables ,there is many to many relationship between these two so middle table created in table i.e EmployeesProject now i want to insert data (keys of…

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 2023-06-05T15:28:34.3533333+00:00
Erum Mirza 1 Reputation point
commented 2024-07-14T05:23:28.2933333+00:00
Aviad Pineles 20 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,179 questions
asked 2024-07-11T10:19:07.9733333+00:00
Dani_S 3,276 Reputation points
commented 2024-07-14T02:56:31.3833333+00:00
Dani_S 3,276 Reputation points
5 answers

Blazor Web Assembly with Azure AAD and Custom authentication Login

I want to implement two authentication mechanism in my Blazor web assembly application (Azure AD and Custom Authentication). i.e. User can either login via Azure AD or he can go for Custom Authentication. When I register both Custom…

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 2022-06-02T21:42:30.053+00:00
Reishabh Saxena 1 Reputation point
edited an answer 2024-07-13T16:50:32.56+00:00
HEMANT KUMAR 0 Reputation points
1 answer

how to detect edge of paper in ios?

how to do edge-detection in ios? I want to use camera to capture paper and remove the other info. just leave the paper.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-13T00:39:35.8+00:00
mc 4,066 Reputation points
commented 2024-07-13T13:52:11.78+00:00
mc 4,066 Reputation points
0 answers

How to find where my code gets into an infinite loop

My Visual Basic code is getting stuck somewhere and never finishes. This only happens with one particular input, otherwise it works. I'd like to know at what routine the code is getting stuck. I looked for advice on the web, and it says that when…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,596 questions
asked 2024-07-13T13:13:22.4633333+00:00
rael isaac 21 Reputation points
commented 2024-07-13T13:19:56.01+00:00
David Lowndes 2,490 Reputation points MVP
2 answers

Web app with Entra authentication got 403 error

Webapp1 is a asp.net 8.0 app with Entra as authentication provider. The registered app is app1. Webapp1 used to work but I got the 403 app after a deployment. The error page showed "Access to webapp1.azurewebsites.net was denied. You don't have the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,359 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
838 questions
asked 2024-06-17T20:06:33.8233333+00:00
Ben Wilson 20 Reputation points
answered 2024-07-13T12:33:11.83+00:00
Ben Wilson 20 Reputation points
1 answer

Why is telemetryClient.IsEnabled() true if no key is provided

Hi all; I have the following code: builder.Logging.AddApplicationInsights(); builder.Services.AddApplicationInsightsTelemetry(); builder.Services.ConfigureTelemetryModule<DependencyTrackingTelemetryModule>((module, o) => {…

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-12T18:56:14.73+00:00
David Thielen 2,751 Reputation points
commented 2024-07-13T02:40:14.4666667+00:00
Michael Taylor 50,836 Reputation points
1 answer

Add-Migration works, but Update-Database says "no migrations to update". I tried deleting the Mig.. Folder

Visual Studio and EF Core problem. Migrations don't work. Add-Migration Title works to update the schema, but Update-Database in NuGet Command Console says that the db is already up to date, but the db does not have my new table in it. I tried…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
721 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,268 questions
asked 2023-12-31T01:49:00.7366667+00:00
John Murphy 25 Reputation points
commented 2024-07-13T02:11:37.22+00:00
Mario Escudero 0 Reputation points
1 answer

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
commented 2024-07-13T01:08:18.85+00:00
Graham McKechnie 321 Reputation points
0 answers

Scroller Jumps to Start Position when Entry Control Gains Focus in VirtualizeListView

GitHub Source code URL : https://github.com/MPowerKit/VirtualizeListView.git When using the VirtualizeListView component with Entry controls inside it, the scroller scrolls to the start position whenever an Entry control gains focus. This issue disrupts…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,596 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-12T23:30:54.89+00:00
S GAIKWAD 231 Reputation points
1 answer One of the answers was accepted by the question author.

Connecting Blazor server to Application Insights

Hi all; Is this still the latest/greatest way to integrate Application Insights with my Blazor server app? I want to use this for figuring out the hot spots when load testing including the SQL queries (via Entity Frameworks). And while that link has what…

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-10T15:57:25.93+00:00
David Thielen 2,751 Reputation points
commented 2024-07-12T22:56:53.9866667+00:00
David Thielen 2,751 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
1 answer

Does with Roles or Policies in Blazor apps, work with Active Directory?

I want to write a Blazor application. It must authenticate and authorize internal users in our Active Directory domain. I'm currently reading through Core Blazor Authentication and Authorization. It discusses roles and policies, which look like they will…

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
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,183 questions
asked 2024-07-09T16:22:20.2666667+00:00
Falanga, Rod, DOH 105 Reputation points
commented 2024-07-12T21:21:57.2+00:00
Bruce (SqlWork.com) 60,866 Reputation points