Content
LINQ and VB 2015 : Select Distinct in Sub-List of Objects...
Hi, this is a simple example about my task. I have a List of Objects, let's say a group of Persons and each Person has a Property which is a List of other type of Objects, let's say Colors. I'd like to get a Distinct List of all Colors kept by all…
How to reduce font size based on Textblock size
Hi All, I have a Textblock inside WPF grid which can span to 1 to n rows based on some conditions. When Textblock is spanned to two or more rows it mostly displays the text completely due to textwrapping set to "wrap". But when Textblock is…
How to create popup window that display Product Details ?
Hi friends! I have a DataGrid that contains a list of product . when i click on a product i should open a popup windows that contains Product's details and i would modify the Price in it for example. I implement a GlobalUsing.cs such : global using…
How to detect mouse clicks and get the component that was clicked anywhere in Visual Studio?
I'm trying to capture mouse clicks from all components in the Visual Studio in order to get information about the component that was clicked on. For example, I want to detect if a user clicked anywhere in the Solution Explorer, or if the user clicked…
HTTP Error 500.32 - ANCM Failed to Load dll
I have upgraded a .NET Core 2.1 web app to .NET 7. The application works fine on Visual Studio 2022. When I deploy that to Azure through Azure DevOps pipelines, I get the following error: HTTP Error 500.32 - ANCM Failed to Load dll Common solutions to…
getting the data from two different tables in a list
I have following two tables Employee and file Path Employee - employeeId is primary key with Identity specification EmployeeId FirstName lastName 1 Mario Gonazales 2 Mario2 Gonazales2 3 …
which is better use data reader ado.net technology or entity framework core 7 ?
I work on blazor application server side I design web API to interact with razor pages my issue is which is suitable for my scenario using ado.net or entity framework core what I try as below : [HttpGet] …

Como enviar datos de la variable del back al front
Como enviar la variable del back al front, ya que como lo tengo me marca error no lo reconoce. Back string Id_Hub_CFDI = "SORIANA2000"; Como enviar la variable del back al front <scrip> var Id_Hub_CFDI_Ent =…
Three material Design TextBoxes inside one MaterialDesignFloatingHintTexbox in WPF
I have a MaterialDesignFloatingHintTextBox which displays a "Date of Birth" hint to my users when it is empty. Here is what I want to implement: the TextBox to display three TextBoxes to the user when clicked in like this, so that my users…
How to display autocomplete result id on first line and name on second line and designation to third line instead of using slash ?
I work on asp.net MVC web API . I face issue when call web API using jQuery ajax request my issue is autocomplete result display separated by slash Id - Name - Designation but expected result I need to get is : Id : 121 Name : michel nicol Designation :…
Binding library with xcfranework
How to use xcframework in xamarin ios binding library
How to create a Splash screen on Andriod
Hi, What is the easiest way to create a Splash screen for my Xamarin project. I can't get it to work. Now my app won't work at all. Some help would be appreciated.
Unable to add data into SQL table - exception thrown, but query works OK
I created a temp table in Server Management Studio, and imported it into my application using Scaffol-DbContext ` Scaffold-DbContext 'Data Source=MyServer;Initial Catalog=MyCatalog;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust…
How to protect Net.Core server from malicious content uploads by users?
Hi! I have a website where on certain pages the user can (through checks in the controller method): To save (upload to server) text in text fields and to CKEditor. To save (upload to server) images (.jpg) to website through CKEditor and through …
best practice for Application Insights with Blazor Server
i have seen multiple posts about Blazor Web Assembly and Application Insights but almost zero on how to best use application insights with Blazor server. is the only way to treat blazor server like web assembly ? are there any guides on how to get full…
Does Visual Studio 2022 support connection to Xamarin.iOS build machines running Xcode 15?
Even though the release notes for VIsual Studio 2022 version 17.7.3 (I'm running 17.7.4) say "Added support to list simulators and devices with Xcode 15", I get a warning that says, "The Xcode version installed on the Mac (15.0) is not…
How to set default query string parameter value for webapi?
May I know how to set a default query string value for webapi in .NET 6? Example code: [HttpGet] public Greeting Greeting(string name) { return $"Hello {name}!"; } The name parameter needs to have a default value, if I use string name…

ASP.NET Core MVC: Unable to set focus on input element on view load
I am trying to set focus using javascript on the first unfocused input element of MVC view in a load window event listener. But element is focused only after page reloading. Attached browser - MS Edge I tried reloading the page programmatically using…
EF Core: Map multiple c# classes to DB table
Hello, I have a DB table named JobPosting with 60 columns. I'd like to have 2 c# entities JobPostingFull & JobPostingLite which both reference the JobPosting table. The JobPostingFull class has all columns from the DB, the JobPostingLite class has…
Is there a way to automate adding the FullText Index to an Entity Framework migration
Hi all; Yes I can add the script to the Migration.Up() everytime I revise my model. But that is fundamentally no different from having a CreateIndexes.sql that I just run in SSMS after creating a DB. Is there some way to declare the full text indexes in…

