Easy Dynamics Blog

Securing an ASP.NET Core App on Ubuntu Using Nginx and Docker (Part I)

Posted by Majed Ayoub on Oct 31, 2016 10:00:00 AM

Typically, when you develop with ASP.NET you have the luxury of IIS Express taking care of SSL and hosting, however IIS and IIS Express are exclusive to the Windows platform. ASP.NET Core 1.0 has decoupled the web server from the environment that hosts the application. This is great news for cross-platform developers since web servers other than IIS such as Apache and Nginx may be set up on Linux and Mac machines.

This tutorial involves using Nginx as the web server to host a dockerized .NET Core web application with SSL Termination on a Ubuntu machine. In this three-part tutorial, I'll guide you in:

Part I (This post) - 1. Creating and publishing an ASP.NET Core web app using the new dotnet CLI tools and 2. Installing and configuring PuTTY so we may SSH and transfer files with our Ubuntu machine

Part II - Setting up Docker and creating a Docker Image on Ubuntu 16.04

Part III - 1. Configuring Nginx for SSL termination and 2. Building and Running the Docker Image.

Read More

Topics: Visual Studio, ASP.NET Core, Ubuntu, Nginx, Docker

AWS S3 Bucket Name Validation Regex

Posted by Scott Lanoue on Oct 24, 2016 10:00:00 AM

Amazon Web Services enforces a strict naming convention for buckets used for storing files. Amazon’s requirements for bucket names include: 

  • A Bucket's name can be between 6 and 63 characters long, containing lowercase characters, numbers, periods, and dashes
  • Each label must start with a lowercase letter or number
  • Bucket names cannot contain underscores, end with a dash, have consecutive periods, or use dashes adjacent to periods
  • Lastly, the bucket name cannot be formatted as an IPV4 address (e.g. 255.255.255.255)

Read More

Topics: Amazon Web Services, JavaScript, Field Validation, AWS, HTML, Testing, Programming

Rapid Development Using Online IDEs

Posted by Will Shah on Sep 1, 2016 10:00:00 AM

One of the most important processes in software development is the Rapid Application Development (RAD) model. The RAD model promotes adaptability – it emphasizes that requirements should be able to change as more knowledge is gained during the project lifecycle. Not only does it offer a viable alternative to the conventional waterfall model, but it has also spawned the development of the Agile methodology, which you can learn more about here.

A core concept of the RAD model is that programmers should quickly develop prototypes while communicating with users and teammates. However, historically, this has been hard to do – when starting a project, you often need to decide which languages, libraries, APIs, and editors to use before you can begin. This takes the “rapid” out of rapid application development, and this was always a problem until online integrated development environments (IDEs) started popping up. 

Read More

Topics: Best Practices, Web Application, Web Development

Section 508 Coding Practices

Posted by Kishore Jogia on Aug 25, 2016 10:00:00 AM

So you've read our previous blog on Section 508 Standards are and how to test for them and next thought "Gosh, that's nice, but how do I make a page 508 Compliant?" Or you stumbled upon this blog from a quick search. Either way, if you're looking for quick and easy tips on how to make your site more 508 Compliant, you're in the right place! We'll cover a few common 508 Standards and give basic html examples on how to meet compliancy.

Read More

Topics: Live Demo, Best Practices, HTML, Section 508 Standards, Accessibility, Testing, Web Development

How to Write SharePoint Custom Actions

Posted by Kayla Funke on Aug 1, 2016 10:00:00 AM

You create a SharePoint action to add custom buttons to the ribbon or settings pages. Actions can be created in Visual Studio and consist of a single Elements file. Multiple actions can be deployed with just one file. In typical SharePoint style, a web-level feature is used to install the action(s). 

Read More

Topics: JavaScript, SharePoint, User Interface, Visual Studio, SharePoint JSOM, Demo

Sandbox Solutions vs. Farm Solutions

Posted by Joseph Davis on Jul 25, 2016 11:00:00 AM

So you want to build a sand castle, but you’re using Sandbox Solutions. Next, the question may come up about Farm solutions. You may ask yourself, "What are the differences?" In this blog post, I'll cover the differences and advantages of Sandbox Solutions vs. Farm Solutions. The goal of this post is to not only introduce you to idea of SandBox Solutions and Farm Solutions but also address the issues associated with each. 

Read More

Topics: SharePoint, Web Application, Web Development, Programmable Infrastructure, Sandbox

Bootstrapping Windows Servers with AWS EC2

Posted by Buddy Brooks on Jun 27, 2016 10:00:00 AM

When working with Amazon Web Services (AWS) EC2 instances, bootstrapping refers to using scripts provided at launch to configure new EC2 instances (servers). Concerning Windows servers, there are several considerations when determining the best method of bootstrapping. Bootstrap scripts can be applied directly from the management console, but we will be looking at a programmatic method of using bootstrapping scripts through the AWS CLI. There are many alternative choices. Many can be quite elaborate. This approach is one with very few dependencies. This scope of this blog covers creating a batch file that will run at the command prompt using the AWS CLI interface.
Read More

Topics: DevOps, SharePoint, Windows, Infrastructure as Code, PowerShell, Architecture, Windows Server, AWS, Cloud Computing, Programming, Programmable Infrastructure

Best Practices for AWS EC2

Posted by Michael Carlino on May 31, 2016 1:00:00 PM

There are several things to consider before clicking that “Launch” button in the AWS (Amazon Web Services) console. The more you plan and take into consideration ahead of time, the more you can save yourself a few headaches down the road. I will go over some fundamental best practices to consider before launching your EC2 instance. These topics will cover storage, security, backup/recovery, and finally management.
Read More

Topics: Amazon Web Services, Best Practices, AWS, Cloud Computing

Using Event Receivers for SharePoint Workflows

Posted by Joe Davis on May 31, 2016 11:30:00 AM

One of the more interesting challenges contractors for public sector clients have is working with older versions of software. On a recent project involving an integration of a solution I'd written using Microsoft Dynamics CRM 2016 and SharePoint 2010, I found myself struggling with an issue around capturing a digital signature.  

As a straight SharePoint development project, this can be fairly routine: leverage Microsoft Word and its implementation of signature blocks, similarly leverage SharePoint's out-of-the-box (OOTB) workflow for collecting signatures, and you're basically done.

However, the client in question was less than enthusiastic about SharePoint as a platform in general and, because of that, and a few other design criteria, the bulk of the solution wound up being built in Dynamics CRM and SharePoint was largely a simple document repository.  

So, how do you not re-invent the wheel for digital signatures and still keep most of your smarts on the Dynamics CRM side? [Bear in mind the production environment where this was going to be enabled was very locked down. Farm solutions were prohibited, so even if you wanted to write your own custom workflow using .NET workflow, you couldn't because that requires a farm solution.]

We have the OOTB workflow already and we can associate it with the document library in question, but what we really needed was the ability to notify CRM when that workflow completed. Answer: SPWorkflowEventReceiver.

Read More

Topics: SharePoint, Programming, Dynamics CRM

File Placement in Custom SharePoint Site

Posted by Marshall Stukes on May 24, 2016 11:00:00 AM

So you want to customize your SharePoint site with custom CSS and JavaScript, like Bootstrap or Angular, but you don’t know where to put the files? You’re in the right place for the answers you seek. There are three places you can put your files: the Master Page Gallery, the Site Assets folder, or the Style Library. The place you choose should be dependent on your project. This is the way I organize my files, as there is no set definition of where you place them.

Read More

Topics: JavaScript, SharePoint, Bootstrap

Easy Dynamics: The SharePoint Experts

We are a leading SharePoint Services and Solutions shop located in Washington, DC. 

Thanks for coming to our blog! Here you will find relevant news and information about the technologies we use and other things we find interesting. Want to know more about who we work with? Or our first commercially available product, EasyBox

You can find links to all of these things and more right from this page. Enjoy reading!

Subscribe to Email Updates