Well, it’s been a minute, hasn’t it? This 🦊 needed a break after speaking at MMS and PSChatt! (both awesome events! If you’re shopping for a big conference, I can’t recommend #MMSMOA enough! And early bird pricing is open now!).
Since then at work I’ve had to dive deep and learn a whole new skill set.
Fortunately, I had a scuba tank and now that I’m back up for air, I’d love to share a bit of what I learned.
This is kind of different
It’s been a long term goal of mine to expand beyond my PowerShell capabilities and learn as much as I can of this ‘programmer’ stuff. I’d always wanted to learn C#, and my first deliverable was the ‘at least kind of working’ Client Faux (big updates to come).
Our goal was to make a cool website where end users could go and type in manually, or provide a CSV file of devices, and I’d use that to spin up new collections with deployments and then perform some automation on those devices within SCCM. I want to talk through how I’m doing that, and the goal of this post should lay a foundation to answer the question of: what is a model view controller(mvc)? Spoilers, MVCs are all around us!
So to recap our goal: I needed to have a user give me input and a csv, then parse and slice it and show them the results to edit or tweak. That’s going to be our end game for this guide.
But before we talk about the technology…
But Stephen, are you qualified to teach me about this?
Uhhhh…maybe. I may not have all of the terminology down pat, and there might be a more efficient way of doing things than I have figured out. But, ya know, I did just figure this out, plus I’m willing to share with you, so what else are you gonna do? 😁🦊
The technology stack
The goal was to host the site in IIS, with an ASP.Net Model View Controller and the powerful Entity Framework to handle my DB interactions. To throw some jargon, an ASP.net MVC with EF 6. Continue reading