DEVELOPPARADISE

Working with SQLite in C# & VB

Working with SQLite in C# & VB

See Included Projects (Sample code) for a detailed description of what is inside the zip…Over the last few years, I have worked quite a bit with SQLite and built a library wrapper called DotNet.Core.SQLite. I like to work as close to the metal as possible to ensure that I can get the best performance.

Permutations: Fast implementations and a new indexing algorithm allowing multithreading

Permutations: Fast implementations and a new indexing algorithm allowing multithreading

This article is the continuation of a StackOverflow question asked by SimpleVar: “Generating permutations of a set (most efficiently)”. It shows many fast implementation of permutation algorithm. There is also a contribution by providing a unique way to index permutation allowing to get a specific permutation based on lexicographical order.

Continuous Integration and Delivery for Beginners (DevOps)

Continuous Integration and Delivery for Beginners (DevOps)

DevOps is a combination of software development and operation (Dev & Ops) which strongly advocate automation at all steps in software development process. This will enable faster delivery, more stable operating environment with minimum human errors, less maintain cost and many more advantages for software development team.

Computer Temperatures, Fan Speeds, etc.

Computer Temperatures, Fan Speeds, etc.

I have a homebuilt desktop with an ASUS P6T motherboard. It’s about 7-8 years old, but still quite powerful and functions beautifully. ASUS originally provided PC Probe II to monitor temperatures and fan speeds, but stopped supporting it for the P6T when Windows 10 came out. And since then, I’ve been operating without a satisfactory sensor app. Unfortunately, the 3rd party sensor apps available are a bit quirky, or non-intuitive, or can’t be configured the way I’d like. Then again, perhaps I’m just overly picky.

Zenodys Native Computing Engine

Zenodys Native Computing Engine

Zenodys is Visual Development Tool, sandboxed execution environment and decentralized marketplace of digital assets. These aspects might seems unrelated at first sight, but properly combined together they create a marketplace where everyone, regardless of programming skills, are able to trade their digital assets.

For example, non developers can easily create applications with just drag’n’dropping visual icons and setting their properties inside Visual Development Tool. Applications can gather data from their devices and other sources and are executed off-chain inside sandboxed execution environment. Gathered digital assets are then published on distributed Digital Assets Marketplace.

Applications on consumer side are similar to ones on supply side. But instead of publishing digital assets to marketplace, they deliver purchased digital assets from marketplace.

Visual Development Tool is browser based IDE for visually connecting microservices (Elements). Created visual scripts are then executed by orchestration tool (Computing Engine) on edge devices in sandboxed execution environment.

Building a Restful API With ASP.NET Web API

Building a Restful API With ASP.NET Web API

Let’s have a quick review of ASP.NET MVC Architecture. So when the request arrives at our application MVC Framework hands off that request to an action in a controller, this action most of the time returns a view which is then parsed by razor view engine and then eventually HTML markup is returned to the client. So in this approach html markup is generated on the server and then return to the client.

DevOps on Azure with ASP.NET Core

DevOps on Azure with ASP.NET Core

DevOps, DevOps, DevOps. I personally think DevOps is a requirement in most of the projects, involving software development. Yet, very little amount of people truly understand what DevOps has to offer, or what DevOps itself is. As to what DevOps is, I would leave that part to a future post however in this post I will try to give you an overview of what DevOps has to offer and how you can kickstart your DevOps chains on Microsoft Azure. In this post, we will cover a couple of platform-level services offered by Microsoft and the Azure platform and see how we can build a complete toolchain—or better, how Microsoft Azure can help us build the DevOps pipeline on the services. Our services would include, but won’t be limited to, 

Logging and Exception handling, Versioning in ASP.NET WEB API

Logging and Exception handling, Versioning in ASP.NET WEB API

In this article, we are going to learn how to log each request and response of an API such that it helps to maintain logs, next we are going to handle all API exception such that if an error occurs, we can store errors and fix it as soon as possible, and last part is versioning of the API.

ASP.NET Web API, Angular2, TypeScript and WebApiClientGen

ASP.NET Web API, Angular2, TypeScript and WebApiClientGen

This article is on top of “Generate TypeScript Client API for ASP.NET Web API “ and is focused on Angular 2+ code examples and respective SDLC. If you are developing a .NET Core Web API backend, you may need to read Generate C# Client API for ASP.NET Core Web API.

Descriptive statistics and data normalization with CNTK and C#

Descriptive statistics and data normalization with CNTK and C#

As you probably know CNTK is Microsoft Cognitive Toolkit for deep learning. It is open source library which is used by various Microsoft products. Also the CNTK is powerful library for developing custom ML solutions from various fields with different platforms and languages. What is also so powerful in the CNTK is the way of the implementation. In fact the library is implemented as series of computation graphs, which  is fully elaborated into the sequence of steps performed in a deep neural network training.

Sending Morse Code with your Arduino

Sending Morse Code with your Arduino

Getting started with Arduino programming can seem like a daunting task. In addition to learning the ins and outs of writing Arduino code in C, you usually also have to assemble electronic parts using a breadboard. This can feeel overwhelming to an experienced programmer who’s trying to take his or her first step into the Arduino world. 

EPPlus Excel Template Report Engine

EPPlus Excel Template Report Engine

As anyone who as worked in corporate environments knows, is that they love their Excel reports with logos, formatting and formulas, which is in all honesty probably the best way to present data to “higher uppers”.  

Entity Framework Views with Real-Time conditions

Entity Framework Views with Real-Time conditions

Views in databases are brilliant. It allows for a layer of abstraction over the actual data model and to allow a set of search queries which are used a lot to be reused very quickly. While the Entity Framework has support for using Views, sometimes you want to be able to write the view in the Code itself. This can be especially useful when the code does some form of encryption on the data (in case you can’t use the database encryption).

TorpedoSync

TorpedoSync

 They say that “necessity is the mother of invention”, well necessity and sometimes an itch to do the same yourself. This is how TorpedoSync came about, from the use of other software to sync “My Documents” across  my machines and finding them troubling. Hence the immortal cry “I can do better!”.

I start out by using bitsync which then became resilio sync (a free-mium product) which I liked at first but then became a real memory and disk space hog.

After searching a lot, I came across syncthing which is open source and written in go, which I found seemed to be connecting to the internet and was not as nice to use as resilio.

At this point I gave up and decided to write my own.

ASP.NET Core and Web API:  A Custom Wrapper for Managing Exceptions and Consistent Responses

ASP.NET Core and Web API: A Custom Wrapper for Managing Exceptions and Consistent Responses

Building RESTFul APIs has been very popular nowadays and most projects that we build today heavily rely on APIs/Services to communicate with data. As you may know, creating Web APIs is an easy task, but designing a good API isn’t as easy as you may think especially if you are working with a lot of projects or microservices that expose some public API end-points.

C++ Object Relational Mapping (ORM)- Eating the Bun – Part 1 of N

C++ Object Relational Mapping (ORM)- Eating the Bun – Part 1 of N

Object Relational Mapping is the process of mapping data types between an object-oriented language as C++ to a relational type system as SQL. So what is the challenge? C++ has different types of primitive types as,intchar, float, double and variations of that. So it’s a real challenge to map all these to an actual SQL type. There may be or may not be an exact type that is similar to the C++ types. Say for,float C++ and SQL may support a different kind of standards too. So there are different tools to do this job. There are a lot of matured libraries too out there in the market. ODB is one that is really nice.

Creating Service Monitor Application with .NET Core

Creating Service Monitor Application with .NET Core

This guide is about how to create a service monitor application, but what is it? In simple words: it’s an application that allows to monitor services in a network and save results from monitoring in a database, SQL Server for this case.

QR Code Encoder and Decoder .NET class library written in C#

QR Code Encoder and Decoder .NET class library written in C#

The QR Code library allows your program to create (encode) QR Code image and to read (decode) an image containing one or more QR Codes. QRCodeEncoderDecoderLibrary is a .NET framework class library. The source code is written in C#. It is an open source code. The downloads attached to this article include the .NET library and three demo/test applications.

ASP.NET MVC 5: Building Your First Web Application – Part 1

ASP.NET MVC 5: Building Your First Web Application – Part 1

Technologies are constantly evolving and as developer we need to cope up with what’s the latest or at least popular nowadays. As a starter you might find yourself having a hard-time catching up with latest technologies because it will give you more confusion as to what sets of technologies to use and where to start. We know that there are tons of resources out there that you can use as a reference to learn but you still find it hard to connect the dots in the picture. Sometimes you might think of losing the interest to learn and give up.  If you are confused and no idea how to start building a web app from scratch, then this series of article is for you. Here’s the current list of the series for this application:

Deploying an Angular 6 Application with ASP.NET Core 2

Deploying an Angular 6 Application with ASP.NET Core 2

Download sourceThere is nothing like a great Sunday brunch buffet. You can truly have it all, from all-you-can-eat buffets in fancy hotel digs to the plethora of bottomless items to consume. A variety of breakfast-lunch treats await you; mimosas and bloody marys, eggs Benedict, omelets, scrambled eggs, French toast, Belgian waffles, bagels, pasta, chicken, seafood, and carved prime rib. The list is endless. The only limitations are your budget and how much you can and want to eat.

Introduction to C# on ReactOS

Introduction to C# on ReactOS

ReactOS is an open source alternative to the Windows operation system. Even if the first version of ReactOS dates back to 1998, there is still no ‘stable’ version of ReactOS. May be, the most important reason is a lack of attention.

.NET Performance Tip – Know Your Garbage Collection Options

.NET Performance Tip – Know Your Garbage Collection Options

An under-utilised setting that can offer substantial performance gains. 

Workstation GC – is what you’ll be getting by default with a .NET application and might be unaware of another option. It uses smaller segments, which means more frequent collections, which in turn are short, thus minimising application thread suspensions. When used with concurrent GC it is best suited for desktop / GUI applications. With concurrent disabled (all threads will suspend for GC) it uses a little less memory and is best suited for lightweight services on single-core machines, processing intermittently (appropriate use cases are few and far between). 

©2018 devepar.com