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

Using Application Insights SDK in Aspect-oriented programming (AOP) style with .NET

This is the second post in a series on the Application Insights SDK from Premier Developer consultant Nasir Syed.  Check out his previous post here. In my previous post I talked about using Custom Attributes to avoid repetition, code pollution etc., and illustrated it from a very high level to use with Application Insights API,…

0

Avoiding Code Pollution when using Application Insights SDK

This post comes to us from Premier Developer consultant Nasir Syed. “Insert a few lines of code in your application to find out what users are doing with it, or to help diagnose issues. You can send telemetry from device and desktop apps, web clients, and web servers. Use the Azure Application Insights core telemetry…

0

.NET Core Overview

In this post, Senior Application Development Manager, Sash Kavalaparambil introduces .NET Core and many of the features that make it a powerhouse for cross platform development scenarios. It has been over 16 years since the first version of .NET framework has been released. In spite of its wide adoption among developer community, todays cloud first…


Congratulations Visual Studio on 20 amazing years! Join the VS2017 Launch Event

If you were developing code back in ‘97, perhaps you remember the mind blowing concept of Microsoft delivering a single IDE that could do it all.  Up to this point, developers were used to juggling debuggers, compilers, linkers, editors, and more to build integrated solutions.  It was a special time to experience development technology coming…


Multi-tenant WebAPI – simple admin consent

In this post, Premier Developer consultant Marius Rochon shares his application authentication experience in order to help you create your own Multi-tenant WebAPI applications. The VS.NET 2015 wizard for adding authentication to ASP.NET WebAPI projects does not support using the multi-tenant option. Here are some notes on how to implement this option yourself and create…

0

How Do I Set Up A .Net Core WebListener With SSL?

In this post, Premier Developer consultant Tim Omta outlines the steps to set up a .NET Core WebListener with SSL. I’ve been doing a lot of research on Service Fabric and Windows Docker Containers lately. These are natural platforms for .Net Core, which added another learning item to my list: .Net Core.As a result, I…

0

Amazon Alexa Skills Development with Azure Active Directory and ASP.NET Core 1.0 Web API

In this post, Premier ADM, Rob Reilly, walks us through building Alexa Skills using Azure AD and ASP.NET Core Web API. Background Amazon Alexa is a technology developed by Amazon that takes voice commands, interprets them, and then takes action by sending requests on to API’s to perform a multitude of tasks only limited by…


How to Remove the Server Header from WebListener

In this post, Premier Developer consultant Tim Omta outlines how to remove the server header from WebListener. Sometimes enterprises or those hosting web sites wish to remove the Server HTTP response header so they can make it more difficult for an attacker to determine what type of web server they are using (IIS, Apache, etc)….

0

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