Blogs

ViewEngine

Themed Based Views - Using a view engine in Umbraco

In our website applications in TRES, we have an option for Mult Site. This means that you can have multiple sites in one Umbraco CMS with a different look and feel. 

But we don't want to have duplicate content types or datatypes. We develop our applications in a way that we reuse a lot of element types for editing experience.

But on some occasions, we need to override the cshtml in such a way that it's completely different than the original. 

You can do this within the view but Asp.NET MVC also has an option for view engines.

Continue Reading
Quick Tip Ngrok

Quick Tip: Debugging Umbraco webhooks with Ngrok

I use Ngrok as a tool to expose my local server to the internet. It helps me by creating a secure tunnel from the public internet to my application on my local machine.

This is extremely useful when I need to test an external web service that is pushing data to our applications. Especially when there is an error with that service in production, or when I can't use it directly for local development. Sometimes the error only occurs in your web application in production mode. Then, it could be a data error where your local environments can't access this data directly.

Continue Reading