Shawn

Shawn Wildermuth

The Blog

My Rants and Raves about technology, programming, everything else...


Questions for My Pluralsight Courses

For any of the students who are taking my courses, thanks for all your support. I really appreciate it.

Normally the Discussion tab on my courses would be the place to ask questions about the course, but right now it’s impossible. Due to a change from Livefyre, all discussion is locked temporarily on all courses at Pluralsight.

I don’t want to leave you hanging if you have questions, so for now, please ask questions that come up from any of my Pluralsight courses in the comment section of this post. I’ll do my best to answer the questions as quickly as possible.

Read...


Wroc# Wrap-Up

P1000610The great organizers of Wrocsharp invited us to come to Poland and present at an unusual conference. I had a great time and everyone was just lovely to me and my wife!

Wroclaw Poland (not pronounced anything like you’re thinking) is a lovely little city that has an interesting history. We enjoyed chasing down some of the hundred or so dwarves that line the front of shops and churches (seen to the right – yes, that’s a dwarf using a tiny ATM).

Wroc# is an interesting event in that they bring in a large number of people (I’m guessing 400 or so) and they have one huge track. Six speakers plus a Q & A Panel for the six speakers and that’s it. I felt very privileged to be picked to be one of the speakers (which included great speakers like Tess Ferrandez, Steven Sanderson, Chris KlugMaarten Balliauw, and Frans Rosén). It was a great day of .NET and C# content:

Read...


Time Flies: Fifteen years of Blogging

ADOGUY_license_plateThe first blog post I wrote was on April 10th, 2002. That means I’m coming up on fifteen years of blogging.

A lot has changed both personally and in our industry in that amount of time. I’m going to look back in wonder at the last fifteen years if I can.

I didn’t start tracking users until I added Google Analytics in 2008, but in that time I’ve reached over 1.5m users (who knows how accurate ‘unique users’ are…I’m suspect of this number). But I did just pass 3 million page views. I’m hoping most of those views helped people just a little.

Read...


ASP.NET Core Snippets for Visual Studio Code

Image result for visual studio code logoI’m currently creating a new course on how to use Visual Studio Code with ASP.NET Core. While I rely on yeoman for project scaffolding and some file scaffolding, I wanted to get some of the snippets I’ve grown used to having in the full Visual Studio.

I found a project called ASP.NET Core Snippets to my excitement, but it only had snippets for some of the main files in your project. Not action snippets or razor snippets. So at 4am last night I wrote a Visual Studio Code extension to add some of these snippets.

So far, it only has a handful of snippets that my 4am brain knew I wanted:

Read...


Why I Moved to Vue.js from Angular 2

Image result for vuejs logoI know I’m going to upset some people, but hang in and read the whole article…really. In updating my blog recently, one of the changes I wanted to make was to update my use of the JavaScript framework I used for the contact page.

When I built this blog, I wanted to get comfortable with Angular 2. I shoehorned Angular 2 into the contact page as an excuse to use it. Never a good decision.

My goal with replacing Angular 2 was to remove a lot of the complexity. Getting Angular 2 up and running requires a lot of moving parts. By removing Angular 2 I was able to eliminate a lot of pieces of the build. These pieces were making my builds on Azure App Services brittle so it had to go.

Read...


Updating My Blog to Visual Studio 2017 and .csproj

cat-667909Now that the ASP.NET Core tooling changes are finally here, I decided to update my blog to the new bits. Goodbye project.json and hello .csproj.

Finding the project after upgrading it, I had to look for those points of contact I had gotten comfortable using. The upgrade wasn’t painful (look back at those Beta 7-Beta 8 upgrades for that story), but knowing where they moved your cheese is important. Hopefully this post helps you with the same issues.

I’ve been watching the changes from using the project.json file to MSBuild (e.g. .csproj) for a while. Instead of manually updating it (which you can do with the SDK alone), I decided to just open the project in Visual Studio 2017 and let it update it for me. What I ended up with was a backup directory with my old project.json file and a couple of new files:

Read...


New Course on Building an API with ASP.NET Core

codesoupAre you new to ASP.NET Core? Maybe you’re building an API for your SPA, mobile app, or just your web app. I recently released a new Pluralsight course that can help you.

This new, six-hour, course covers the basics of building REST APIs with ASP.NET Core. Whether you’re just exposing your data via REST, or building microservices, this new course should have you covered.

Here is a preview of what the course contains:

Read...


Speeding up Azure App Service Builds

 3142010593_ac06de5f0c_oI run this blog and other sites on Azure App Services (used to be called Websites). As you might know all that code is open source on GitHub and I use that code to deploy directly to Azure.

I use the GitHub deployment that Azure offers so that every time I push a change to my master branch, it creates a new deployment for me. It's been pretty great, except...the deployment is pretty slow. Normally the speed of this deployment wouldn't matter a lot, except of course when I push a bug out to 'live'. Then the speed really matters.

I was perusing the builds and noticed that a build was taking 1014 seconds. That's an ASP.NET project with very little client-side building (e.g. no webpack or similar). Getting the source, doing the restore, building the project, and deploying it all shouldn't be taking 16+ minutes.

Read...


Updating WilderBlog to ASPNETCore 1.1

yawning_babyI upgraded my WilderBlog project to ASP.NET Core 1.1 today. I had planned on writing a big blog post about how to accomplish it, but I was surprised instead by how uneventful the process was.

Some of my students were using ASP.NET Core 1.1 in their walk through using my Pluralsight course and I was unsure of how much of a problem that was going to be, but so far no problems really.

So to upgrade my WilderBlog project, I did two uneventful things:

Read...


My First ScriptCS

I’ve known Glenn Block for a long time now and I’ve heard about the ScriptCS project he’s worked on for a long time. I’ve never had time to dig in until now.

For the uninitiated, ScriptCS is a scriptable environment that uses .NET and C# for it’s platform. It makes writing simple scripts easier if you know C# already. It has support in several different editors, but I’ll talk about how I used it with Visual Studio Code since that’s my new favorite toy.

Before I can learn something interesting I have to have a job to do. In this case I had a simple problem: I needed to clean up Visual Studio projects. I create a *lot* of projects. Whether they are examples for courses, talks, or for my own investigations, I end up with projects lying around everywhere. Before I could share them, I want to clean them of temporary data (e.g. bin and obj directories, et al). Now that I use GitHub for many of these projects, cleaning isn’t that important but even in that case I still have a lot of disk space devoted to these files, so I still want to clean them up.

Read...