diff --git a/Website/Startup.cs b/Website/Startup.cs index 8585895..1b87410 100644 --- a/Website/Startup.cs +++ b/Website/Startup.cs @@ -34,7 +34,11 @@ namespace Website services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(); - services.AddMvc(options => options.EnableEndpointRouting = false); + services.AddMvc(options => options.EnableEndpointRouting = false) +#if DEBUG + .AddRazorRuntimeCompilation() +#endif + ; } private void RegisterRepositories(IServiceCollection services) => @@ -46,7 +50,7 @@ namespace Website // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { - if (env.IsDevelopment() ) + if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } diff --git a/Website/Views/Home/Index.cshtml b/Website/Views/Home/Index.cshtml index e7f378f..a023123 100644 --- a/Website/Views/Home/Index.cshtml +++ b/Website/Views/Home/Index.cshtml @@ -1,14 +1,13 @@ @model BlogPostViewModel @{ - ViewData["Title"] = "Home"; + ViewData["Title"] = "Welcome"; } -

Hi, I'm Rob. I'm a senior software engineer at Code Computerlove.

-

If you wish to get in contact, then get in touch via my LinkedIn profile

-
+

Hello, I'm Rob. I'm a senior software engineer at Code Computerlove where I focus on back end development primarily using C#. In my spare time I spend my time riding bikes or making stuff, typically involving an Arduino.

+

This website is primarily an outlet for me to write about things which have been technically challenging, either in a professional or personal capacity, though not limited to that.

+

If you wish to get in contact, then get in touch via my LinkedIn profile.

Latest Blog Post

@Model.Title

-@Html.Raw(Model.ContentHtml) -Posted on @Model.Timestamp -

View more

\ No newline at end of file + +

View more

diff --git a/Website/Website.csproj b/Website/Website.csproj index 911bf12..9ad557c 100644 --- a/Website/Website.csproj +++ b/Website/Website.csproj @@ -11,6 +11,7 @@ +