Here is what I have in my Configure Method:
app.UseIISPlatformHandler(); app.UseMvcWithDefaultRoute(); app.UseStaticFiles(); if(_environment.IsDevelopment()) { app.UseDeveloperExceptionPage(); }
I have a _Layout view and an Index.cshtml view that renders fine.
I tried to make the Index View strongly typed.
@model MyApp.Web.Services_Util.MetaBuilder
I get no exception page I get nothing actually. When I view the page source it's completely empty. just to test I tried to
use just type string >> @model string
It fails just the same
thanks in advance!