Author: Andreas Plahn
Changing default project directory in Visual Studio 2017
Are you annoyed by the default project location in Visual Studio? Check out this tutorial and learn how to modify it to suit you needs.
Source: Changing default project directory in Visual Studio 2017 – Daniel Zikmund
MS SQL Server – View or Change the Default Locations for Data and Log Files
Open SQL Server Management Studio and connect to the db server then follow these steps:
Source: View or Change the Default Locations for Data and Log Files | Microsoft Docs
How can I enable Assembly binding logging? – Stack Overflow
I’m getting, “Could not load file or assembly ‘Bla’ or one of its dependencies. An attempt was made to load a program with an incorrect format.”
Source: registry – How can I enable Assembly binding logging? – Stack Overflow
Web Compiler – Visual Studio Marketplace
The easiest and most powerful way to compile LESS, Scss, Stylus, JSX and CoffeeScript files directly within Visual Studio or through MSBuild.
Dev Tip #109: When Should You Estimate?
How to view, add, edit and remove files in Azure Web App using the Kudu service
Simple WCF Test Client
A simple WCF test client is included in Visual Studio.
It resides here for my Visual Studio 2017 installation:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\WcfTestClient.exe
Import a BACPAC File to Create a New Database
(Export the db from the Azure Portal first). And the SQL Server Management studio 17.
Initially imported into SQL Express 2014 but got some warnings/errors regarding the import, so SQL 2016 works better.
Steps:
1. Access to a bacpac file locally / on azure storage
2. Use the UI wizard in Management Studio. (See below)

- Connect to the instance of SQL Server, whether on-premise or in SQL Database.
- In Object Explorer, right-click on Databases, and then select the Import Data-tier Application menu item to launch the wizard.
- Complete the wizard dialogs: Introduction Page. Import Settings Page.
Source: Import a BACPAC File to Create a New User Database | Microsoft Docs
System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.
Solved the error by settingĀ TrustServerCertificate=false in the connectionstring.
More info here:
https://stackoverflow.com/questions/17615260/the-certificate-chain-was-issued-by-an-authority-that-is-not-trusted-when-conn
Accessing Azure Web App with FTP
Login to azure portal
https://portal.azure.com/
Goto your web app
Select the tab “Deployment credentials” and set username and password to be used for FTP access. (remember to save).
Goto the “Overview” tab (the top tab)
In the right column you find: