The Monsters Weekly - Episode 88 - Inside Compiled Views in the Razor View Engine

Have you ever wondered how scripts are inserted into your layout from a view, or how the debugger knows which line of code you are on when you're using partial views? 

In this episode, Monster James dives into the classes that are generated automatically behind the scenes and ultimately compiled at runtime to give your application the capabilities required to generate HTML for your client.

More reading:

The Monsters Weekly - Episode 87 - Building a Roslyn Analyser

If you've used Visual Studio 2015 then you've used the Roslyn managed compiler. Roslyn is unlike most any other compiler in that it offers a simple approach to adding your own warnings and errors to the build pipeline. In this episode we'll build a simple analyser. Our American friends might know these as "Analyzers".

 

References

C# and Visual Basic - Use Roslyn to Write a Live Code Analyzer for Your API

The Monsters Weekly - Episode 86 - Pugzor

Earlier in November, the ASP.NET Monsters had the opportunity to take part in the ASP.NET Core hackathon at the Microsoft MVP Summit. In past years, we have used the hackathon as an opportunity to spend some time working on GenFu. This year, we wanted to try something a little different.

In this episode, we explore our monstrous creation: Pugzor, an alternate view engine for MVC built with Pug and Node Services.

Related Links:

Episode #82 - Node Services

Pugzor on GitHub

Blog Post

 

The Monsters Weekly - Episode 85 - Suave Web Services

We love ASP.NET but we also love web stuff in general. In today's episode we take a quick look at building a simple service using Suave the F# web framework. 

 

References:

Suave Web Services

suave.io

Chiron

Suave Web Services

Suave is an F# library and web server which makes standing up web services a snap

The Monsters Weekly - Episode 84 - Integration Testing with Entity Framework Core

Entity Framework Core makes it easy to write tests that execute against an in-memory store but sometimes we want to actually run our tests against a real relational database. In this episode, Monster Dave looks at how to create an integration test that runs against a real SQL Server database.

Blog Post
GitHub Repo

Follow @aspnetmonsters

The Monsters Weekly - Episode 83 - A Book on ASP.NET Core

Today we have the pleasure of announcing the release of a new source of reference for building an application in ASP.NET Core MVC.
 
Over the last two years we have had the great fortune of serving the ASP.NET community, sharing in our learning, getting tonnes of feedback and having a great time exploring the next version of ASP.NET.  In this episode, we shamelessly plug the table of contents for our newly released book. Join the Monsters to hear more about what is sure to be a timeless classic, coffee table material in every household.
 
 

Get the Book on ASP.NET Core MVC

Announcing the Microsoft Press “ASP.NET Core Application Development” Book from the ASP.NET Monsters

Buy Now

![ASP.NET Core Application Development](/images/src/ASP.NET Core Application Development.jpg “ASP.NET Core Application Development”)

Through four complete sprints, this book takes you through every step needed to build brand new cross-platform web apps with ASP.NET Core, and make them available on the Internet. You won’t just master Microsoft’s revolutionary open source ASP.NET Core technology: you’ll learn how to integrate the immense power of MVC, Docker, Azure Web Apps, Visual Studio and Visual Studio Code, C#, JavaScript, TypeScript, and Entity Framework.

Working through the authors’ carefully designed sprints, you’ll start with a blank canvas, move through software architecture and design, adjusting to user feedback, recovering from mistakes, builds, testing, deployment, maintenance, refactoring, and more. Along the way, you’ll learn techniques for delivering state-of-the-art software to users more rapidly and repeatably than ever before.

The Monsters Weekly - Episode 82 - Node Services

I can't remember if NodeJS is still cool or if people are only using it ironically now as they port their applications to something else. In either case there are still a lot of great node modules out there which it would be great to access from our ASP.NET application. In this episode we'll look at Node Services an approach to call out to Node from inside an ASP.NET MVC Core controller. 

 

 

Integration Testing with Entity Framework Core and SQL Server

Entity Framework Core makes it easy to write tests that execute against an in-memory store but sometimes we want to actually run our tests against a real relational database. In this post, we look at how to create an integration test that runs against a real SQL Server database.