Today I feel quite relieved. Yesterday I organized my first big event, Athens Azure Bootcamp 2016, part of a much larger event called Global Azure Bootcamp 2016, with the help of a very good friend of mine, Kostas Pantos. What is the Global Azure Bootcamp? In short, it’s a one-day deep dive class into Azure, the objective of which is to help…
A MIME type is a two-part identifier for file formats and format contents transmitted on the Internet. It consists of a type, a sub-type and optional parameters. When publishing a new website in Azure WebSites, you may find out that not all file types can be served without some prior configuration. For example, if your site needs to serve custom fonts, either for icons…
Windows PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language, built on the .NET Framework. You can search for it, using Windows Search, but probably you already have it installed on your computer. On top of the standard command-line shell, you can also find the Windows PowerShell ISE, which…
In Azure portal, if your account contributes to other azure subscriptions, you are allowed to switch from one to another using a drop-down menu at the top left corner. Problem is that by default the name used in Azure Active Directory is “Default Directory” which seems a little confusing. In order to change it to something more meaningful you can use the old windows azure portal,…
These are some quick notes on how to configure an SQL Server to Listen on a Specific TCP port. Open Run Command line and type: SQLServerManager12.msc for SQL Server 2014 SQLServerManager11.msc for SQL Server 2012 SQLServerManager10.msc for SQL Server 2008 and press Enter. To assign a TCP/IP port number to the SQL Server Database Engine In SQL Server Configuration Manager, in the console…
When you launch a web project in Visual Studio, by default is uses the 32-bit version of IIS Express. To change that you can enable the 64-bit version through Options. So, head to:
In Windows 10 Quick Access may happen to stop working properly and when you try to add a new entry, you can come the following message:
1 | The docfile has been corrupted |
In order to fix it you can open Command Line and execute the following:
1 | del %appdata%\microsoft\windows\recent\automaticdestinations\* |
Or in your Windows Explorer you can go to
1 | %appdata%\microsoft\windows\recent\automaticdestinations |
and delete its content.
In Azure all hosted sites have URL Rewrite and ARR (Application Request Routing) modules installed but the proxy functionality is disabled by default in ARR. So, when you create a simple rewrite rule like the one that follows:
1 2 3 4 5 6 7 8 | <rewrite> <rules> <rule name="ProxyAdmin" stopProcessing="true"> <match url="backend/api(.*)" /> <action type="Rewrite" url="http://api.yourdomain.com/api/{R:1}" logRewrittenUrl="false" /> </rule> </rules> </rewrite> |
where, for example all the requests like http://www.yourdomain.com/backend/api/… should be served by http://api.yourdomain/api/… will result in a 404 (Not Found) status code with the following message:
1 | The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. |
To…
In Azure it is very easy to upgrade from one pricing/performance tier to another in a matter of clicks, but some processes are not instant. Upgrading your SQL Database may take some time and through the portal the only info you can get at the moment is that an update is in process. Azure SQL Database provides progress information on management operations (like CREATE,…
SQL Server management studio allows you to have Database Diagrams to graphically show the structure of the database. In addition, you can create and modify tables, columns, relationships, and keys. Plus, you can modify indexes and constraints. While trying to Create a New Database Diagram you might come across to the following error: