Posts

Populate a drop-down in Vue.js and Asp.net Core from an ajax call

Image
  If you want to call a function on page load and Bind Drop down  List in Vue js then in this example i will show you how to trigger function on page load in vue js. we will run function on page load vue application. we mostly require to call method on page load in our application. so you want to call function in Vue.js app then you can do it using created option in vue js. So i will give full example so you can check it out. Index . cshtml < div id ="apps">     < div class ="form-group">         < label class ="control-label"> State </ label >         < select v-model ="state" class ="form-control" v-on:change ="getcity($event)">             < option v-for ="state in States" : value ="state.stateId"> {{ state.stateName }} </ option >         </ select >     </ div >     < div class ="form-group">         &l

Getting started with PHP on Azure

Image
Introduction Hello Everyone, today let's make ourselves ready to learn a new topic i.e.  hosting PHP application on Azure . Many of us must have came across the word  Azure  and some of us must be knowing how to host the application written in PHP on it. Today we will go over  how to host the application on Azure  and  how to auto-deploy the code through  GitHub . So, why to wait !! Lets start then :). Background In this blog, we will mainly come across these following words. 1. PHP 2. Microsoft Azure 3. GitHub 1. PHP :- Quote: "PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language." - wiki The word PHP i.e.  H ypertext  P re p rocessor earlier called as  P ersonal  H ome  P age. In 1994, Rasmus Lerdorf created this pretty language and in 1995, it came into existence as an open source technology. Because of its simplicity (as most of the syntax resembles to C, C++, Java), i