Website to Track Project's Progress This ASP.NET MVC website is for my professor to track my progress on my Checkers app.  This is the first time I have build an ASP.NET website entirely on my own, and I would like a review to make sure I am doing everything in the best way possible.

First, my HomeController:

public class HomeController : Controller
{
    private T Deserialize&lt;T&gt;(string filePath)
    {
        var jss = new System.Web.Script.Serialization.JavaScriptSerializer();
        var data = System.IO.File.ReadAllText(filePath);
        return jss.Deserialize&lt;T&gt;(data);
    }

    public ActionResult Index()
    {
        var announcements = Deserialize&lt;ListOfItems&lt;Announcement&gt;&gt;(Server.MapPath("~/App_Data/Announcements.json"));
        var latestAnnouncement = announcements.Items.Last();
        if (DateTime.Now.Date.Subtract(TimeSpan.FromDays(7)) &gt; latestAnnouncement.AnnouncementDate)
        {
            latestAnnouncement = null;
        }

        return View(latestAnnouncement);
    }

    public ActionResult About()
    {
        return View();
    }

    public ActionResult Contact()
    {
        return View();
    }

    public ActionResult Reports()
    {
        var reports = Deserialize&lt;ListOfItems&lt;BiweeklyReport&gt;&gt;(Server.MapPath("~/App_Data/Reports.json"));

        return View(reports.Items);
    }

    public ActionResult Resources()
    {
        var resources = Deserialize&lt;ListOfItems&lt;Resource&gt;&gt;(Server.MapPath("~/App_Data/Resources.json"));

        return View(resources.Items);
    }

    public ActionResult Announcements()
    {
        var announcements = Deserialize&lt;ListOfItems&lt;Announcement&gt;&gt;(Server.MapPath("~/App_Data/Announcements.json"));

        return View(announcements.Items);
    }
}


My models are as follows:

First, a generic class for easy serialization of a list of items:

[Serializable]
public class ListOfItems&lt;T&gt;
{
    public List&lt;T&gt; Items { get; set; }
}


And a set of items to serialize.  To keep this post slim, I will only post one:

[Serializable]
public class Announcement
{
    public string Title { get; set; }
    public DateTime AnnouncementDate { get; set; }
    public string Content { get; set; }
}


My views are all either static information or a simple iteration over a list of data; here is my view for the above model class:

@model List&lt;Announcement&gt;
@using ITM3804Website.Models

@{
    ViewBag.Title = "Announcements";
}
&lt;h2&gt;@ViewBag.Title&lt;/h2&gt;
&lt;hr /&gt;

@{
    var orderedAnnouncements = Model.OrderByDescending(x =&gt; x.AnnouncementDate);
    foreach (var announcement in orderedAnnouncements)
    {
         &lt;p&gt;
             &lt;strong class="announcement-title"&gt;@announcement.Title&lt;/strong&gt;&lt;br/&gt;
             &lt;i&gt;@announcement.AnnouncementDate.ToString("MMMM d, yyyy")&lt;/i&gt;&lt;br/&gt;
             @announcement.Content
         &lt;/p&gt;

        if (announcement != orderedAnnouncements.Last())
        {
             &lt;hr/&gt;
         }
     }
}
I want to talk about your View while I'm on mobile and thinking about it. Just like regular C# code we should definitely define structure for our Razor code. The first thing that rubs me wrong is that @using statement. I really don't like it because you only need it for the @model declaration at the top of the file. I would just get rid of it and explicitly specify the model full type. 

Next, I really don't like the @{ } block with the foreach and such in it. Generally I just prefer to prefix each code block with @whatever instead. This helps create a more consistent convention throughout. (Right now you mix code and @code in your view which is generally bad.)

As far as the HTML itself, we've started leaning more on CSS to do the styling for things, so elements like strong and i should be span class="title" then in your CSS .title would have font-weight: bold;. 

Let's talk about your serialization:


private T Deserialize&lt;T&gt;(string filePath)
{
    var jss = new System.Web.Script.Serialization.JavaScriptSerializer();
    var data = System.IO.File.ReadAllText(filePath);
    return jss.Deserialize&lt;T&gt;(data);
}



You always call it as Deserialize&lt;T&gt;(Server.MapPath(...)), so let's encapsulate that:

private T DeserializeAppData&lt;T&gt;(string file) =&gt;
    Deserialize&lt;T&gt;(Server.MapPath($"~/App_Data/{file}.json"));


Then call it as DeserializeAppData&lt;T&gt;("Reports"). Much simpler, straightforward and to the point. You still have the other Deserialize&lt;T&gt; method, in case you need it for other things.