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…
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…
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…
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…
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…
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 &&…
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…
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"…
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.
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…
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…
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…
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…
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 …
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++.
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…
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…
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.
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…
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…