Click here to Skip to main content
15,892,737 members
Everything / .NET

.NET

.NET

Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by shunninghuang
CPS1 emulator, ROM hacking

Latest Articles

by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.
by Jo_vb.net
This article and the demo are about getting started using the MVVM Toolkit and some self-created interfaces / services for MessageBox and some dialogs.
by Bharath K A
Multicast DNS (mDNS) is used to perform peer-to-peer discovery of services/devices on a local network
by Federico Di Marco
Fededim.Extensions.Configuration.Protected is an improved ConfigurationBuilder which allows partial or full encryption of configuration values stored inside any possible ConfigurationSource and fully integrated in the ASP.NET Core architecture using Data Protection API.

All Articles

Sort by Updated

.NET 

N 6 May 2024 by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.
U 5 May 2024 by Jo_vb.net
This article and the demo are about getting started using the MVVM Toolkit and some self-created interfaces / services for MessageBox and some dialogs.
N 5 May 2024 by Bharath K A
Multicast DNS (mDNS) is used to perform peer-to-peer discovery of services/devices on a local network
U 4 May 2024 by Federico Di Marco
Fededim.Extensions.Configuration.Protected is an improved ConfigurationBuilder which allows partial or full encryption of configuration values stored inside any possible ConfigurationSource and fully integrated in the ASP.NET Core architecture using Data Protection API.
U 3 May 2024 by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.
U 30 Apr 2024 by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
U 23 Apr 2024 by Yevgeniy Shunevych
An introduction to Atata C#/.NET web UI test automation full-featured framework based on Selenium WebDriver
N 23 Apr 2024 by M-Badger
I've not tested this but it would appear that the MS interop library version that you are using doesn't know how to convert images into MathML or LaTeX format. So either you need to convert them to MathML or LaTeX in the document before saving...
22 Apr 2024 by Conduct dotnet
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the...
20 Apr 2024 by Graeme_Grant
Like desktop apps, you should use multiple techniques to capture and handle errors in your app. Blazor is no different. This page lists a number of strategies that you should be using: Handle errors in ASP.NET Core Blazor apps | Microsoft...
20 Apr 2024 by Prasad Sathe
Data not loading on page refresh in blazor webassembly standalone app What I have tried: I have created a sample web app in blazor as webassembly standalone app, then I simply published this web app in a local folder and hosted it in the iis as...
16 Apr 2024 by Mishael Ogo
A look at a simple SQL builder for Dapper
16 Apr 2024 by GabrieleTronchin
In this project, I've implemented the Transactional Outbox Pattern using EF Core.
13 Apr 2024 by SproketCoder
I've been attempting to retrieve a table from the SQL DB based on user inputs, but I'm encountering the following error: "Format of the string does not conform to specification starting at index 0". The query I'm using is "SELECT * FROM...
12 Apr 2024 by OriginalGriff
Your command string is wrong: SELECT * FROM @Tablename WHERE Created_On >= '@StartDate' AND Created_On
11 Apr 2024 by Akram El Assas
Functional Programming in C# through Algebra, Numbers, Euclidean Plane and Fractals
9 Apr 2024 by OriginalGriff
Start by looking at the SQL command that those parameters relate to: check what parameter you are assigning to "GroupId" and make sure it is a valid ID. When you are sure that is right, check the parameter name against the variable, and look at...
9 Apr 2024 by Dave Kreskowiak
Quote: This is my code in this I pass parameters like groupid declared string datatype to this function but in sp I declare groupid as a parameter as int is this a issue or not What do you mean "is this an issue"? Obvious it is, otherwise you...
9 Apr 2024 by Rajalakshmi Raji
Conversion failed when converting the varchar value 'GroupId:' to data type int. 1 CUS | Conversion failed when converting the varchar value 'GroupId:' to data type int. 1 CUS this is my issue at...
8 Apr 2024 by Rod Kemp
Sounds like you are running into a SPF,DKIM, DMARC authentication issue. SPF is a DNS record that tells the receiving email server if the sending server is a valid sender for the domain in the from field of the email. In your case you have the...
8 Apr 2024 by Member 11290735
using System; using System.Collections.Generic; using System.Linq; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using...
8 Apr 2024 by Pete O'Hanlon
As you are having a problem with a hosting provider, the best thing for you to do is to get in touch with GoDaddy and talk to their support team. You can find their support here[^].
8 Apr 2024 by Jason Sultana
Integer overflow vulnerabilities in .NET and other strongly typed applications
7 Apr 2024 by Member 16238522
Complimenti! Articolo interessante! Ѕе cerchi un' idea sս dove andare in vacanza vai su seViaggi
31 Mar 2024 by GabrieleTronchin
A simple implementation of MartenDB. MartenDB is a .NET Transactional Document DB and Event Store on PostgreSQL. For more information about MartenDB
30 Mar 2024 by Pete O'Hanlon
If you want to annoy users, come up with a way to prevent them from being able to go back from your site. There is a way that you could, sort of, achieve this which is to open a new browser tab when you navigate into your site. Your users will...
30 Mar 2024 by Dave Kreskowiak
To directly answer the question of a "web app", no, you cannot touch the browser, or any objects in it, like navigation history, from your server-side code. Grant has given you the only options you have from non-privileged code, which does not...
30 Mar 2024 by GabrieleTronchin
In this project, I leverage MailKit to seamlessly manage email communication with a test MailService.
30 Mar 2024 by Graeme_Grant
I did a quick Google Search: js clear navigation history - Google Search[^] Found the following answer: Window: history property - Web APIs | MDN[^] Quote: For security reasons the History object doesn't allow the non-privileged code to access...
29 Mar 2024 by Perić Željko
Hello, When I right-click the navigate back arrow in my web browser, I can see a list of previous URLs. Is there a way to clear that history from code in a web app? All the best. What I have tried: Searched all over the Internet, and except...
29 Mar 2024 by Andre Oosthuizen
Not my field of expertise at all but I found the following which might point you in the right direction - System.Drawing.Image to SkiaSharp[^] MS Learn | System.Drawing.Common only supported on Windows[^] Convert System.Drawing.Icon to...
28 Mar 2024 by Balanka228
OpenCvSharp.Mat object has ToBitmap() method (to System.Drawing.Bitmap). I am using SkiaSharp library. How convert OpenCvSharp.Mat image to SKBitmap without using System.Drawing What I have tried: I tried to create my own method that converts...
26 Mar 2024 by Shahbaz435
I've a pdf base64 string and I want to convert that into a image bytes, but while converting the image quality is getting compromised and the content is getting blury. What I have tried: public byte[] ConvertPdfToImg(string soapResponse) { ...
26 Mar 2024 by OriginalGriff
You are using a free version of a paid-for product: you need to contact the manufacturers (C# / VB.NET PDF component - GemBox.Pdf[^]) to find out if the free version has quality restrictions as well as page count restrictions. We don;t provide...
26 Mar 2024 by Pete O'Hanlon
There are a few ways you can accomplish this. If you are using a version of ES that's high enough, you can use padStart[^] (this is available from ES2017 onwards). If you don't have that available, you can write your own easily...
26 Mar 2024 by techno pack
Hi Team, I am totally new to angular. I have angular UI where we upload a .CSV file with 6 columns and their respective data, so before I invoke .net API , I need change If the 1st column has data with 9 digits then we need to change to 10 digits...
26 Mar 2024 by Pete O'Hanlon
The easiest way to do this would be to output your results into a scatter plot. There are many different graphing libraries available that you could use. As I don't know what technology you are using under the covers...
25 Mar 2024 by Bodan Temelkovski
I'm developing a C# program using ML.NET for K-means clustering. Currently, I'm testing it with a modest dataset featuring penguin characteristics. However, as I progress, I anticipate working with a large dataset containing customer information...
24 Mar 2024 by Federico Di Marco
An improved JSON configuration provider that allows partial or full encryption of values in appsettings.json
23 Mar 2024 by Graeme_Grant
I am not an Angular developer. However, you have a Dependency Injection error according to: [$injector:unpr]. Googling you error message Error: [$injector:unpr] Unknown provider[^] confirms this. Check the links in the search results for more...
23 Mar 2024 by Akram El Assas
Microservices sample architecture using ASP.NET Core, Ocelot, MongoDB and JWT
23 Mar 2024 by Akram El Assas
TDD in C# through a simple example
22 Mar 2024 by Mohammad Elsheimy
Configuring OpenSSL minimum version and legacy renogetiation
22 Mar 2024 by raddevus
An informal study of the Sqlite database and how many concurrent inserts it can handle. Will help you decide if you want to use Sqlite in your projects.
22 Mar 2024 by xTMx9
Good day! I am facing an issue with my .net web app. I am working on an app with 2 modules that existed for a long time. I'm using angularJS and typescript for frontend. For reasons, 1 of these modules had to be disabled. This has created an...
22 Mar 2024 by Nicolas DESCARTES
How to build a plugin architecture in C# ?
19 Mar 2024 by Dan Letecky
Weekly HTML5 event calendar with CSS themes, drag and drop support, date navigator. PHP and ASP.NET Core REST API backends.
19 Mar 2024 by Graeme_Grant
I am not sure what you are trying to do however I'll show you how to handle each item in the ObservableCollection. The Item class needs to implement the INotifyPropertyChanged Interface (System.ComponentModel)[^]. Microsoft provide a sample: How...
18 Mar 2024 by Dave Kreskowiak
Simple. Windows Security considers most command lines a security risk to be seen by normal users. No, there is nothing you can do about it. Normal users can see the command lines for processes they launch themselves, but not for System, Local...
18 Mar 2024 by Saumya Chattopadhyay
Hello Fellas, I have created a non-admin user, and trying to get details of Win32_Process but i'm either not getting any value or incorrect value for commandLine argument. I followed below steps to create the non-admin user and to give...
17 Mar 2024 by Sh.H.
Hi guys Here we have listORG with 3 fields: Idx   ,   Etude   ,   Name ---------------------------------- 1         Etude1      John 2         Etude2      John 3         Etude3      John 4         Etude4      John 5         Etude5      Merry...
17 Mar 2024 by Pete O'Hanlon
You cannot tell if an object has been changed using an ObservableCollection. The way to do this is to use INotifyPropertyChanged and raise the PropertyChanged event whenever you change the value in a property.
17 Mar 2024 by Sh.H.
Hi folks. I have an Observation Collection. I used event CollectionChanged. But this event only raises when new item added, or an item deleted. So how can I detect if an item edited? (And ofcourse, it would better also to detect which item got...
17 Mar 2024 by Graeme_Grant
You would use a CollectionViewSource and use grouping. I assume that you are using WPF. Here is a sample: How to: Sort and Group Data Using a View in XAML - WPF .NET Framework | Microsoft Learn[^]. Hereare some more things that you can do with...
16 Mar 2024 by Gerry Schmitz
You don't need an ObservableCollection to "count"; but you can substitute if you want. public class Org { public int Idx; public string Etude; public string Name; } static List _listOrg = new...
15 Mar 2024 by Member 16222935
The host is saying to fix the issue at our end as their network team as given a log in which instead of certificate they are receiving the fin packet. And we are not able to find out the issue.
14 Mar 2024 by Pete O'Hanlon
The error generally indicates that the server does not have a valid certificate associated with it and you are making a request to a secured endpoint, or the server is not setting the TLS version. If the endpoint belongs to you, make sure to add...
14 Mar 2024 by Member 16222935
When I am trying to hit a post API request from my source code i am getting this error, when tried troubleshooting so it is found that by the host that instead of sending certifcate chain we are sending fin packets. But in code we are not able to...
12 Mar 2024 by OriginalGriff
There are problems here with what you want to do: you can't use a single ObservableCollection for two different lists, and while you could put all the items from both into a weakly typed ObservableCollection and cast them appropriately when you...
9 Mar 2024 by Andre Oosthuizen
Another solution will be to use the 'DispatcherTimer' control to sync your titles - C# DispatcherTimer properties[^] Your code will look like the following, adjust the 'SubtitleRecord' class and initialization parts based on your actual data in...
8 Mar 2024 by OriginalGriff
That's complicated, because the user can pause, fast forward, or rewind at any time, and you need to keep the subtitles in sync with the video or it will just get very confusing. Probably your best bet is to use the industry standard .SRT file -...
8 Mar 2024 by Sh.H.
Hi guys Here is a list with 3 fields: StartTime , EndTime , SubtitleText There is almost 1000 numbers in the list. So I have a VideoElement which plays the video, and I made a TextBlock on it to show this list as its subtitle. Could you please...