It's dawn, there's no sunshine outside the window, it's a cloudy day.

After getting up, I found that my body was in good condition, and I didn't have any pain in my imagination. I suddenly started to care about the bicycle code table. I wanted to walk over and look at it. The code table showed "193.15". I immediately admired myself a little. I remembered what happened yesterday. I said that the good thing was to stick to it, but it was all dead support

After washing and eating breakfast, I was ready to arrive at Taichung railway station, because there was a tour bus leading to Sun Moon Lake nearby. I found that there was a tour project called "Taiwan's good travel". It was a good way to plan my own itinerary and travel easily by selling convenient and affordable travel packages.

After more than an hour's drive, I arrived at Sun Moon Lake.

At five o'clock the next morning, I was woken up by the alarm clock, so I got up quickly to wash and prepare to go.

The night shift attendant at the front desk is a little brother, who also wears a pair of glasses like the glasses sister. When I go downstairs, he lies on the seat and sleeps. But because it's too early, I have no good intention to disturb him, so I pack things alone. Maybe it was the sound of packing that made him noisy. I saw him looking at me. I was embarrassed to tell my brother to check out.

After checking out, my brother is going to prepare breakfast for me. I said thank you very quickly. When I'm ready, my brother has prepared breakfast for me. A bun and a glass of iced soymilk. When I feel the cold feeling of soymilk, I can't help thinking, is this a common breakfast for local people? I'm even afraid that if I eat it, will I have diarrhea on the way of cycling?

After thinking for a long time, I still don't care. I'll eat first.

On May 16, 2017, I flew to Taiwan and started a 15 day cycling around the island.

The day when I arrived in Taiwan was a fine and sunny day. As soon as the plane entered the air over Taiwan Island, the window immediately showed a beautiful scene. Through the window, I could overlook the sky. The blue sky, the Green Island and the sparkling sea were all intoxicated with me. Through the big white clouds, I could vaguely see the covered coastal road, The strategy I've done tells me that this is the No. 61 Coastal Expressway I'm going to challenge.

The plane finally landed at Taoyuan airport. I didn't realize that I was in a foreign country. I felt that everything around me was very familiar and natural. I didn't realize that my trip was an "outbound trip" until I had to go through the customs

Static files, such as HTML, CSS, pictures and JavaScript, will be directly provided to clients by asp.net core applications.

Static file service

//Install staticfiles package
Install-Package Microsoft.AspNetCore.StaticFiles

In the application, we can enable the static file service by configuring the staticfiles middleware, and add the staticfiles middleware to the pipeline:

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    app.UseStaticFiles(); 
}

Static files are usually located in the web root (/wwwroot) folder. We usually set the current directory of the project as content root, so that the web root of the project can be defined in the development phase.

  • http://(app)/(fileName)
  • http://localhost:9189/1.jpg
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    app.UseStaticFiles(new StaticFileOptions()
    {
        FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), @"MyStaticFiles")),
        RequestPath = new PathString("/StaticFiles")
    });
}

Static files can also be saved in any folder under the root directory of the website, and can be accessed through the relative root path.

  • http://(app)/StaticFiles/(fileName)
  • http://localhost:9189/StaticFiles/1.jpg