Last week .NET Core was released, and the first thing I tried to solve was how to Add Swagger to your .NET Core Web API: Dependencies At the time of writing you should add the following dependency to your project.json file 1 "Swashbuckle": "6.0.0-beta901" Using statement In your Startup class add the following using...
I’ve been working on a small IoT project where we expose a simple REST API and use RavenDB Embedded as the database. Once we enabled Swagger on our project we noticed that the generated documentation was not only showing our API but those exposed by RavenDB too. So the question came up: how can we Remove RavenDb’s API...
Stop or Start all WebApps in your Azure subscription with Stop-Start-All-WebApps.ps1 a simple PowerShell workflow runbook that will help you automate the process of stopping or starting every single WebApp (Website) you’ve deployed. The script receives two required parameters: Stop: If set to true stop the WebApps...
Backup your Team Services Git Repositories with VSTS Vault: A simple windows service or console application designed to keep a local copy of all your code. Since January 2016 we’ve moved the source code of more than 30 projects to Git repositories hosted by Visual Studio Team Services. Moving to the cloud has some...
Let’s talk about NHInsights an OracleManagedDataClientDriver for NHibernate and Application Insights If you use Oracle and NHibernate and you are trying to use Application Insights to diagnose issues with your database calls you will notice that for ASP.NET applications the out-of-the-box dependency monitor currently...