This article describes a Tabbed File Explorer with minimal functionality using only basic MVVM techniques and some attached properties. In a first article I described a MVVM Tabbed Navigation Tree, in this article I add a Tabbed Folderplane.
This article describes a Tabbed File Explorer with minimal functionality using only basic MVVM techniques and some attached properties. In a first article I described a MVVM Tabbed Navigation Tree, in this article I add a Tabbed Folderplane.
This article describes a Tabbed File Explorer with minimal functionality using only basic MVVM techniques and some attached properties. In a first article I described a MVVM Tabbed Navigation Tree, in this article I add a Tabbed Folderplane.
This article describes how to containerize an ASP.NET WebApi solution with Visual Studio, how to pass data via environment variables and also how to run the images in docker without Visual Studio.
The objective of this is to study and develop a set of best practices and guidelines to prevent Cross-site scripting(XSS) and Cross-site request forgery (CSRF) attacks in ASP.NET web applications.
Atalasoft leverages their DotImage toolkit to manipulate color channels for the purpose of image enhancement, in this case satellite images. The article is a tutorial on image enhancement and it includes all source code and test images.
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
An extension of the code submitted in the article: "Modal Window in Silverlight". This extension wraps the hosted control in a window frame that provides various modal features.
A responsive React frontend interacts in real-time with a .NET 8 Minimal API backend to dynamically display and manage state transitions for a simulated traffic light system.
Modify methods' IL codes on runtime even if they have been JIT-compiled, supports release mode / x64 & x86, and variants of .NET versions, from 2.0 to 4.5.
This article concisely introduces StringTemplate with a practical .NET code generation example. The scenario includes common issues when it comes to code generation such as conditionally generating codes, loop, and token replacement.
Identifying an application’s performance bottlenecks is all about understanding how the application is spending its time. Only with the most complete understanding of how an application is operating is it possible to understand what it is doing wrong, as this article describes.
In this article we are going to explore .Net Core, Know how to use MVC6 & AngularJS2, how to manage client side dependencies with Node package manager (NPM).
A quick demo tutorial on how to setup .NET Core on Mac and creating a simple ASP.NET Core app that talks to PostgreSQL database, and running it on Docker.
In this article, we will learn about .NET Core Features & short overview on .NET Framework (existing). We will discuss about what changes were made/added in new environment of .NET Core.
This article looks at the only thing that is missing from Christian Horsdal's, “Microservices in .NET Core: with examples in Nancy” - a tool for automating the interaction between microservices.
Utility for .NET Framework Cultures with Culture Specific Formats and Mapping with SQL Server Language. CultureInfo, DateFormat, Number Format, Currency Format, Percent Format, Infinity Format, etc.
Custom cultures in the .NET Framework represent a great leap forward and open new and exciting possibilities to developers. The new cultures are recognized by the .NET Framework as first-class citizens and, once registered, are as valid as any other culture.
An easy-to-use, zero configuration solution to .NET communication across application boundaries. A simple library to use as an alternative to .NET Remoting based on low-level Windows Messaging.
With this tool you can download whole .NET Framework source code at once, and enjoy offline browsing. With it, you can have whole the source code without any Visual Studio product installed
You have the server and several clients. You want the server to fire an event and all of the clients or only some specific must receive it. This article describes several approaches to the problem.
Sometimes server needs to perform lengthy calculations in reply to the client’s request. If such calls are rare or do not take too much time, it’s not a problem. If your solution shows a tendency to have about 20-30 such invocations being performed concurrently at the same time, you should read this
The source code / article published here is to provide features of MS Script control (Functions like AddObject) and some features of VSA/Visual Studio editor like intellisence, code completion etc
Web API was introduced and was recently streamlined into Web API 2.0. This framework is heaven for C#/.NET services developers. It allows you to get a RESTful API in .NET up and running in less than an hour. As you'll see it's also just as easy to consume that API in another programming language.
This article shows you how to build a simple cross-platform interoperation solution between .NET and Java using the Service Interface and Data Transfer Object (DTO) architecture patterns
This post marks the beginning of "Out of Boredom" series. It will be about creating stuff with my recently purchased Arduino Uno. Let's have a break from chores of professional programming and create something just for fun :)My first Arduino based project is Sonar. It utilizes ultrasonic range senso
Damon Armstrong assumed that his cryptographic library was perfect until he tried it out with ANTS Performance Profiler. Within 20 minutes, he was able to make a 10% performance improvement on his code. How did he do it? Read the full story.
This question bank has been created as an electronic resource for all kinds of .NET enthusiasts: novices who need to know the nitty-gritty details for their upcoming interviews, or experts who desire to refresh their knowledge of the framework.
This question bank has been created as an electronic resource for all kinds of .NET enthusiasts: novices who need to know the nitty-gritty details for their upcoming interviews, or experts who desire to refresh their knowledge of the framework.
Describes how to use the PDFRasterizer.NET control to convert PDF to raster images, to display PDF in your Windows application and to silently print PDF documents.
Impersonating Windows user (and "fun" bugs you can have with it), correctly disposing a WCF CommunicationObject, getting a property name from an expression, getting a relative path, weak collection listener, thread safe dictionary, enum flag help, test helper
This article has 12 important FAQ’s which covers unit testing, automated testing, data driven test, load/ performance test, code coverage , database testing and ordered testing.
The article introduces how to easily develop business solutions in RapidWebDev through developing a product management system with the special requirement step by step.
Take a closer look at scenarios where working with GUID and UUID in a MongoDB environment becomes tricky. We will make you aware of those configurations and provide a set of best practices to follow.
What is a Web Part? SharePoint Web Part is basically a reusable component designed for a particular task and can be easily added to a SharePoint page for customization/personalization. But for me as a developer, its a user control that is deployed at Site Collection level so that all sites under the
A tool to generate face images and animated gif files for different angles and lighting using only a single face image. Also includes Face Matcher using Microsoft Face API.
This article explains how useful the jQuery Load method is for doing AJAX calls in our web projects. I will explain the 4 ways/situations where you can use this method and create astonishing great feature for the users.
This article presents a class to manage enumerator based animations in WPF that can deal with different framerated animations independent of the hardware framerate
Did you know there’s an easier way how to create dynamic web sites? Learn how Kentico CMS for ASP.NET will increase your productivity and help you win more clients.
In this article we provide a brief history of open-source, discuss some misconceptions regarding open-source, then look at some enterprise options that effectively combine both commercial and open-source options.
This article is a simple, step-by-step guide for those who have ideas and want to quickly implement them. We’ll use code to demonstrate how easy it is to build an application on Amazon S3. We’ll also highlight questions that you may ask before releasing an application.
What is a content management system? Does it really work? Why should I use it? How does it help me? This article answers the most common questions developers ask about content management systems (CMS).
If you’re about to release your software internationally and it’s written in .NET, then you ought to consider protecting your code and IP. This article outlines 7 ways to protect your .NET code from reverse-engineering and other malicious forms of attack.
In an earlier article I wrote about 10 ways to get more productive in Visual Studio. This is a follow up with new neat things coming with Visual Studio 2013.
Analyzing the Snake game, we'll study an application for the new Windows Phone 7 platform, focusing on localization, Inversion of Control, navigation, transition effects, triggers, Isolated Storage, audio and we'll also use Blend to create a rounded glowing button, and other things...
Managing strings contained in a project-scoped resource file can be a real pain. This component makes it easier to colocate the strings with their corresponding classes, even if they are business objects.
Vista introduced a new synchronization primitive called the CONDITION_VARIABLE. In this article, I will provide a .NET wrapper (written in C++/CLI) for this primitive and explain how it works.
This is a quick article on how to apply a nice easy base class to the age-old problem of getting your classes to support internal worker threads in a thread-safe manner
In this part I have added the routines to update the database on exit, and because I felt very generous, I have added in a routine to import data from an Excel datasheet.
This article talks about ASP.NET themes. When do we need to have themes in our application. How can we implement themes and let the user change themes.
This article discuss the basics of cookies. The article talks about what are cookies, why are they required, how they can be implemented in ASP.NET and what could be the possible/probable problems while using Cookies.
If you are good at highschool maths, basic c++ and know a little bit about electronics, you can follow this series of tutorials to make your DIY artificial intelligent robots.
This is a working example of clients in queued correspondence with a service, sending messages to it, recieving unsolicited messages from it while both client and service can queue messages to the other while the other is offline.
This article is a beginner's tutorial for understanding what are transactions and how can transactions be implemented using .Net framework and ADO.NET for any ASP.NET web application or any other database driven application.
This article talks about performing validations while using Entity framework. We will see how the Entities facilitate validations using partial methods.
Provides an overview and discussion of the author's BitmapManipulator C# class, including examples of each feature, as well as numerous .NET/GDI+ caveats.
Sometimes, a bug fix cannot meet the challenges by a regression test. So thinking twice for a better solution is worthwhile for troubleshooting and bug fixes.
DP Line approximation algorithm is a well-known method to approximate 2D lines. It is quite fast, O(nlog_2(n)) for a n-points line and can drastically compress a data curve. Here, a fully OOP implementation is given.
The article is about extending the capabilities of GDI+ in C# , When programmers look to develop serious imaging applications, a surprising shortcoming is noticed in GDI+. The shortcoming is the absence of an API which is useful in selecting regions within an image in a user interactive way.
A tiny fireworks simulator based on a simple physical engine. The user can configure 10 launchers with the initial speed of the bomb, the explosion form and the explosion colour.
This application is designed to put way points on a track map picture and to set the height of the track points in order to produce a TXT or XML file which resumes the track information.
A somewhat lightweight article, that covers some issues that we should all be conscious of when reworking prototype code (and deciding whether to rework prototype code!) with a case study.
A Complete Guide to develop aplication using MyGeneration code genration framework. We will develop a Meeting Room Booking web application in this Article.
An Open Source lightweight framework (named Simple Client Server Library (SCS)) that is delevoped to create Server/Client applications using the simple Remote Method Invocation mechanism.
In this article, I will explain the implementation of an Open Source lightweight framework (named Simple Client Server Library (SCS)) that is developed to create client/server applications using a simple Remote Method Invocation mechanism over TCP/IP.
The DatePicker, in my mind, is a partial fix to many of the problems with a simple TextBox date entry. How would you like to be able to type “66” in a text box that takes a date and have it interpret it as “June 6th”? Or enter “FR” and have it interpreted as the previous Friday. Or enter “thanks” an
A discussion of various approaches to threading, covering locks, mutexes, semaphores, concurrent collections, work queues, threads, PLINQ, TPL, exception handling, and cancellation tokens
MultiMap is similar to a .NET Dictionary collection type, but accepts duplicate Key,Value pairs during addition. The MultiMap collection is also a concurrent collection.
This library is intended for use in a multi-environment system, but it certainly be used under less stringent environmental confines, even down to a single desktop machine taht needs to connect to a single database server.
If you want to have an easy-to-use Dialog Box to browse through the network, have a look at this. This library allows for selecting network shares, directories, files, ... and will ask for a user name and password, if needed.
For purposes of Unit Testing in globalized applications, you could sometimes need to change the CurrentCulture to test methods against different languages. Here are a few classes that provide a Fluent syntax for switching to another culture.
Walks you through building a generic custom action to manipulate and XCopy the .addin file along with your add-in assembly that will work for most add-in deployment scenarios.
This article shows how to construct a custom business object helper that will populate business objects from a datareader using generics, reflection, and custom attributes
This is a Web Control which is a custom file upload. It will accept only a specified range of file formats, and also integrates with the target page's validation.
At times, business needs are so unique that we have to write new controls in addition to the existing Toolbox provided controls. This article explains how to write such a unique control, named Range Control. Control source and a sample app are included.
A text document printing class that adds customizable header, footer, and line numbers to your printed text. The text can also be printed using three different styles.
Logging is an important aspect of every application, but you probably don't like to have dependencies on a specific logging framework all over the place. This logging façade provides you with a common interface that decouples the logging framework of your choice from your code.
These are a few extension methods that I have written to simplify working with strings and data stores, and within that context, to make my code more readable and expressive
The article shows how to interop between a WCF service and a WWS client, and also how to rewrite the WCF service in WWS retaining compatibility with existing WCF clients.
Looking for a way to draw 2D line graphs with C#? Here's yet another charting class library with a high degree of configurability, that is also easy to use.
A simple class that stores settings in an XML file located anywhere. This class can be used directly as a visual component in VS. Use this as it is or as an inspiration for something better!
A Margin structure that can be used in a variety of situations, like layout, drawing and printing. Now comes with a custom TypeConverter and a usage sample.
Basic concept of pipe and filter; what is pipe and filter architectural style; when you need to use it; framework of the pipe and filter pattern; a tiny AI tool implementation using it
by Octavio Loyola-González, Miguel Angel Medina-Pérez, Andres Eduardo Gutierrez Rodriguez, Milton García Borroto
In this article, we introduce a framework in C# for fingerprint verification, we briefly explain how to perform fingerprint verification experiments and how to integrate your algorithms to the framework.
There are many tools out there for reports, varing by price, capabilities and learning curves. I wanted an ASAP tool (As Simple As Possible :-)) to produce HTML outputs and view them with emphasis, on dynamic creation capability. I started out with making a reporter for ADO DataSets.
Implementations, settings, tutorials, and issue resolutions for a full-featured data service Web API using ASP.NET Core 8.0 with various launch hosts in Windows platform. The code is backward compatible with ASP.NET Core 6.0 and 7.0.
This article introduces you to an open source solution for decoupling your data management and query logic from the NoSQL vendor-specific integration logic.
Creating PDF reports for grouped or non-grouped data lists in C# with many custom options and configurations (providing source code with .NET Framework 4.6.1 and .NET Core 3.1)
This article presents a reusable class and technique for easily doing Asynchronous Programming using the Begin/End Pattern and the new Reactive Extensions for .NET (Rx) library.
A generic list/stack/queue with bi-directional and failsafe enumerator, recycled doubly linked list nodes, and wait-for-empty and wait-for-any methods.
This piece illustrates how to construct a simple generic mapper that will copy every property value from one class to another where the name and type of the property is the same in both classes; it goes on to suggest a way of constructing generic tests that can be used for any instance of the
Keeps the GPS active in Windows Mobile, allowing for instant, accurate location determination. Also a tutorial on how to access GPS data with almost no code.
Purely object oriented ADO code component to get your project running, no matter what database you are using at the backend. Specialised for SQL Server.
A class that accepts a reference to an Excel.Worksheet and lets you use an overloaded subscript operator to cleanly and intuitively read/write the Value2 of Excel cells, and get the Excel.Range corresponding to a given cell.
A joystick control using a simplified polar coordinate system to return an orientation and magnitude, and a custom Vehicle UserControl with an Offset method that uses the said coordinate system.
A minimalist approach to n-tier component model design and implementation, which provides great flexibility for application modules functionality separation.
A tutorial that walks through adding/updating/deleting data in your database with LINQ to SQL while keeping your class relationships (M:M, 1:M, and M:1) synchronized.
A beginner's LINQ tutorial that walks you through mapping your SQL Server database tables and relationships to objects, and how to retrieve that data via simple LINQ queries.
Clickatell just released a new SMS Small Business API. This is a two part blog series with the results of my analysis of the API and details on how to integrate it into your .NET application.
Describes an innovative approach, aided by a small library, that lends itself to easy, successful use of the "replace method with method object" refactoring pattern.
Slice sections out of a MIDI file, and stretch or compress playback time using this simple utility. Or use the Midi Library to build your own MIDI apps
The source code and a simple demo program for a plug-in in Microsoft Managed Extensibility Framework (MEF) that provides visual display of email messages.
In an unmanaged environment, using Windows performance monitors may prove challenging. This article propose an alternative which is both easy and efficient.
A native stackwalk funtion like Stackwalk64 cannot handle mixed-mode stacks, since managed code does not use the stack in the same way as native code does. There is an API called IDebugClient, that does walk a mixed-mode stack correctly, which we will explore.
DimmerDialog is a .NET class that shows a modal dialog which grays out the rest of the background, just like the Windows XP Shutdown dialog. This can be used when your application needs to show a very important message box or form that requires immediate user attention.
Modification to the nettiers code generator template to make the generated stored procedure for search more powerful(supports the like operator of Transact-sql) and searching the datetime/smalldatetime datatyped columns more smartly
A C# implementation of the TextFieldParser class submitted by Tony Selkes that includes the ability to put the schema in an XML file and load the data directly into a DataTable.
A convenient, high-performance money structure for the CLR which handles arithmetic operations, currency types, formatting, and careful distribution and rounding without loss.
This article introduces a more flexible and secure method to configure Silverlight applications using the Web.config file from the ASP.NET host application.
A sample shows approaches of creating WiX installers and a bootstrapper bundle for the deployment of business applications with multiple and selective configurations.
I have posted a recent article on the ProgressViewModel to show a software design that can be used for background processing in C# 4.0. This article extends that design with the ability to ouput more than one progress.
At ComponentScience where I work, we heartily embrace the use of regions to logically separate our code into meaningful blocks. After doing it manually for a couple of years, I decided to write myself a little macro to make my life easier.
An artificial life algorithm that attempts to solve a problem by flying a swarm of entities through a range of possible solutions where each entity is guided by the performance of other members of the swarm
A performance counters helper class that makes it easier to use performance counters in your system, especially for measuring duration and total duration
This article describes building a sample Silverlight application with the MVVM Light toolkit, WCF RIA Services, and a pluggable application architecture using MEF.
This article gives an introduction to system designing and architecture. It introduces a new concept that allows beginners to easily break and design complex software systems. It uses a modular based development approach with a pattern that we all practice in our day to day life.