For all work enquiries please contact me on 07990 523015 or visit www.lanilogic.com.
Posted on Sunday, January 8, 2017 at 11:48 AM
into csharp, code & gotcha
by Steve Woods.Roughly a 1 minute read.
Pretty simple really - you're not calling the correct method to render your partial views.
You need to use:
@await Html.PartialAsync("MyPartial", Model);