In any system nowadays, applications or services need to communicate with each other to achieve the target process. This communication can occur in many different forms or types, but one of these types is the direct communication via HTTP request. An ASP.NET Core application or service can communicate with external APIs or services via HTTP... Continue Reading →
Analyzing an Uploaded Image to a Blob using Azure Cognitive Services & Saving Analysis Results to CosmosDB
We discussed before in details how to build Azure Functions using Visual Studio 2017 and VSCode (review my previous articles Building Azure Functions in Visual Studio Code using .Net Core and Building Azure Functions in Azure Portal & Visual Studio 2017 using .NET Core). Today we're going to benefit from this knowledge to create a blob... Continue Reading →
Building Azure Functions in Visual Studio Code using .Net Core
In the previous post, we discussed how to create Azure Functions in Visual Studio 2017 and in Azure Portal and we kept the VS Code part until later discussions. Today, we are going to start building our first function in Visual Studio Code from scratch by setting up the environment with Azure Functions Cli, authenticating... Continue Reading →
Building Azure Functions in Azure Portal & Visual Studio 2017 using .NET Core
In this post, we are going to talk about Azure Functions. As known, Azure Functions are a PaaS, which stands for Platform as a Service. This allows us to develop or run a small piece of code that acts as a service on the cloud platform. This service can do several tasks like doing a... Continue Reading →
Running ASP.NET Core App in Kubernetes With Docker for Windows 10
Today, we are going to get started with setting up Docker v18.06.0-ce-win72 (19098) that now supports Kubernetes v1.10.3 on Windows machines running Windows 10 OS. We will end up by running an ASP.NET core app with Docker after creating a deployment, which manages up a Pod that runs the desired Container. This to be considered... Continue Reading →
Executing .NET Assembly in SQL CLR
Many developers become sluggish when it comes to learning TSQL stored procedures and deal with functions and triggers. As we, all know the famous saying “If necessity is the mother of invention, then laziness is sometimes its father” then welcome the tricky way of doing what you want in SQL without writing complex TSQL syntax.... Continue Reading →
ASP.NET Calendar Dates Comparison & Validation
During the development process of an ASP.NET website, we face an issue of comparing date values entered by user and validating them so that no logical error occurs. This case mostly happens when we have two date values to be supplied and the first value for sure must be less than the second one. As... Continue Reading →
SQL Server: Cleaning all Database Tables and Reset Identity Columns by forcing Truncate or Delete
We all know that during the development process of any software or web application connected to an SQL Server database, all the tables contain what we call 'trash' data which is non useful data entered by developers for testing their code. This data should be removed before the delivery of the application to the client,... Continue Reading →
SQL Server Configuration Manager – Cannot connect to WMI provider
I was trying to access my SQL Server 2008 R2 Network Configuration to enable Tcp/Ip connections to my server through the SQL Server Configuration Manager from the Configuration Tools. But suddenly an error message appeared indicating that I can't access my configuration manager through the WMI provider. The error message that popped up is shown... Continue Reading →
Cannot use a leading .. to exit above the top directory
When you use relative paths incorrectly in ASP.NET an exception will be thrown of the following error message: "Cannot use a leading .. to exit above the top directory". This usually occurs when you write a static url or generate a dynamic one with many upward levels back to the root directory like "../../". So,... Continue Reading →