My Rants and Raves about technology, programming, everything else...
I've been digging into Vue.js a lot lately. I'm working on a new course on it that will be released on May 1st.
Coming from Angular and Angular.js, I was surprised to see that remote views were not supported out of the box. Now I'm not using it with Webpack or Browserfy, so I am probably using it outside the norm. But I still think remote views (or in the case of hosting in ASP.NET, generated views) are a powerful idea.
I kept looking for a plugin that would support it. I was ready to ditch the whole idea when I saw in the docs they explained in there (almost).
I'm getting around to this a little late, but late last month I had a great time presenting in Charlotte's Enterprise Developer's Guild. I showed them how ASP.NET Core 2 works.
They had a full house and I got to talk about how ASP.NET Core 2 and .NET Core itself works. Great questions about why bother with ASP.NET Core and how it's related to the new "Core" moniker that Microsoft seems to be putting on everything (answer is, probably no relation, just a marketing group that is latching on to the name).
Here are the materials from the talk:
When I created my Bootstrap 3 course back in 2013, I never thought it would take five years to get to the new version of Bootstrap 4. Back in 2016, I outlined and got ready to create a new course about Bootstrap 4. But it never came out. Until now.
I had always planned to do this course for Pluralsight, but they are changing some of the ways they want to publish content. So this is giving me the chance to promote some one-off courses that they don't have room for in my own course library. Bootstrap 4 is the first of these full-length courses.
You may have seen that I recently published a free course on Font Awesome 5 (if you haven't, go watch it for free here: https://courses.wilderminds.com/courses/font-awesome-5). This course is a good example of what I'm trying to do with these one-off courses. They differ from what I can do with Pluralsight in that I have a quiz at the end of each module and a lab for students (who want to) to go through instead of just following along with the video. My courses will be still focused on being pragmatic and showing you all the code, but some people just do better with written out labs so I'm making them both available.
I feel like the job of software developer in the last 20 years has been to decouple. Whether it's dependency injection or building modular systems, or even the new trend of micro-services; coupling has been the killer of everything good in software development (maybe).
In many small ways, I find that trying to fit in small disconnected sets of functionality into the ASP.NET MVC Controller to View mechanism can be overwhelming. In some cases I'll need something that is completely separate from the logic of the controller. Luckily ASP.NET Core comes to the rescue.
The ServiceContainer in ASP.NET Core is great, but we tend to worry about constructor injection in most cases. But once I realized I could inject directly into Razor, I realized I had a good solution for my needs.
I made a decision early on to only make Pluralsight video courses so that I didn't have to worry about exclusivity of topics. They've made me very happy over the years. But I think it's time to stretch a little.
This big change is coming about as a result of how successful Pluralsight has become. Because so many authors want to make courses for them, I don't always have the chance to write about topics I am invested in. I can't blame them. The difficulty in keeping all the authors happy cannot be an easy one.
I'm getting back into face-to-face training. And I'm starting with a new workshop on ASP.NET Core 2 and Angular 5. If you're in Atlanta or can get here, I'll be doing a three-day workshop from May 16-18th this year.
Here's a little bit about the workshop:
Building websites is a common task for almost any developer. But building a website includes many discrete tasks including UI design, creating services, coding in a backend and frontend language, data store design and security. It can be daunting to be good at all these tasks at once. That is where this course comes in.
Back in ASP.NET 4, I really liked the way that it supported running migrations and seeding of the database for you. But in ASP.NET Core and EF Core, that hasn't come to the table yet.
I doubt it actually needs to happen because since ASP.NET Core gives you much more control over the life cycle of the web project. In Entity Framework Core, I've been using an approach to run migrations and seed the database that I kind of crufted together in the Betas. I don't think it's working.
Back when I realized that you couldn't just use the seeding and initialization from EF6 in Entity Framework Core, I looked at a few solutions and pick and choose what made the most sense to me. This is what I had come up with:
If you're looking to prepare for the future of web development, I think my course does a good job of teaching the technologies involved. This is a great time of year to start looking at the new stack.
If you haven't taken one of my courses before, you might be surprised by the way that I teach. This course walks you through building a website from File->New to publishing the site. The course covers the following topics:
With the New Year coming, I thought I'd look back at the last year in my life. Warning this is going to be technical and personal, that way I can turn 50% of the people off with every sentence...just a different set of people with every paragraph ; )
I've had a tough few years, but overall this has been a good year in the Wildermuth house (removing entirely our Political climate which I won't talk about here). It's not been easy, but it's been good. That's the way it usually is for me.
One of my favorite lines from music is "Every five years or so I look back on my life, and I have a good laugh." 1 That's how I have felt most of my life. This year is no different. One constant is my life is that I'm constantly trying to learn something new, whether that be technology or anything else. Here are some categories of my life that I'm looking back at:
In my ASP.NET Core 2.0 Pluralsight course, I specifically teach how to build DbContext classes and the POCO classes that go with them. But I've been getting many questions about how to work with existing databases, so I thought I'd explain it in a blog post.
I purposely teach the DbContext and POCO classes first because I want the students to understand what is happening. The process of using it with an existing database generates sometimes a large amount of code.
Before you get started, you'll need to make sure the project has some required packages and tools. If you open up your .csproj file, you'll need to add EntityFrameworkCore.Design and SqlServer (or whatever database you're using) as references: