23,940 questions with .NET-related tags

Sort by: Updated
0 answers

Deploy to Azure failing with Error: ENOTFOUND

I have [repository][1] with simple .net web api that I want to deploy to Azure. However my deploy is always failing with this error: The workflow file can be found [here][3]. Does anybody know what is the cause of this error?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,759 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,388 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,265 questions
asked 2024-04-30T21:13:30.1833333+00:00
Jan Smutný 0 Reputation points
0 answers

Using Phi-3 for AI mobile app development on Maui - Need resources

I am keenly interested in bringing AI to mobile devices. Where can I get more information on using Phi-3 in Maui apps?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,388 questions
asked 2024-04-30T21:10:48.52+00:00
Tim Belvin 21 Reputation points
0 answers

Updating app service from .NET 6 to 8

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,388 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

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,394 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,281 Reputation points
commented 2024-04-30T20:05:13.2966667+00:00
David Thielen 2,281 Reputation points
1 answer

How to fix error "Account already exists" when signing in google users on a customer entra tenant?

Dear Microsoft support team, My name is Javier Ortega, and I am writing to seek assistance with: Authentication from .Net application to Entra tenant, with google users. Currently we have a group of users migrated to a customer (external) entra tenant.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,643 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,516 questions
asked 2024-04-30T15:51:40.8333333+00:00
Javier Herrera 15 Reputation points
edited an answer 2024-04-30T19:43:05.3333333+00:00
James Hamil 21,696 Reputation points Microsoft Employee
0 answers

OutputCaching issue in .NET 8.0

Hi, I have implemented the Output Caching in ASP.NET Core 8.0 and deployed the same S3 bucket and Lambda function and its exposed through AWS API gateway. After implementation output cache and I have tested the local swagger API through postman first…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,388 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
asked 2024-04-26T11:48:11.7033333+00:00
Venkat 1 Reputation point
commented 2024-04-30T18:36:17.5333333+00:00
Venkat 1 Reputation point
1 answer

Best Practice For Database Access In Blazor MAUI Hybrid App

I'm porting a project from MVC into a Blazor MAUI Hybrid app with the intent to share common components and data. I have a Razor Class Library which does this, but was wondering if I should also put my SQL Server data access in here as well or keep that…

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,394 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.
12,737 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,885 questions
asked 2024-04-30T17:24:11.6166667+00:00
Daniel Kovach 0 Reputation points
answered 2024-04-30T18:30:11.3766667+00:00
Bruce (SqlWork.com) 56,526 Reputation points
0 answers

ASP.NET button control not able to make disabling in panel control using c#

i am trying to make disable button controls through panels. In the panel, i am using textbox, label, fileupload,gridview and button controls. i am able to disable only textbox, label and gridview. but, i am unable to make disable fileupload and button…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,265 questions
asked 2024-04-30T18:21:01.5633333+00:00
Gani_tpt 1,546 Reputation points
edited the question 2024-04-30T18:21:43.8433333+00:00
Gani_tpt 1,546 Reputation points
1 answer

Hot to Fix The exception 'GenericArguments[0], 'PizzaStore.PizzaDb', on 'Microsoft.EntityFrameworkCore.Design.IDesignTimeDbContextFactory`1[TContext]' violates the constraint of type 'TContext'.' was thrown while attempting to find 'DbContext' types.

I'm studing the module 'Exercise - Use the SQLite database provider with EF Core' (https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-database/5-exercise-use-sqlite-database), but when I try to set up the SQLite database to my…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
4 questions
asked 2024-04-30T12:35:31.8633333+00:00
Raphael Soares 0 Reputation points
answered 2024-04-30T17:29:55.6033333+00:00
Pradeep M 390 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Scriptmanager alert not displaying properly in same page

I am doing some simple screen add functionality and after end of saving, i am using scriptmanager.RegisterStartupScript() for save message. when i run the program, the alert have not been throwing properly. it showing same page but, without controls like…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,265 questions
asked 2024-04-29T17:12:15.2666667+00:00
Gani_tpt 1,546 Reputation points
accepted 2024-04-30T17:07:12.91+00:00
Gani_tpt 1,546 Reputation points
0 answers

Asp.net MVC renders 2 "form action" statements for the same form when in responsive mode

ASP.Net MVC VS 2022 Windows 11 App runs fine in desktop mode. This line: <@using (@Html.BeginForm("SubmitForm", "Home", FormMethod.Post, new { id = "subform", verify = "Y" }))> is generated correctly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
asked 2024-04-29T18:06:54.7466667+00:00
Jean Vallee 21 Reputation points
commented 2024-04-30T16:49:07.4+00:00
Bruce (SqlWork.com) 56,526 Reputation points
2 answers

Will Visual Studio upgrade project files accordingly?

I may have an old .NET Framework app dumped into my lap. I've been looking at it for a while, to try and wrap my head around it. It's got 18 projects in the solution file, comprised of 5 different .NET Frameworks. Everything from .NET Framework 2, to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,614 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,121 questions
asked 2024-04-29T20:26:12.4766667+00:00
Falanga, Rod, DOH 60 Reputation points
commented 2024-04-30T16:34:16.11+00:00
Bruce (SqlWork.com) 56,526 Reputation points
0 answers

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,635 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,885 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-04-30T16:26:22.0733333+00:00
Grant Schaffer 20 Reputation points
1 answer One of the answers was accepted by the question author.

Maui .Net 8 XCode 15.1 and 15.2 NativeAOT Error in Testflight

Hello, I have an Maui app built with XCode 15.2 and .Net 8. I am using Microsoft.EntityFrameworkCore.Sql V8.0.4 When I install it on my iPad with test flight I get: Model binding is not supported when publishing with NativeAOT. Use a compiled model. I…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,885 questions
asked 2024-04-19T16:55:14.02+00:00
Grant Schaffer 20 Reputation points
accepted 2024-04-30T16:08:27.4133333+00:00
Grant Schaffer 20 Reputation points
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,388 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,885 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-04-30T16:07:13.26+00:00
Dani_S 2,726 Reputation points
0 answers

How to fix .NET Framework error

I have a problem with my .NET Framework, whenever I run programs like Visual Studio, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,635 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,121 questions
asked 2024-04-30T16:02:07.9433333+00:00
Jonathan Joseph 0 Reputation points
2 answers

Dynamically pass the B2C sign-in policy in .NET 8

I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,516 questions
asked 2024-04-19T16:58:01.86+00:00
Ragu 0 Reputation points
answered 2024-04-30T15:55:04.2+00:00
Ragu 0 Reputation points
2 answers

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,885 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,381 Reputation points
commented 2024-04-30T15:49:27.31+00:00
Lloyd Sheen 1,381 Reputation points
0 answers

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,885 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-04-30T15:33:51.7133333+00:00
Fei Xu 490 Reputation points
1 answer

how to use signalr in minimal api?

can not use AddSignalR and I can use AddSignalRCore but there will be error. I created the ASP.NET Core Web API (native aot).

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
asked 2024-04-29T13:33:56.15+00:00
mc 3,681 Reputation points
commented 2024-04-30T15:18:50.7566667+00:00
Bruce (SqlWork.com) 56,526 Reputation points