There a numerous reasons why you would need to create an XML file. Configuration settings or using it as a data source are 2 examples. In both cases, you would need to create the XML file. If you have never done it before then the first question is, How do I create, read and modify […]
Read More →Archive for May, 2017
How to access KUDU using your Publishing Profile
If for some reason your Microsoft or Organizational credentials are not working when accessing KUDU, which I discuss here. You can use your Publishing Profile userName and userPWD to connect. You may get prompted with a page similar to that shown in Figure 1. Figure 1, cannot access KUDU Login to the Azure Portal here, […]
Read More →Execute an Azure PowerShell (ARM) script without prompting for credentials
Something I have noticed and seems to be a path being set forward is that ASM capabilities are not going to be available in an Azure Sovereign clouds. By ASM, I mean anything that is dependent on this URL manage.windowsazure.com. Therefore, if you have any dependency on that and plan to move into an Azure […]
Read More →Enable System.Net tracing on Azure App Service
It is becoming a common scenario that customers of Azure App Services Web Apps are making requests to services hosted on other Azure IaaS or PaaS platforms, services not hosted on the Azure platform (on premises) and which use the System.Net class. For example, making a request from your code that uses either of the […]
Read More →Enable Failed Request Tracing for an Azure App Service Web App
When you are experiencing slow performance on your Azure App Service #Microsoft a start is to look at the IIS logs, specifically at the time-taken column. This will confirm that indeed there are some slow requests and identify better how slow they are. If you want to take it one step further, you can enable […]
Read More →Debugging Azure Functions in Visual Studio
I wrote this article here where I talk about how to debug and troubleshoot an Azure Bot service. Since the development approaches are very similar between the Bot Service and an Azure Function, I wonder if this feature will ever support the Bot Service. It would be much easier doing that versus the example I […]
Read More →Create and deploy an ASP.NET Core Web API to Azure Windows
There are a number of things I want to accomplish with this and a few future articles: How to deploy an ASP.NET Core Web API to an Azure App Services Web App How to deploy an ASP.NET Core Web API to an Azure VM Check out some of my other articles I wrote in regards […]
Read More →Using LINQ to Reflection with Lambda Expressions in C#
I think Lambda expression are cool. Not only are cool, they are pretty powerful and can make your code a lot more readable and compact. I wrote this article here about how to simply use LINQ to Reflection to list the methods and types of an assembly. In this example I will use the same […]
Read More →With-clause referenced two different from-clause elements
I believe if you are getting this error that there is more likely something wrong with your configuration than with NHibernate. I received this error when I wanted to create a nested join between 2 unrelated tables. Something like this in HQL: [sourcecode language=”sql” padlinenumbers=”true” autolinks=”false” gutter=”false” toolbar=”false”] select tbl.CODE, av1.NUM, al1.CODE from TABLE tbl […]
Read More →NHibernate MultiQuery and MultiCriteria unsupported Databases – Oracle and DB2
One of the better capabilities of NHibernate that I have recently found was the ability to group together queries on the client and execute them using only a trip to the database. What I have recently found, is that, as of writing this article and using NHibernate version 3.0 Beta 1, only SQL Server and […]
Read More →