I never thought I’ll do that. Going to .NET for any implementation felt like a betrayal to all that is sacred. Or in other words switching the domain to Microsoft felt strange and even wrong.
I’m used to Linux and all that is Unix like. Now I’m installing .NET and Visual Studio on my Mac. How I got here?
It’s simple. I had a chat with company who needs DevOps and they are running only .NET apps. I think that DevOps is not pinned to platform or any tech. It’s a way of thinking so helping them out with a casual brainstorming felt nice. Those guys are awesome and smart. They know what they want to achieve.
- Going away from monolithic app
- Use PaaS from Azure
- Automated deployments
So far they have one Excel sheet. That has all steps for their deployment. I’m guessing that there is an order that should be followed. They need their components interconnected and maybe a better branching strategy. They are using git and branching from master every time they want to develop a feature. That’s all nice and good but probably not enough for a decent CI.
Today I looked up some information of how things looks like on the .NET world. For example for docker I saw this nice page:
The Dockerfile for this simple MVC app boils down to:
When I built it the /app had those:
So, the .NET framework was serving the views from a compiled .dll file. That brings back memories. I think this Windows world evolved a lot since I last cared to look. The funny thing is that my docker container was running on Linux. So the whole thing is very platform agnostic.
I think I should research some more. Next stop - Jenkins. That might be a nice read: