devepar – DEVELOPPARADISE

DEVELOPPARADISE

WPF Runtime Localization

WPF Runtime Localization

Update (2018): Updated for VS2017, sample also includes a satellite library to show how this method can be extended to manage a more complex setup.

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.

Gathering Context Information for Logging

Gathering Context Information for Logging

First, let’s describe the problem we want to solve. I have an ASP.NET MVC Web service. The service accepts POST-requests containing JSON descriptions. After analyzing such description, the service constructs and executes several SQL queries to a database. Then it combines results and returns them to the client.

MasterPages using HTML, CSS, and JavaScript

MasterPages using HTML, CSS, and JavaScript

The symbol returns the reader to the top of the Table of Contents.In 2010, I wrote an article called Master Pages using HTML and JavaScript [^] . The intent of that article was to provide a method whereby HTML master pages could be constructed using only HTML and JavaScript. I specifically did not want to depend upon any Microsoft or third party product.

Let's IoT Hub: Tutorial 3

Let's IoT Hub: Tutorial 3

This tutorial assumes some background knowledge of programming, but no prior experience with Raspbian (or any Linux distribution), GPIO microprocessors (Pi, Arduino, etc.), or Python. References may be made to previous tutorials.

Tightly Integrating a Lightweight CMS with Angular under .NET Core

Tightly Integrating a Lightweight CMS with Angular under .NET Core

ASP.NET Core combined with Angular is becoming an increasingly popular tech stack for building interactive web apps. However, if you want to manage the content of such a web app, your only choice has been to use a headless CMS service. This can be overkill especially for smaller web apps and doesn’t allow for easy previewing of content changes. Lynicon CMS provides SPA content management with preview for ASP.NET Core, which unlike the more usual headless CMS setup allows you to immediately view the effects of your content changes. It is lightweight and quick to set up, and allows for content to be stored in a file rather than a database.

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.

Doing Performance Testing Easily using JUnit and Maven

Doing Performance Testing Easily using JUnit and Maven

This article has been divided into the following high level sections:This article highlights the need for performance testing and how to do it easily, accurately using simple JUnit and maven based Open Source Library. What problems we face typically during the load and stress testing of an application and how we can overcome these issues and make the performance-testing part of the CI build pipeline.

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.

Programming Problems and Finding Solutions

Programming Problems and Finding Solutions

This article does not contain any source code or technical discussions but it’s more of a guideline.It’s been years (11 years to be exact as of this time of writing) since I am involved in various technical community forums such as forums.asp.net, codeasp.net/forums, aspforums.net/forums, forums.xamarin.com , c-sharpcorner.com/forums and most recently here in the CodeProject community. I’ve helped resolve hundreds or maybe thousands of questions from simple to very complex issues. Being in the community is awesome as I get the chance to learn and help fellow developers around the world. Most of the time, I’ve encountered questions that are unclear, duplicate questions and even more, questions that are very general in nature. So I thought I would share some of my thoughts on the topic and provide some guidance for those developers, most especially to the freshers who are looking for a solution to their problems.

HYBRID Could Log ANALYSIS-LOG_DND(SP)

HYBRID Could Log ANALYSIS-LOG_DND(SP)

As a one-stop service for log data, Log Service (Log for short) experiences massive big data scenarios of several hybrid cloud services provider. Log Service allows you to quickly complete the collection, consumption, shipping, query, and analysis of log data without the need for development, which improves the Operation & Maintenance (O&M) efficiency and the operational efficiency and builds the processing capabilities to handle massive logs in the DT (data technology) era.

Motorcycle Signal Lights

Motorcycle Signal Lights

So a few years ago, I started building custom motorcycles in my free time as a way to relax after work. The thing about custom bikes is that they are usually in someway original in looks. The first two bikes built did have an Arduino running the turn signals and working with the brake lights, but this one I wanted to be different. You can see the build here if you are curious.

Random Number Generation and Sampling Methods

Random Number Generation and Sampling Methods

This is an open-source document; for an updated version, see the source code or its rendering on GitHub. You can send comments on this document either on CodeProject or on the GitHub issues page.

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.

Learnings in Integration using BizTalk Server 2013 R2

Learnings in Integration using BizTalk Server 2013 R2

Recently, we had worked on a BizTalk project that had requirement of pipe delimited flat file (FF) generation. We had several learnings due to the various requirements that were expected from this task. I would like to share some of the learnings in this article which may help others during development.

How to Fix App Quality Issues with Android Vitals (Part 2)

How to Fix App Quality Issues with Android Vitals (Part 2)

I’m excited that more and more of you are finding success fixing app quality issues using the Android vitals section in the Google Play Console. Since my first article about Android vitals, we’ve been making improvements to bring you new metrics and features. In this article, I’ll start with a look at what’s new, then take you through how to work with the stuck wake locks and crashes.

End to End(E2E) Tests in Angular Application Using Protractor

End to End(E2E) Tests in Angular Application Using Protractor

 In this article, we will learn how we can create end to end tests (e2e) for our Angular application. We will be using an existing end-to-end testing framework, which is nothing but, Protractor. Protractor runs your tests against your application running in a real browser, in the same way your user may perform the actions. I will be using an existing application which is available in my GitHub profile. The same can be available in the source code section. Please do share your feedback with me. I hope you will like this article. Let’s start coding.

Easy to Use Parallel foreach, that can be Magnitudes Faster than the .NET Version

Easy to Use Parallel foreach, that can be Magnitudes Faster than the .NET Version

I’d like to share a quick solution for a parallel foreach loop, which can potentially increase the performance of certain applications currently using the built in version introduced in .NET 4.0. This custom version is suited to be used in nested loops, where the outer one needs to be processed sequentially. The number of threads has to be set manually, this could provide additional control over the threads.

Scaffolding Dapper with CatFactory

Scaffolding Dapper with CatFactory

Dapper is an ORM for .NET and .NET Core, to develop large applications it’s very hard to write code for a lot of objects: entities, contracts and repositories, CatFactory provides an easy way to generate repetitive code and focus on complex logic.

Delphi Language Progression Suggestions

Delphi Language Progression Suggestions

Since ~Delphi 2010, we have had generics, attributes, iterators, and some other compiler niceties. While many of the features we would like are difficult to implement, I believe that a few simple language features are long overdue.

DART2 Prima Plus – Tutorial 3 – MAP

DART2 Prima Plus – Tutorial 3 – MAP

Within few weeks, I am writing third article in DART2 Prima Plus series, As mentioned earlier Its new kid in block, with feature addition and releases almost every week. I believe they taking scrum methodology by heart.

Music Notation in .NET

Music Notation in .NET

This article briefly describes the most important basics of the library Manufaktura.Controls which I recently released as Open Source project. The project is a continuation of two other projects which I created eight years ago and which are described in the following articles:

THE KEY DIFFERENCES BETWEEN MYSQL AND MS SQL SERVER

THE KEY DIFFERENCES BETWEEN MYSQL AND MS SQL SERVER

The MySQL and MS SQL are the two of the most widely used database systems in the world. The first thing that you will note about these two database systems is how they are availed to users. MySQL is open source software. This means that the use of MySQL comes from the pooled knowledge of different people from different corners of the world. This can be arguably be the biggest plus for MySQL as users through the open source platform can continually improve the general program. MS SQL on the other hand uses a closed source development approach. By this, the development of the program is done in-house and all that the consumers get is a program that they are supposed to use.

Security in Angular – Part 1

Security in Angular – Part 1

In most business applications, you are going to want to disable, or make invisible, different features such as menu items, buttons and other UI items, based on who is logged in and what roles or permissions they have. Angular does not have anything built-in to help you with this, so you must create it yourself. There are two different pieces to security you must worry about with Angular applications. First, you must develop the client-side security, which is the subject of this article. Second, you must secure your Web API calls, which will be the subject of another article.

HTTP 206 Partial Content In Node.js

HTTP 206 Partial Content In Node.js

In this article, I would like to explain the basic concept of HTTP status 206 Partial Content and a step-by-step implementation walkthrough with Node.js. Also, we will test the code with an example based on the most common scenario of its usage: an HTML5 page which is able to play video file starting at any second.

10 Security Concepts Developers Need to Master

10 Security Concepts Developers Need to Master

From the moment I became a professional developer, I started creating code to handle authentication and authorization in applications. Life was so simple at that time! Usernames and passwords were restricted to five alphabetic characters, the colors on the display were only amber and black, and the number of computers on the network was one: the mainframe. Access to the data center was restricted and there was no such a thing as the Internet available.

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.

©2018 devepar.com