Polymer – Tips on running “Getting Started Tutorial” on Windows

Yes. As the title say, this post is about tips on how you can run Polymer sample on Windows.


IIS instead of python server

In Google’s Polymer document, it suggests you to run the following python command to start the web server.

python -m SimpleHTTPServer

python -m http.server

But most of windows developers doesn’t have the python installed on our windows machine. What else do we have? Yes. Most of us have the IIS so you can simply create a website and point to “polymer-tutorial-master” folder in IIS. That is.

.json extension in IIS

When you are working on <post-list> component tutorial, you will know that you are not able to show the list. It’s because the post-service is doing http-get to /posts.json file from the web server. IIS doesn’t have the .json extension by default. (Note: I am using IIS 7.5.)

MEME Type in IIS7

So, I added the .json extension in MIME and then it works. If you want to see the step by step how to add new MIME in IIS then you can refer to this post “add .json handler support in IIS 7“. But for me, I didn’t add the handler for .json.

After adding the .json MIME in IIS then go and refresh the page. You will see the list as below.


Polymer is a very interesting project that based on web components. But yes, it reminds me of my Silverlight/WPF days where I used to deal with template/data templates. I am still studying more about this project and hopefully, I can share my experience with Polymer with you all later.


3 Replies to “Polymer – Tips on running “Getting Started Tutorial” on Windows”

  1. Найдем для Вас потенциальных клиентов по бизнесу, товарам или услугам.

    Предлагаем базы данных фирм России, Украины, Белоруссии и Казахстана.

    Для заказа новых баз данных фирм писать ТОЛЬКО на эту почту: baza-gorodov(собака)yandex.ru

    Стоимость базы фирм 1 города — от 700 руб. По стране 1 категория — 2000 рублей!


    привлечение клиентов ваш бизнес

    Спектр применения баз фирм огромный:

    1. Вы можете использовать их для обзвона потенциальных клиентов
    2. Для рассылки писем по email
    3. Для смс – рассылки
    4. Для почтовой рассылки на юридические адреса фирм
    5. Для поиска партнеров и новых клиентов в социальных сетях на страничках фирм
    6. Для написания Вашего предложения на сайтах фирм и т.д.

    Для заказа новых баз данных фирм писать ТОЛЬКО на эту почту: baza-gorodov(собака)yandex.ru

  2. What’s up,I log on to your blogs named “Polymer – Tips on running “Getting Started Tutorial” on Windows – Michael Sync” like every week.Your writing style is witty, keep doing what you’re doing! And you can look our website about love spells.

Leave a Reply