Reading Notes #182

post-it_AzureBootcamp2015Suggestion of the week


Cloud

released the DocumentDB Data Migration tool, an open source solution that imports data from a variety of sources, including JSON files, CSV files, SQL Server, MongoDB and existing DocumentDB collections.

Programming


Miscellaneous


~Frank B.


Reading Notes #181

Post It - MVP V-ConfSuggestion of the week


Cloud


Programming


Miscellaneous

  • Making the Complex Simple - Not sure how to "classify" this post, is it a top list of the best bad practices, or literally "du bonbon"? A post to read, and relax.

From Ottawa to Montreal in April 2015

This April two event kept my attention, let me present them.

The MVP Cloud RoadShow - April 11


Where: Ottawa
Register: Meetup

Bored that every one is telling you to move to the cloud, but don't explain how to get there or are how it's working in the cloud?

The MVP Cloud RoadShow, is the perfect opportunity to meet Microsoft Azure MVPs. These specialists will talk about: Intune, Hybrid Identity, Rights Management, SQL Business Intelligence and Building a Lab in Azure.

Here all the information you need on the Meetup page.


Global Azure Bootcamp (Montreal edition) - April 25


Where: Montreal
Register: Meetup

Azure Bootcamp logo
This year is marks the third edition of this great event. In more than 190 locations around the globe, people will develop Cloud Computing applications for Azure, this is definitely a great learning opportunity. Many goods hands-on-labs:
  • Infrastructure as a Service in Microsoft Azure (Virtual Machines)
  • Getting started with Azure Websites and ASP.NET
  • Building a web application with ASP.NET MVC using DocumentDB
  • Get Started with the Azure WebJobs SDK
  • Get started with Mobile Services
  • How to Use Azure Redis Cache
  • etc.

For all the detail about the Montreal edition be sure to go on the Meetup page. For more information about the global event go on http://global.azurebootcamp.net/

~Frank B.

Reading Notes #180

Quebec, Canada weatherSuggestion of the week


Cloud


Programming


Miscellaneous


~Frank B.


Microsoft Azure MVP 2015

With April came the MVP nominations, and I'm very happy to receive the 2015 Microsoft Azure MVP award, and to join the great MVP's family.


I would like to thanks everyone who helps me to share my passion, push me to always move forward, stimulate me to get outside my comfort zone to meet other passionate around the globe. Be sure that this is only the beginning!

The Microsoft Most Valuable Professionals, or MVPs is an award that Microsoft gives to exceptional, independent community leaders who share their passion, technical expertise, and real-world knowledge of Microsoft products with others. It is part of Microsoft’s commitment to supporting and enriching technical communities.
To know more about the MVP program, or to know how you could become an MVP, visit Microsoft MVP website.


See you soon.

~ Frank B

Reading Notes #179

Apps_2015-03-29_2048Suggestion of the week


Cloud


Programming


~Frank B.


Reading Notes #178

Ballade en ski du 21 mars 2015 - 1

Suggestion of the week


Cloud


Programming


Miscellaneous



~Frank


Reading Notes #177

2015-03-15 13.45.14

Suggestion of the week


Cloud


Programming


Miscellaneous



Tons of statistics and metrics for Microsoft Azure websites (not only Asp.Net)

Your website is finally online. That great, good job. But now, you have a lot of questions: How much visits do I have? Which part of the site is mostly visited? Does the site performs well? In this post, I will show you some tools that exist in Microsoft Azure that will help you to get some answers.

Request and Error

When you create a website in Azure, you automatically got some monitoring. Go on portal.azure.com (the preview portal), and select your website.

Monitoring_2015-03-05_1540

This will be useful to see how many requests and errors you got. You could create some alerts, by clicking the "+" sign, and you would be notified by e-mail if the number of request is greater than x, over the last hour.

Analytics

The first time you will click on this section all the instruction will be given to you.
To collect end-user usage analytics about your application, insert the following script into each page you want to track. Place this code immediately before the closing </headtag, and before any other scripts. Your first data will appear automatically in just a few seconds.
To get analytics for the whole web site, in an Asp.Net MVC site, a good place will be: \Views\Shared\_Layout.cshtml.

In a Ghost blog, if you are using the default theme, the file will be /content/themes/casper/default.hbs. Otherwise, just replace "casper" by your theme name in the path.

Once your website is re-deployed, re-open the website blade and click again on the Analytics graph. And you will be able to see a lot of information: Session per browser, information on page's views, slowest pages, details on sessions, etc.


Analitics_tour


When you click on a graph, the Metrics Explorer blade will be visible. On the top of this blade, you will have many different options to customize your results. You will be able to add a chart, change the time range, add some filter and even set some alerts.


Metrics_explorer


Moreover, if you click on those Charts, tables or even on a row, you will have more details and options to fine-tune the result.


Diagnostics_Search


Application Insights

You thought it was enough? Well, Microsoft Azure still has one more tool for you, that will cover in this post: Application Insights. With this one, you will be able to see the health of your application by adding some tests, custom events, logs, errors, etc.
Adding Application Insights to your Asp.Net website, can easily be done via Visual Studio, like I explained in a previous post.

Since Azure is compatible with many different languages, chances are that you are using one of those. Let say you are running a node.js Ghost blog, how could you add Application Insights? By using website extensions. To add an extension you could use the Kudu interface. This interface is easy to access. In a browser, type the URL of the website but inject "scm" between the name of the application and the azurewebsites.net. Something like http://mybookmanager.scm.azurewebsites.net/


From_Kudu_Console2015-03-01_2044


Once you are in the Kudu interface, click on the tab Site Extensions, then section Gallery. Add the Application Insights Extension.
It's also possible to add a website extension using the website blade.


From_portal_2015-03-01_2101


This will gives you a lot of information already, but to add more customs metric in .Net by sure to add the Application Insights SDK to your porject. In node.js use the applicationinsights package from npm,

~Frank Boucher



References