The Fairway Technologies Blog

blog

Recent Posts

June 18, 2018 | Paul D. Sheriff

Getting Started with PouchDB - Part 2

In the last blog post, you learned to insert, update, delete, and read single documents in a PouchDB database. Let's now look at how to perform multi-document inserts and reads.

June 4, 2018 | Paul D. Sheriff

Getting Started with PouchDB - Part 1

As more and more users interact with web applications on their mobile devices, it is becoming increasingly important for us to allow them to work offline. There are many cases where users need to work offline, such as on an airplane, in a remote location where there is no cellular access, or perhaps on board a large ship where Wi-Fi is not available. If you can store data local to your web application, the user can continue to work even without a connection.

May 22, 2018 | Paul D. Sheriff

How to upload Small Files using Angular

Sometimes, you may need to upload files to your server via an Angular application. There are a few different methods you may use. Today, I am going to present a method that works well for small files up to about two megabytes in size. In this blog, you build two projects: a .NET Core Web API project and an Angular project. You build these two projects from scratch using the Angular CLI, .NET Core, and Visual Studio Code editor.

April 30, 2018 | Paul D. Sheriff

Get a User's Location within a Web Application

Have you ever need to display your user's location on a map in your web application? HTML 5 adds a geolocation object to help make locating the current user's latitude and longitude quick and easy. Once you have this information, you can use a map API such as Google Maps or Microsoft's Bing Maps to display that latitude and longitude on a graphical map. This blog post explores how to use this new object to get a user's current position.

April 27, 2018 | Paul D. Sheriff

Pluralsight Video Released: Security In Angular using JSON Web Tokens

On April 2, 2018, Paul D. Sheriff released his 17th Pluralsight course entitled: “Angular Security Using JSON Web Tokens.” For a short trailer about this course visit https://bit.ly/2q22iCK.

April 25, 2018 | Paul D. Sheriff

New Features in CSS 3: A Three-Part Video Series

Fairway Technologies presents a three-part video series on learning about new features in CSS 3. In this three-part series, you’ll learn to use the new layout options in CSS 3 to help you create responsive design layouts without using Bootstrap or any other CSS library. You’ll also learn to manipulate DOM elements using functions, transforms, and transitions. Finally, we’ll show you how to use some of the new styles CSS 3 provides including Media Queries, Pseudo classes, Text effects, Filters, Rounded corners, Drop shadows, and Gradients.

February 20, 2018 | Paul D. Sheriff

Angular User Group TONIGHT!

Hi All,

February 19, 2018 | Paul D. Sheriff

Using Claims to Secure Angular - Part 1

I previously published a couple of articles on how to create a security system in Angular. In those articles, a set Angular classes for users' authentication/authorization were created. You used these classes to login a user and create a set of properties in a class to turn menus and buttons on and off. For each menu, or button, you want to turn on or off, you have a corresponding property in a AppUserAuth class. This works for smaller applications, but for larger applications, you would be best to use a traditional claims-based approach.

February 8, 2018 | Paul D. Sheriff

Security in Angular - Part 2

In Part 1 of this article, you created a set Angular classes for users and user authentication/authorization. You used these classes to login a user, create a set of properties in a class to turn menus and buttons on and off. In this article you learn to authenticate users against a Web API method. That method returns an authorization object with the same properties as the classes you created in Angular. You are also going to learn to secure your Web API methods using JSON Web Tokens (JWT). You use the [Authorize] attribute to secure your methods, and you learn to add security policies too.

February 6, 2018 | Paul D. Sheriff

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.

New Call-to-action
New Call-to-action