Creating a Word Document OutputFormatter in ASP.NET Core

See the original posting on DZone Python

About OutputFormatters

In ASP.NET you are able to have many different formatters. The best known built-in formatter is the JsonOutputFormatter which is used as the default OutputFormatter in ASP.NET Web API.

A Look at my Favorite Node.js Templating Engines

See the original posting on DZone Python

In this blog, we will look at a comparison of different Node.js templating engines and go through the basics of Node.js. Then we will create a signup application in Node.js with MongoDB as the backend.

If you are starting with Node.js from this blog post, you are at the right place. When I started working with Node.js, I got confused will all of the templating in Node.js. So when you start trying Node.js our for yourself, you’ll be in the position of choosing the best templating engine. And there is a huge list of templating engines, so don’t feel bad if you get confused. So let’s start with some names of templating engines, but please have a look at the basics of why we need them because I am not going to cover them here, so as not to turn this post into a book.

Setting Standards for New Technology

See the original posting on DZone Python

Great discussion with Steve Nunn, CEO of The Open Group, a global vendor-neutral consortium bringing together C-level executives, architects, engineers, and developers from Fortune 500 to SMBs to discuss the future of different technologies and the need for standards to ensure integration and adoption.

During recent interviews on IoT, big data, and performance optimization and monitoring, one of the concerns of the executives with whom I spoke is the speed with which platforms, architectures, and tools are changing. This results in great difficulty keeping up with the phenomenal pace of change. The lack of standards is resulting in a disparate collection of solutions that must be cobbled together rather than a cohesive set of solutions that can be easily integrated.

Serverless REST API with Angular, Persistence and Security

See the original posting on DZone Python


In this post I will show you that, with the right tools, it is possible to start a full stack app—task list application in this case—from scratch, and release it to production in a short time. Our full stack app will support static file hosting, a secure REST API, and a robust persistence layer. This is how we will manage all the moving parts:

Since the app that we are going to develop is quite simple in terms of features, it won’t be necessary to have MongoDB running on our local environment. We will use mLab during development as well as production. The only tools that are expected to be installed are Node.js and NPM.

Upload Files Or Images To Server Using Node.js

See the original posting on DZone Python

In this post, we will see how we can upload files or images to the server using Node.js. Here we are going to use Visual Studio for our development and the following NPM packages for our easy development:

  • Express
  • Multer
  • Body-parser
  • We will briefly explain the use of these packages. As you all know, Node.js is a runtime environment built on Chrome’s V8 JavaScript engine for server-side and networking application. And it is an open source which supports cross-platforms. Node.js applications are written in pure JavaScript. If you are new to Node.js, I strongly recommend you read my previous posts about Node.js here.

    PowerShell on RHEL in One Minute

    See the original posting on DZone Python

    While not specifically related to .NET on Linux, PowerShell on Linux is available and — let’s face it — if you’re a Windows developer you’re using PowerShell.

    If you’re not using PowerShell, now is the time to start. While bash is the traditional Linux shell, PowerShell gives you the advantage of objects. In PowerShell, everything is an object, with properties you can directly access. It’s also a very powerful object-oriented scripting language, with classes and methods, much like any OOP language.

    The Difference Between General Hosting and WordPress Hosting

    See the original posting on DZone Python

    We come across many hosting providers offering two kinds of shared hosting: general hosting and WordPress hosting. Confused? I was too when I read about these two different, but similar, products. I thought it was just a marketing tactic to encourage more WordPress users to go for their shared hosting, under a different name.

    But after some research and asking many experts, I had to change my opinion. There are many differences between general hosting and WordPress hosting.

    30 Examples For Awk Command In Text Processing

    See the original posting on DZone Python

    In the previous post, we talked about sed Linux command and looked at some examples of how to use it in, and why it works well with, text processing. Nobody can deny that sed is a very handy tool, but it has some limitations. Sometimes you need a more advanced tool for manipulating data, one that provides a more programming-like environment which gives you more control over modifying data in a file that is more robust. This is where awk command comes in.

    The awk command takes stream editing one step further than the sed editor by providing a programming language instead of just editor commands. Within the awk programming language, you can do the following:

    Seven Key Findings Impacting Every IT Professional

    See the original posting on DZone Python

    Mobility requirements are soaring but skills gap, integration, and backlogs remain barriers to acceleration.

    OutSystems published its fourth annual research report on the state of application development and the challenges associated with it. Application Development in the Age of Digital Transformation, Low-Code Platforms and Citizen Developers unveils detailed survey results from over 3,200 IT professionals from 40 countries and 28 industries.

    “Our 2017 survey clearly shows that many IT professionals are at a crisis point when it comes to digital transformation and application development,” said Steve Rotter, CMO for OutSystems. “Project backlogs are growing, there are more systems to integrate with, the demands for mobile and IoT are increasing, and the scarcity of skilled developers are top concerns.”

    The new research report provides deep insights from IT managers, enterprise architects, and developers addressing a wide range of issues. Digital transformation is creating new IT challenges at every organizational level. This OutSystems report takes a closer look at the most critical issues and how they’re being addressed, so as to avoid missed market opportunities and lost revenue.  

    Fixing the Year 2038 Problem on Magento 2

    See the original posting on DZone Python

    In Magneto 2, the time beyond the year 2038 will wrap around and be stored internally as a negative number, which the system will interpret as having occurred on December 13, 1901, rather than January 19, 2038. This problem is similar to the Millennium Bug.

    Of course, by that time, all the servers will be upgraded to avoid the issue, but let’s see how this problem may affect your time-sensitive settings in Magento 2.

    A Few Tools to Keep You Company While Designing Awesome Websites

    See the original posting on DZone Python

    Whether you’re a freelancer or a designer in a big firm, you will need a few rudimentary design tools to get your work done. Be it building a website from scratch or redesigning an already existing website. Website designing is not one task – it is a conglomeration of multiple tasks, both small and large, like communication, prototyping, photo editing, copywriting, and designing that contribute towards perfectly functioning platforms with which users can engage.

    Most established website designing firms have their own set of tools they use for dishing out stellar website designing projects. uses premium editions of most of the common tools used by designers to create stunning website designs that are interactive and responsive.

    PyDev of the Week: Petr Viktorin

    See the original posting on DZone Python

    This week our PyDev of the Week is Petr Viktorin (@EnCuKou). Petr is the author of PEP 489 — Multi-phase extension module initialization and teaches Python for the local PyLadies in the Czech Republic. You can see some of what he’s up to via his Github page or on his website. Let’s take some time to get to know Petr better!

    Can You Tell Us a Little About Yourself (Hobbies, Education, Etc.):


    Applied Rails: Variable Rows For Child Records

    See the original posting on DZone Python

    I got a requirement in my Rails application to give the user the ability to input a variable number of records with multiple fields. The fields were of text type as well as select combo boxes. These rows had to be saved to the database as child table rows.

    As is my inclination, I sought out to code it in raw HTML/JavaScript. Of course, I did Google for readily available solutions, and found some, but ruled them out for different reasons. The first step was to write an HTML file to achieve the desired functionality.

    The Modern Application Stack – Part 4b: Building a Client UI Using Angular 2 (formerly AngularJS) and TypeScript

    See the original posting on DZone Python

    A Simple Component That Accepts Data From Its Parent

    Recall that the application consists of five components: the top-level application which contains each of the add, count, update, and sample components.

    When building a new application, you would typically start by designing the top-level container and then work downwards. As the top-level container is the most complex one to understand, we’ll start at the bottom and then work up.

    The Modern Application Stack – Part 4a: Building a Client UI Using Angular 2 (formerly AngularJS) and TypeScript

    See the original posting on DZone Python


    "Modern Application Stack – Part 1: Introducing The MEAN Stack" introduced the technologies making up the MEAN (MongoDB, Express, Angular, Node.js) and MERN (MongoDB, Express, React, Node.js) Stacks, why you might want to use them, and how to combine them to build your web application (or your native mobile or desktop app).

    The remainder of the series is focussed on working through the end to end steps of building a real (albeit simple) application. – MongoPop. Part 2: Using MongoDB With Node.js created an environment where we could work with a MongoDB database from Node.js; it also created a simplified interface to the MongoDB Node.js Driver. Part 3: Building a REST API with Express.js built on Part 2 by using Express.js to add a REST API which will be used by the clients that we implement in the final posts.

    Angular Testing In Depth: HTTP Services

    See the original posting on DZone Python

    When we write a web application, most of the time it has a backend. The most straightforward way to communicate with the backend is with HTTP requests. These requests are crucial for the application, so we need to test them. More importantly, these tests need to be isolated from the outside world. In this article, I will show you how to test your requests properly and elegantly.

    This article is the second part of a series in which I share my experiences testing different building blocks of an Angular application. It relies heavily on Dependency Injection based testing and it is recommended that you read the first part if you are not familiar with the concepts, which include: 

    What is the Optimal Image Size for Your Website? Here’s How to do the Math

    See the original posting on DZone Python

    As designers and developers, we want the images on our website to be of the highest quality and appear crystal clear every time for the end user, regardless of the device. Being in the Real User Monitoring space, we often get questions about the optimal image size for your website. The ultimate aim here is to ensure that image quality and load times remain consistent for our end user regardless of device.

    So, it makes sense to start with your end users, right?

    Top 10 JavaScript Libraries And Frameworks To Keep Your Work Trendy And Easy

    See the original posting on DZone Python

    Yes, the only thing constant is change and it is best exemplified by the ever-growing number of JavaScript libraries. Almost every week there’s a new name that’s creating all the hubbub in the dot-com world. Matt Mullenweg had earlier hinted that JS is the future for all web developers. And the current scenario tells us that, even WordPress developers should learn bits and pieces of the language to keep themselves in trend.

    JS has always been en vogue, and by now, we know it’s one of the few open source stances that are here to stay. JavaScript is evolving every waking moment, holding the hands of its core team. JS is taking the programming game to another level. We can see its prominence in OS.js – it is a fully functional cloud service that can integrate your desktop functionalities within your browser.

    Magento 2 vs Magento 1: Do You Need Upgrade?

    See the original posting on DZone Python

    We remember the time when we were waiting for Magento 2 release and were so excited when it happened. The Magento team put a lot of effort into that release and delighted us with new improvements. Since that time, many store owners have become curious to know if they should move the store from Magento 1 to Magento 2 and if so – when it should happen.

    So, we’ve done some research on what has been added or changed in Magento 2 in comparison with Magento 1 to collect more information for our clients when they ask us the question: “to be or not to be” with Magento 2. In this article, you will find the main changes and an improvements overview.

    1 2 3 4 5 73