Visual Studio 2017 is now available to download, and one interesting feature thereof is connected services, which enable connections between your app and any service on-premises or in the cloud. In this post we are going to demonstrate how easy it is to connect your asp.net core web app to Application Insights. “Connected Services” is the new “Add Connected Service” or “Add Service Reference” feature…
To keep things tidy, in case you have multiple subscriptions associated with your Azure account, it’s a good practice to name them in a way that makes sense to you. For example, if you have an msdn subscription, the default name in Azure Portal is “Visual Studio Enterprise“, or if you have applied for a Visual Studio Dev Essentials program, the default name is “Developer Program…
Azure App service provides an easy way to track your web app’s availability / health and to get details on when and why your app wasn’t available. This kind of info is available through the web app’s blade, when selecting Diagnose and solve problems A new page appears with details on: app’s availability; requests per 5 minutes; and when and why your app…
There are times when you might want to move an app from one App Service plan to another. This can be done easily through Azure Portal, provided that the app service plans comply with the restrictions below, namely that they are: in the same resource group, and in the same geographical region. Let’s assume that you have a web app called web-app-demo-1 and three different…
IEx is Elixir’s interactive shell, where you can type any Elixir expressions and get its result. One issue you might come across when trying to use iex in Powershell, through a command e.g. iex -S mix, you might get the following error:
1 2 3 4 5 6 | Invoke-Expression : A parameter cannot be found that matches parameter name 'S'. At line:1 char:5 + iex -S mix + ~~ + CategoryInfo : InvalidArgument: (:) [Invoke-Expression], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeExpressionCommand |
The problem is that iex is an alias in Powershell, for Invoke-Expression
1 2 3 4 5 | PS C:\Workspace> Get-Command iex CommandType Name Version Source ----------- ---- ------- ------ Alias iex -> Invoke-Expression |
Solution To overcome this problem you simply use iex.bat…
Some really easy ways to improve performance in your asp.net core web application are: response caching, which adds cache-related headers to responses, to reduce the number of requests a client makes to your web server; compressing response using gzip to reduce its size. You may start with the default asp.net core web application, apply the above steps and check the result. Setup…
Application Insights is an extensible Application Performance Management (APM) service for web developers. It provides rich performance monitoring, powerful alerting, and easy-to-consume dashboards to help ensure your applications are available and performing as you expect. One of the powerful characteristics of Application Insights is that it provides an extensible API where you can customize the behavior of the standard telemetry modules the way…
Azure App Service can be integrated with a plethora of services like BitBucket, GitHub, Dropbox, OneDrive, Visual Studio Team Services, local or any external git repository, while it enables a continuous deployment workflow, where Azure pulls in the most recent updates from a project published to one of these services. One of the most common options is to configure continuous deployment…
Microsoft Azure platform is evolving at a very fast pace and keeping up with all the changes may be challenging. Many products and services are released every week, while new ones are announced as being in public preview or under development. For that reason, Microsoft has built the Microsoft Cloud Platform Roadmap, which provides a snapshot of what Microsoft is working on in its Cloud Platform business….
Azure App Service Editor, formerly known as Visual Studio Online (Monaco), is a web-based editor for App Service, that looks a lot like VS Code and allows you to modify files already deployed to Azure Web Apps. App Service Editor is based on monaco-editor, an open-source project which is generated straight from VS Code’s sources, with some shims to make it work…