Skip to main content

Loading Image For Every HTTP Service Call In AngularJS

Whenever we use an HTTP call in AngularJS, we want to show the loading image by default. So here, we are going to see the process with a sample example. Below is the complete code for the index.html, script.js, and studentData.json page. Complete code for HTML <!DOCTYPE html> <html> <head> <script src=”http://code.jquery.com/jquery-1.9.1.min.js”></script> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.js”></script> <script […]

Read More

Get Base64 String From Image In C#

Below is the code to convert an image into the base64 string in C#. Syntax static void Main(string[] args) { string imagePath=@”E:\images\sample.png”; string imgBase64String = GetBase64StringForImage(imagePath); Console.WriteLine(imgBase64String); } protected static string GetBase64StringForImage(string imgPath) { byte[] imageBytes = System.IO.File.ReadAllBytes(imgPath); string base64String = Convert.ToBase64String(imageBytes); return base64String; }   Example  

Read More

How To Use Visual Studio For Azure SQL Database

Introduction This article demonstrates using Visual Studio step by step for Azure SQL Database operations. Prerequisites Microsoft Azure Subscription Visual Studio Recommendation Please click here to go through my previous article about “Creating an Azure SQL Database and connecting through SQL Server Management Studio.” Azure has too many functionalities nowadays, and day by day, the Microsoft team is […]

Read More

How To Use Query Editor For Azure SQL Database In Azure Portal

Introduction This article demonstrates how to use Query Editor for Azure SQL Database operation in Azure portal. Prerequisites Microsoft Azure Subscription Recommendation Please click here to go through my previous article about “Creating an Azure SQL Database and Connecting through SQL Server Management Studio”. Azure Portal is providing Query editor for the database operation, which is very […]

Read More

Creating An Azure SQL Database And Connecting Through SQL Server Management Studio

Introduction This article demonstrates how to create an Azure SQL Database, set the Firewall rule, and connect through the SQL Server Management Studio. Prerequisites Microsoft Azure Subscription, SQL Server Management Studio (SSMS) First of all, login to the Azure portal. Click here to go Azure login page. After signing into the Azure portal, click on the SQL […]

Read More