Posts

How to implement GoogleAdMob in Xamarin forms ?

Image
Here are step by step  instructions to implement google AdMob through Xamarin Forms. I have used Test keys of Google AdMob for practice, visit this page to get test keys of sample ads test keys of Google Sample Ads  . You can create your own Ads from  Google AdMob  website, and use generated keys. I have also this project in Github to download  Github project of google admob , don't forget to give star. 1) Create new project in Visual Studio, choose last options for new project. 2) Choose Project type as Xamarin forms, install Xamarin in visual studio if you haven't.          choose Blank(empty) template for Xamarin project. 3) Now we will have Solution Explorer like this,           here, GoogleAdMob is my project name. And project is setup for both IOS and Android. 4) Now install a NuGet package in Shared project, right click on first project and choose       "Manage Nuget Packages". 5) ...

How to solve "Running script disabled/Execution policy" error in Angular CLI ?

Image
 While working on angular we use command line for running script to execute commands for angular like "ng generate component comp-name" , "ng generate module mod-name", many other,  but sometimes you may face error like this,  this is snapshot of my vscode angular cli error. To solve this, you just have fire one single command from same terminal , " Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser " As we can see after this command my command for module generation executed successfully, and no error shown like above. Thanks 

Why Typescript ?

  Why Typescript   Typescript is open source programming language developed and maintained by Microsoft. It is super-set of JavaScript and adds optional static typing to the language. Typescript is designed for development of large applications, which compiles to JavaScript. Can be executed on any browser.   Typescript supports OOPs features such as classes, interfaces, inheritance, generics etc.   Need of Typescript There were many challenges faced by Microsoft while handling large scale enterprise applications. So, solution was to develop a language which is rich in features and can be transpiled to JavaScript. As our browsers only understand JavaScript. It can be compiled to JavaScript. That is why Typescript is called as Superset of JavaScript.   JS is client-side scripting language. We can do DOM manipulation, client-side validation, event handling etc.   But as the complexity of the code increases, it becomes difficult to maintai...

How to embed Microsoft Power BI report to HTML page, to make it as web page ?

Image
  For this first you need to make a Power BI desktop report which you want to embed in your HTML page, we are not covering that part in this post. We have already made a sample report on Power BI, we gonna use that.   1.      Save your power BI report.   2.      After that select Publish option. 3.     From Publish option your report will be re-directed to Power Bi workspace,  4.     Report on Power BI Service workspace for this you have to login with MS work/office account. And then we can access web base Power BI service. 5.      Here, click on file and select option ‘Publish to web’ 6.      Here we’ll have embedded code to copy for HTML page, Since we don’t have power BI admin service, we aren’t able to see that part. Pop-up window with iframe code in it. But if you have admin access then you can make changes in admin portal to allow reports to publish ...

Nilkanth dham swaminarayan temple, Poicha Gujarat visit

Image
                Nilkanth dham swaminarayan Temple, Poicha Gujarat Location:     Temple is located in Poicha village on the bank of river Narmada. I was in Vadodara and planned to visit a Nilkanthham with my brother. So Poicha is approx 70 kms from Vadodara. One of the best thing I loved about Gujarat was their highways road, Its a delight to a person who loves driving and also to who doesn't, and that's the reason they have high cost tolls. One can easily reach to Poicha through google map navigation as there were not too many turns on way. Parking and entry fees: We gave rupees 30 for car parking, if you have bike you only have to pay rupees 20. Parking area is huge. Temple campus:   As we reached campus on the left side I saw public toilet which was very clean and well maintained. Moving forward we saw big canteen where meals and fast food stall were open which was not so crowded, you have to buy a token fro...