24,245 questions with .NET-related tags

Sort by: Updated
1 answer

How to remove row on client side by jQuery based on key auditor id and budget year?

I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from AUD_RECID and P_BUDGET_YEAR SO I will have unique Value when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
902 questions
asked 2024-05-21T23:41:45.2266667+00:00
Ahmed Salah 0 Reputation points
answered 2024-05-22T09:35:05.8033333+00:00
Lan Huang-MSFT 26,516 Reputation points Microsoft Vendor
1 answer

Connecting SQL Server Data to RDLC reports in Blazor .Net Framework

Hello, I am trying to create/integrate RDLC reports in Blazor .NET framework. So far: I have managed to open a RDLC report thanks this Question and Answer:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 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,420 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,894 questions
asked 2024-05-13T09:36:27.6966667+00:00
Geoffrey de Sousa 0 Reputation points
commented 2024-05-22T08:33:00.6533333+00:00
JasonPan - MSFT 4,396 Reputation points Microsoft Vendor
0 answers

How to exclude some libraries to be trimmed in .NET 8 for Android, not MAUI?

I've been migrating my app from Xamarin.Android to .NET 8 and I'm getting some issues since I don't have an option to exclude some libs that existed in Xamarin: But in .NET 8 for Android in Visual Studio 2022, there is nothing like that: I tried to add…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 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,380 questions
asked 2024-05-21T14:10:40.6733333+00:00
Federico Navarrete 616 Reputation points
edited the question 2024-05-22T08:21:05.9066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
2 answers

.NET Maui support - Splash image size

I'm using .NET Maui and would like to add the splash screen. Now Maui uses a single svg file. Checking the Android documentation, there's a new size for the splash https://developer.android.com/develop/ui/views/launch/splash-screen for Android v12 and…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,696 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2023-06-12T15:09:51.0333333+00:00
Junior Saravia 20 Reputation points
commented 2024-05-22T07:43:57.49+00:00
Govind Mulleth 0 Reputation points
1 answer

Under Posting Attack in .NET Core

In .NET 6 I have a DTO with value data types like int. But while sending a POST request if user omits the value for that default value is getting assigned without any Error. What are the best practices to avoid this under posting? I have tried using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 questions
asked 2024-05-03T10:05:35.66+00:00
net 6 newbie 121 Reputation points
commented 2024-05-22T07:13:28.1866667+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
0 answers

.NET MAUI: The entire UI-Breaking

The entire UI is breaking on the content page, and when I try to go back to the previous page, it also doesn't work. These issues are only on the iOS platform; it is working fine on the Android platform. Below, I am adding a screenshot of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-21T07:29:41.2333333+00:00
Aleena George 20 Reputation points
commented 2024-05-22T07:01:04.56+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine

I am having Windows 64 Bit os build 19043.1826 21H1, i have office 21 64 bit on this pc, but when i want to open an xls file i am getting the above error, if i build application 32bit it open file correctly, but if i make it 64 bit i can not install…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 questions
asked 2022-07-25T18:21:25.197+00:00
Sushil Agarwal 381 Reputation points
answered 2024-05-22T06:54:05.9833333+00:00
vinod gaikwad 0 Reputation points
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 5 Reputation points
commented 2024-05-22T05:43:10.73+00:00
Abhishek, Burra 5 Reputation points
0 answers

VS Nuget doesn't work with MAUI but does with WPF

I'm currently using Visual Studio Professional 2022 17.8.9. If I create a WPF project, I'm able to browse Nuget packages. However, if I create a MAUI project and try to browse Nuget, I get the following error message - [nuget.org] Unable to load the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 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,696 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-20T19:47:16.7166667+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
commented 2024-05-22T05:42:44.5033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
2 answers

How to change name of ASP.NET Empty website project ?

I want to change the name of my project because it has the same name as the solution main project. I tried in many way but didn't find how to change the name. The project name project is ShopWebSite1 When the solution and project has same…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
asked 2021-09-09T08:16:10.5+00:00
daowdos 271 Reputation points
answered 2024-05-22T05:35:32.8533333+00:00
Ronen 0 Reputation points
1 answer

Xamarin Forms Target Version Android 14

Hi, I am working on the Migration of Xamarin Forms code to .NET MAUI. Till then, I tried to publish the Xamarin Form Android app with Android Target SDK version 14. I got the same issue as mentioned in the GitHub link:- …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
asked 2024-05-16T12:29:49.5333333+00:00
Chinmay Dole 20 Reputation points
commented 2024-05-22T05:06:22.9233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

Rendering issues with our .Net application post windows patch

Recently, we've encountered rendering issues with our .NET application following a Windows patch update for Windows 10 Version 22H2. Specifically, after applying the cumulative update for .NET Framework 3.5, 4.8, and 4.8.1, we've noticed intermittent…

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,380 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,131 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
commented 2024-05-22T04:54:33.57+00:00
Duc Mai 0 Reputation points
1 answer

Maui app for Android how to get rid of this dialog

Hello All. I use Ver 17.10 preview 7 and android Ver 34. I get the following dialog (image) and when I cancel it all go OK But every time I build my app it's appears and I need to cancel it to continue the build task. Please how I can get rid of it. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,696 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-19T08:46:12.7066667+00:00
Haviv Elbsz 1,946 Reputation points
commented 2024-05-22T03:10:34.3566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

$.ajax patch method and .net 8 api action

Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
902 questions
asked 2024-05-21T05:35:16.4333333+00:00
S R, Senthil 20 Reputation points
accepted 2024-05-22T01:43:39.2066667+00:00
S R, Senthil 20 Reputation points
1 answer

image do not show in .net android?

I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,726 Reputation points
edited a comment 2024-05-22T00:52:37.56+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

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,808 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
commented 2024-05-22T00:26:56.3166667+00:00
HASSALL Michael 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Extensions.DependencyInjection can not register type which implement static abstract memer interface

I can not register the type Foo as 'IFoo' when IFoo has static abstract member. Is it a bug? Or, how can I register this type as interface? repo Program.cs using Microsoft.Extensions.DependencyInjection; // these line works! IFoo foo = new…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2024-05-20T02:20:59.1633333+00:00
William Liu 286 Reputation points
accepted 2024-05-22T00:26:17.4833333+00:00
William Liu 286 Reputation points
2 answers

Is it correct to make connection string dynamic?

Hi, I'm currently working on a project which need data from other databases. The database where I'll get the datas are depends on users. Now I want to make my connectionString dynamic. Is it correct to make connection strnig dynamic. The user will enter…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 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,894 questions
asked 2024-05-20T19:12:10.4966667+00:00
Atilla Rüstəmli 0 Reputation points
edited an answer 2024-05-22T00:24:27.6433333+00:00
SurferOnWww 2,071 Reputation points
3 answers One of the answers was accepted by the question author.

How to make loader image show on every page when user click on any task

I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
902 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,380 questions
asked 2024-05-19T04:01:14.2433333+00:00
Emeka Okoye 66 Reputation points
accepted 2024-05-21T20:24:34.7833333+00:00
Emeka Okoye 66 Reputation points
2 answers One of the answers was accepted by the question author.

@await RenderSectionAsync giving "Cannot await method group" error

I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code giving the titled error. Am I missing something ? …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 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,420 questions
asked 2024-05-21T04:33:58.8933333+00:00
Akhil Josef 20 Reputation points
accepted 2024-05-21T17:06:10.0966667+00:00
Akhil Josef 20 Reputation points