23,932 questions with .NET-related tags

Sort by: Updated
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,883 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-04-30T15:22:42.6066667+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,175 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,286 Reputation points
3 answers

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,262 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,262 questions
asked 2024-04-29T17:12:15.2666667+00:00
Gani_tpt 1,526 Reputation points
edited a comment 2024-04-30T15:12:05.99+00:00
Bruce (SqlWork.com) 56,286 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,883 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,381 Reputation points
edited a comment 2024-04-30T15:05:51.1233333+00:00
Fabio Castilho 0 Reputation points
1 answer

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,830 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
commented 2024-04-30T14:44:45.1566667+00:00
Jiale Xue - MSFT 31,981 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Upgrading to .Net 8 results in errors when referenced by a project targeting '.NetFramework=4.61'

I am using the upgrade assistant to upgrade the framework, but it's resulting in many errors. Is there any documentation available that explains step-by-step how to fix the errors that occur during the framework upgrade process?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,385 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
3 questions
asked 2024-04-29T22:40:37.7233333+00:00
Ziya Ganjili 0 Reputation points
commented 2024-04-30T14:42:41.6333333+00:00
Ziya Ganjili 0 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,120 questions
asked 2024-04-29T20:26:12.4766667+00:00
Falanga, Rod, DOH 60 Reputation points
commented 2024-04-30T14:11:15.8733333+00:00
Falanga, Rod, DOH 60 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,262 questions
asked 2024-04-29T18:06:54.7466667+00:00
Jean Vallee 21 Reputation points
commented 2024-04-30T13:45:42.48+00:00
Jean Vallee 21 Reputation points
0 answers

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…

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,674 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
edited a comment 2024-04-30T12:59:32.8866667+00:00
Superbia15 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to print PDF/HTML in MAUI?

Hello, I have tried to find any documentation on how to print a PDF or a HTML document in the new Maui framework for Android, but i haven't been able to find anything usefull. Are there any documentation on this, or can someome guide me in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,883 questions
asked 2022-07-05T15:24:35.27+00:00
Steffen Nielsen 26 Reputation points
edited an answer 2024-04-30T12:57:51.02+00:00
ANDERSON DAMASIO 1 Reputation point
0 answers

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
commented 2024-04-30T12:56:28.64+00:00
Pradeep M 390 Reputation points Microsoft Vendor
0 answers

.NET - Azure Function - Azure service bus repeat call

I know this may be a trivial question, but I'm not sure what to do. I am using Azure Service Bus together with MassTransit. I have two services. Service1 is a WebApi application, and Service2 is a couple of Azure Functions units that respond to service…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
547 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,281 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,385 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,262 questions
asked 2024-04-30T12:43:43.5633333+00:00
Petr Klekner 40 Reputation points
0 answers

Create a new instance from Database and API

Hi All i have Azure subscription with Database and WebApp(.net Core) i need to create a new database and webapp from the old i.e replicate the old to the new with a different Name and connection Thanks

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,385 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
766 questions
asked 2024-04-30T07:09:52.1666667+00:00
Mostafa Ali 0 Reputation points
edited the question 2024-04-30T12:34:14.89+00:00
PRADEEPCHEEKATLA-MSFT 77,336 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Why does iOS Files not show an app's file folder?

I followed the instructions to configure Info.plist: The window "On My iPhone" of Files is still empty. The paths of files created by the app are like the following: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2021-04-07T00:46:25.797+00:00
Hong 1,046 Reputation points
commented 2024-04-30T12:31:30.2633333+00:00
Aravind RM 0 Reputation points
0 answers

ASP.NET - The specified network password is not correct - X509Certificate2

I have a .NET web application where trying to import the certificate using the "X509Certificate2". While importing, getting the "The specified network password is not correct.". The certificate is password protected .pfx file and I'm…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,262 questions
asked 2024-04-30T12:08:12.77+00:00
Nabeel Farooq 0 Reputation points
commented 2024-04-30T12:13:37+00:00
Nabeel Farooq 0 Reputation points
0 answers

Content Security Policy Violations happening for whitelisted domains only for Netherlands and Switzerland users.

I have a csp policy where I have whitelisted all the domains from which I want to load the content to my application and have added only default-src directive  which is fallback to all the other directives.   I have tested the policy on lower…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,175 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,900 questions
asked 2024-04-26T11:33:36.0766667+00:00
Gour, Ashish 0 Reputation points
commented 2024-04-30T12:12:08.63+00:00
Gour, Ashish 0 Reputation points
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,385 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,175 questions
asked 2024-04-26T11:48:11.7033333+00:00
Venkat 1 Reputation point
edited a comment 2024-04-30T11:49:17.1866667+00:00
AgaveJoe 26,136 Reputation points
2 answers

ASP.NET framework 4.8 code for file uploding into Azure storage/container using FileUpload control

Hello For file uploading into Azure Storage / containers using the FileUpload control—preferably upon button click—ASP.NET framework 4.8 code is required. Thanks in advance Regards Chandrakant

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,385 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,696 questions
asked 2024-04-29T17:12:45.4533333+00:00
Chandrakant Pawle 61 Reputation points
answered 2024-04-30T11:37:09.04+00:00
Chandrakant Pawle 61 Reputation points
1 answer One of the answers was accepted by the question author.

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

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,393 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 20 Reputation points
commented 2024-04-30T11:03:42.41+00:00
wilfried kinda 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,385 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,883 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-04-30T10:37:28.2033333+00:00
Dani_S 2,726 Reputation points