A Short Video Tutorial on How To Fade in and out with Adobe Premiere

Check out this short 90 second video on how to add audio fade in and fade out on an instructional video.  I do this on my current video I’m making for Pluralsight on ASP.NET Multi-Tenant coming out soon. … Continue Reading

Seeding a Many to Many With Entity Framework and C# Dynamic

In the previous post, we created a single table (speakers) with Entity Framework Code First from a JSON file with Visual Studio 2015.  Now we will add a sessions table that has a many to many relationship to the speakers table.  That is, speakers can have multiple sessions and sessions can have multiple speakers.  We do that but simply creating another entity (sessions) and add to it a List of speakers and then adding to the existing speakers table a list of sessions.  The new table (models) look as follows. GitHub Repo: https://github.com/pkellner/EntityFrameworkSeedFromJSON [crayon-56b901a61d8e4206377258/] Then,  we need to add sessions data (from the JSON file) but when we add the sessions, we need to add … Continue Reading

How To Create a Recorded Hangout

I’ve recently been wrestling with the best way to do a remote interview.  Because the interviewer and interviewee are in different locations, the lag can cause very strange side affects and synchronization issues.  On Air Hangouts seems to do the trick quite nicely. Here is a video with me giving instructions.  Below that is the result of my second actual on air hangout produced this way. … Continue Reading

Refactoring C# Code With ReSharper Help

image.png

  A pattern that I do quite often is to first right out code that actually works, then when I see a pattern repeat itself, I like to refactor that code to try and avoid the repetitive code.  Reasons include: Smaller Code Less Chance For Error Don’t Repeat Yourself (DRY) As an example, the c# code I’m working on now involves reading key values to be used with the Stripe payment service.  Here is the code I first wrote: [crayon-56b901a61e9ee229747357/] The first thing I do is to look for the pattern and try and pull out variables that I know are going to be helpful in refacotring. You can see below that I pulled out the keyAppName variable and I also changed the assignment to be to a new variable rather than … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: