Loading View Components from a Class Library in ASP.NET Core MVC

In today's post we take a look at how view components can be implemented in a separate class library and shared across multiple web applications.

The Monsters Weekly - Episode 49 - Right Click Deployment

Got your app all ready to ship but nowhere to ship it to? Why not try Azure? In this episode we deploy our application to Azure App Services. 

Here are some links for you to chew on:

The Monsters Weekly - Episode 48 - Configuring Entity Framework

The patterns used for configuring Entity Framework Core are a little different when compared to previous versions of EF. In today's episode, Dave takes us through the OptionsBuilder pattern and a couple different methods of wiring it up to your DbContext classes.

Related Episodes:

The Monsters Weekly - Episode 47 - Julie Lerman and the State of EF Core

Are you getting ready to start exploring ASP.NET Core? Have you considered which ORM you're going to work with? In this episode the Monsters kidnap are joined by special guest Julie Lerman to talk about EF Core, the next version of Entity Framework.

There are new great things, but there are also pieces you may have grown accustomed to that are no longer (or not yet) in EF Core. We talk about the move to open source, options we have, some best practices and some great tips to help you keep your project on track and decide what the right strategy may be for your team.

Here are some links to help get you up to speed:

 

The Monsters Weekly - Episode 46 - Finding Platform Information

Dotnet Core runs on a whole bunch of different platforms but not everything is the same between platforms, how can we adjust for different platforms? In Linux and OSX we use sensible line endings while on Windows we use two characters. File path separators are also different. Join the monsters as they look at how to handle that. 

References: 

The amazingly long github bug for getting runtime information: https://github.com/dotnet/corefx/issues/1017

The Monsters Weekly - Episode 45 - Generating Complex, Realistic Data For Tests and Prototypes

If you have complex object graphs that you'd like to use in your prototype or test data, chances are you have a swamp load of muck to write to wire those objects up, especially if you want your data to look realistic.

In this episode of the ASP.NET Monsters, James walks us through creating sample data in more complicated scenarios where properties need special weighting of random distributions, where setter methods need to be invoked, or where you need to compose properties and object graphs.  All of this is done with the GenFu library.

See our intro to GenFu here.

GenFu is an opensource project created and curated by the Monsters on GitHub.

You can try GenFu out live on our sample site.

The Monsters Weekly - Episode 44 - Developing with .NET Core on Ubuntu Desktop

.NET Core 1.0 is officially released and Monster Dave decides to take Linux for a spin. Join us for a tour of developing with .NET Core on Ubuntu Linux. Watch Dave show off his rusty Linux skills and see how he manages to solve a problem by debugging his test app with Visual Studio Code.

The Monsters Weekly - Episode 43 - 'Hello Bundler Minifier with Mads Kristensen'

In today’s episode, Mads Kristensen sets us straight on the new Bundler Minifier and the direction the ASP.NET team has decided to take in the default project template. Mads takes us through the Bundler Minifer, what it is capable of, how it differs from System.WebOptimization and Gulp, and most importantly why it exists in the first place.

The Monsters Weekly - Episode 43 - 'Hello Bundler Minifier with Mads Kristensen'

In today’s episode, Mads Kristensen sets us straight on the new Bundler Minifier and the direction the ASP.NET team has decided to take in the default project template. Mads takes us through the Bundler Minifer, what it is capable of, how it differs from System.WebOptimization and Gulp, and most importantly why it exists in the first place.

Looking for the repo we were talking about in the show? You can find it here on GitHub.

The Monsters Weekly - Episode 42 - Goodbye to Gulp

A special guest episode with fellow Canadian ASP.NET MVP Maxime Rouiller. In this episode we talk about how the ASP.NET Core team have been pulling back on some cool technologies, especially gulp. Watch to see if we think it is a mistake.