Brandnew my Website
Posted at： Tweet
I feel like that to write article is for the first time in several years.
Before, I use 'WordPress' as blog system, but it was not interesting for me.
then, I constructed by myself them.
* Technical story will begin.
My old system is below.
Starting VPS, enter the Wordpress via nginx, it is very ordinary structure as I know.
I used nginx as reverse proxy because I want to run other application.
Someone think "Tomcat is old". me too.
I wanted to write the server side with Java three years ago.
"download.mrtska.net" was distributing my Minecraft mod, and counting download.
This application is very small. Already gone now.
Tomcat cannot communicate nginx directly.
Therefore, I used "Apache HTTP Server" to communicate nginx and Tomcat.
Time passes, I got tired to manage this system.
Then I started to develop "New System" without WordPress.
New system configuration is below.
I felt modernize suddenly.
I upgrade OS to Ubuntu 18.04 LTS. (Before, I used 16.04 LTS)
Although main application is running under the Docker.
Ubuntu is so much it does not matter.
Unlike old system, I constructed deployment feature.
If deployment is Bothersome, my development motivation is going down quickly.
I think that one of the reasons to retire WordPress.
I developed new system with ASP.NET Core instead of WordPress.
ASP.NET Core is using C# language.
My C# experience is gained by NicoNicoViewer.
I thought It was just time to use ASP.NET Core.
This application including some feature.
- Blog system
- File distribution and counting download
- Deploy management of NicoNicoViewer
Internationalization is not required for usual blog, so I implemented to study English.
I'm Japanese. My English vocabulary is still poor... :(
I implemented NicoNicoViewer's subfeature like a Plugin.
Docker is never holding some log data. Therefore, I decided to use Azure's service.
Running all application on Azure is very easy.
But, sakura VPS's price is better than Azure VM.
so, I use only logging feature on Azure.
ASP.NET Core is moddern MVC Framework.
Official document and library is abundant.
At least, Official library provide Twitter authentication, GitHub Webhooks and more. It was only ASP.NET Core as I know.
To sign in this blog, need to 2FA with Google Authenticator. But no need to third party authentication library.
Also blog speed performance is improved compared to WordPress.
I want to implement some feature.
Still not implement comment feature and responsive design.
I developed also Frontend application, but let's make it some other time.
Tag: ASP.NET Core