Angular How-to: Share Server-side Validation

Laurie Atkinson, Senior Consultant, avoid duplication of field-level validation by dynamically applying server-side validation rules on Angular controls. Validation attributes are simple to apply to an Angular control within an HTML template, but that validation logic must be duplicated on the server. Instead, you can build an Angular validation service that parses server-generated rules and…


Setting up .NET Core Configuration Providers

In this blog post, Premier Developer Consultant Randy Patterson teaches us how to set up .NET Core configuration providers in Visual Studio. He shows how to look at NuGet packages to access the Configuration API and then setup the providers as ASP .NET Core web applications. ASP Core uses the convenient Provider Pattern to load…


Order of Precedence when Configuring ASP.NET Core

In this post, Premier Developer Consultant Randy Patterson introduces the new configuration API for ASP.NET Core and its order of precedence. In previous version of ASP.NET, configuration was primarily handled by the ConfigurationManager class. This class typically obtained the user configurable settings from the AppSettings section located in the XML file web.config. While these limited…


Supporting Micro-frontends with ASP.NET Core MVC

In this post, App Dev Manager John Abele explores micro-frontend design with ASP.NET Core and MVC. Many development teams have spent the last few years organizing and empowering cross-functional teams, building independently managed microservices, and implementing DevOps pipelines to go faster than ever! These industry shifts, critical for organizations to plan less and react more,…


Amazon Alexa Skills authenticated by Azure Active Directory and backed by ASP.NET Core 2.0 Web API hosted on Azure

This post is provided by Premier Field Engineer, Nathan Vanderby, who walks us through how to write an Alexa skill using .NET core and AAD.  Lasted updated, June 2018. Amazon’s Echo devices and Alexa assistant need no introduction. In this post I lay out how you can write an Alexa skill and use a .NET…


Debugging ASP Core on Linux with Visual Studio 2017

Today’s post comes to us from Premier Developer consultant Randy Patterson.  It’s an excellent tutorial that walks you through setting up Visual Studio to remotely debug ASP.NET Core applications running on a Linux server. .NET Core and specifically ASP Core is an Open Source, High Performance implementation of .NET that runs on Windows, Linux and…

3

Jump-Start: Swaggerizing ASP.NET Core

In his latest blog post, Premier Developer consultant Rob Vettor gives an overview of how to use Swagger with your ASP.NET Core application. As a consumer of an API service, how do you know what functionality the service exposes? Easy answer: Swagger support Swagger is a framework that enables you to visually discover an API…

0

Docker Blog Series Part 2 – Build & Deploy ASP.NET Core based Docker Container on Service Fabric

This post is the second in a series of posts on Docker that Premier Developer consultant Monu Bambroo has posted on his blog. Azure Service Fabric in addition to offering a Service Fabric programming model is also able to orchestrate container based services across a cluster of machines. Service Fabric can deploy services in container…

0

Defining ASP.NET Core Controller action constraint to match the correct action

This post is from Premier Developer consultants Gustavo Varo and Randy Patterson. When developing Web API controllers many times we have situations where we need to define similar arguments in different methods. For example, a controller that has 2 methods that query users either by last name or date of birth. The name of the…

4

Referencing a PCL project in both ASP.NET Core and Xamarin Forms

Thanks to Premier Developer Consultant Gustavo Varo for this prescriptive guidance on cross-platform development with Xamarin and ASP.NET Core. Back in March while working with Xamarin Forms and ASP.NET Core, I identified the need of sharing some code between both projects. My very first idea was to create a PCL (Portable Class Library) project and…

0