24,430 questions with .NET-related tags

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

ASP.NET MVC - Implementing Search Functionality

I've implemented a search to filter out records by LastName but it doesn't work; basically it does nothing. I have Googled and tried using several code sample but not been able to use them since I get syntax errors. How do I get the search to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,351 questions
asked 2024-06-06T04:48:06.3933333+00:00
Malam Malam 141 Reputation points
accepted 2024-06-07T14:11:29.3966667+00:00
Malam Malam 141 Reputation points
1 answer One of the answers was accepted by the question author.

Arrange picture from right to left in Blazor

Each picture have TextBox at bottom.Somebody help @page "/" <PageTitle>Home</PageTitle> <h1>Hello, world!</h1> Welcome to your new app. <p></p> @foreach (var image in images) { <p> <img…

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,443 questions
asked 2024-06-07T12:06:43.8233333+00:00
MIPAKTEH_1 160 Reputation points
accepted 2024-06-07T14:10:45.03+00:00
MIPAKTEH_1 160 Reputation points
0 answers

How to hide the modal popup if another modal popup is open in ASP.NET

I am using multiple modal popup window (bootstrap) in the gridview. one is for onclick (link button) second one is for onclick (image button) i have used two different design popup model (dialog). i am facing the issue, when i click linkbutton, it is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,351 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,443 questions
asked 2024-06-07T09:43:53.13+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-07T13:39:38.87+00:00
AgaveJoe 26,581 Reputation points
3 answers One of the answers was accepted by the question author.

Blazor HeadContent

I have some Open Graph meta tags that I add within the HeadContent. The problem is that I must add all those tags on every page. <HeadContent> <meta name="description" content="@metaDescription" /> <meta…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,270 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,443 questions
asked 2024-06-03T17:10:50.0233333+00:00
Kuler Master 266 Reputation points
accepted 2024-06-07T13:16:11.9033333+00:00
Kuler Master 266 Reputation points
1 answer One of the answers was accepted by the question author.

How to customise global window closing prompt in a .NET MAUI application

I am working on a .NET MAUI project for desktop, I found a global solution for prompting a user before closing the application here. I would like to know if this can be customised and triggered conditionally when closing. For example: I have an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 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,443 questions
asked 2024-05-28T08:55:28.29+00:00
Arturs Pramalts 20 Reputation points
commented 2024-06-07T13:02:13.3066667+00:00
Arturs Pramalts 20 Reputation points
0 answers

How to update a List in a View und refresh the View with the updated List in ASP.NET?

In my Controller I read data from a Excelfile and compare this data with data from the database see: `[HttpPost]` public ActionResult UploadWöchentlichesUpdate(IFormFile excelFile) { if (excelFile != null &&…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,351 questions
asked 2024-06-07T10:51:09.9333333+00:00
Christopher H 0 Reputation points
commented 2024-06-07T12:59:00.1333333+00:00
AgaveJoe 26,581 Reputation points
0 answers

Queries with EF Core causes 'Cannot continue the execution because the session is in the kill state'

Some EF Core queries are throwing the following error in our code : Cannot continue the execution because the session is in the kill state. Une erreur grave s'est produite pendant la commande actuelle. Les résultats devront être supprimés, le cas…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
709 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,002 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,443 questions
asked 2024-06-07T10:02:04.1466667+00:00
Arthur Menétrey 0 Reputation points
edited the question 2024-06-07T12:48:09.9866667+00:00
Arthur Menétrey 0 Reputation points
0 answers

Gridview ID problem

Hello, I have two gridviews set up. Both of them use the default scrolling buttons. In one gridview if you look at the properties of the scroll > buttons the ID property is missing like this: <input type="image"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,351 questions
asked 2024-06-06T17:56:28.6366667+00:00
Wheeler, Lee 0 Reputation points
edited a comment 2024-06-07T12:39:29.54+00:00
Wheeler, Lee 0 Reputation points
1 answer

Control Flow guard

Hello Team, Control flow guard is only for visual c++ based application or for all c++ compilers or it will works for all like c#, .net based application.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 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,443 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,580 questions
asked 2024-06-07T11:13:32.64+00:00
Mashuk Raza 0 Reputation points
commented 2024-06-07T12:35:56.06+00:00
Minxin Yu 10,456 Reputation points Microsoft Vendor
1 answer

Database credential saved in memory.

Hello team, While testing thick client application. I dumped the memory from task manager and process hacker tools and I got database credentials. So How can I mitigate this issues in C++, C# and .net application. Please suggest and explain in details so…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 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,443 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,580 questions
asked 2024-06-05T06:44:07.43+00:00
Mashuk Raza 0 Reputation points
edited a comment 2024-06-07T12:15:29.1666667+00:00
Minxin Yu 10,456 Reputation points Microsoft Vendor
0 answers

Isolated Worker not working with Function App deloyed on App Service Plan

I am migrating my Function App from in-process model to isolated worker model. My code has been now updated and is working fine locally but the time I am deploying it to the existing function it is throwing below errors - Handling WorkerErrorEvent for…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,457 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 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,443 questions
asked 2024-06-07T09:42:58.3633333+00:00
Juhi Saxena 41 Reputation points
edited the question 2024-06-07T11:33:48.6466667+00:00
Juhi Saxena 41 Reputation points
2 answers

How to restart the service when time is reach only once a day

Hi, in continue to https://learn.microsoft.com/en-us/answers/questions/1663229/service-monitor how to restart the service when time is reach only once a day ? protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 questions
asked 2024-06-06T10:23:27.6266667+00:00
Dani_S 3,006 Reputation points
edited a comment 2024-06-07T11:30:35.5633333+00:00
Dani_S 3,006 Reputation points
0 answers

No templates or subcommands found matching: 'blazorserver'

Question Under "Create Blazor components" Section There is a dotnet command for creating a Blazor app by using the blazorserver template in CLI, it doesn't work anymore. The command is below: dotnet new blazorserver -o BlazingPizzaSite -f…

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,443 questions
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,109 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
1 question
asked 2024-06-07T11:18:52.7766667+00:00
FRED 0 Reputation points
2 answers

Search bar glass in MAC is not working

Hi, Search bar glass in MAC is not working. <HorizontalStackLayout Grid.Row="1" Grid.Column="0" Margin="10,10,0,5" HorizontalOptions="Start" WidthRequest="285"> <SearchBar …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-05T07:13:28.81+00:00
Dani_S 3,006 Reputation points
commented 2024-06-07T11:10:10.1466667+00:00
Dani_S 3,006 Reputation points
1 answer One of the answers was accepted by the question author.

Mitigation for Dll hijacking

Hello Team, I found dll injection in c#, .net and c++thick client applications. So what will be the standard mitigation to prevent dll injection. Please explain in details so that we can mitigate properly C#, .net, C++.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 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,443 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,580 questions
asked 2024-06-03T09:12:59.99+00:00
Mashuk Raza 0 Reputation points
commented 2024-06-07T11:03:49.1333333+00:00
Mashuk Raza 0 Reputation points
0 answers

Sharpie Binding Error.

Hai, I'm trying to bind an objective C/Swift ios static library with maui binding project. I'm getting the following error when i use the command line to generate the binding for me. It is not very clear as to what is causing is error. Kindly guide me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
958 questions
asked 2024-06-06T05:55:04.53+00:00
Joel Leo 0 Reputation points
commented 2024-06-07T09:54:33.9566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,516 Reputation points Microsoft Vendor
1 answer

Maui ios publish : Path's format not supported

Hello, I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error 16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
commented 2024-06-07T09:41:53.3433333+00:00
Akshay Kumar Sharma 0 Reputation points
0 answers

Sql server database saved credentials in memory

Hello team, SQL server saved the credentials in memory in plain text. So how can we mitigate this issue in 2 tier thick application.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 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,002 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,443 questions
asked 2024-06-07T09:29:04.2733333+00:00
Mashuk Raza 0 Reputation points
edited the question 2024-06-07T09:33:40.69+00:00
Minxin Yu 10,456 Reputation points Microsoft Vendor
0 answers

When running the webserver, "System.Net.Sockets.SocketException (97): Address family not supported by protocol" message is displayed.

Hi experts: I use asp.net core 8 write a web server app in visual studio 2022, when running on some embedded Linux system, will report the error "System.Net.Sockets.SocketException (97) : Address family not supported by protocol.". The whole…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,270 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,737 questions
asked 2024-06-07T09:31:14.17+00:00
Yiming Chen 0 Reputation points
0 answers

Controls projecting shadow out of form bounds

Problem2.pngProblem.pngHello, I woriking in windows 8.1 os for alot of years with visual studio. I have the latest version of visual studio 2019. Im working with c# winforms.The problem that i found is that whenever i drag and drop a control onto form…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 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,737 questions
asked 2024-06-06T20:16:22.01+00:00
Vasilis Katsikis 0 Reputation points
edited the question 2024-06-07T08:58:43.0866667+00:00
Jiale Xue - MSFT 40,746 Reputation points Microsoft Vendor