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
Source Code 583537 1280

Quick Tip: Serving media from a live environment

So with all our projects at TRES, we don't want to store all the media in source control. But if we are working locally we want to have media visible. This means many developers download media from the Test environment and then run the site. This is quickly done for a simple site, but sometimes our sites contain Gigabytes of data. 

So why not manipulate the media URL to point to our test environment?

Continue Reading

Clean up your umbraco application with no ftp access!

Having FTP access to your Umbraco application can lead to problems, such as changes being made without version control that can be lost in deploys and pipelines. But without FTP access, how can you clean up your application? Johan's hear to help, showing us how we can use MS Web Deploy and a publish profile to clean up unwanted files without FTP!

Continue Reading