Asp.Net 5 Authentication cookie is reset after every rebuild – How can I truly persist it?

I have a problem with an Asp.Net 5 application I’m currently developing. Essentially it’s an anonymous page with user-attached data, so I’m very much dependant on having a persistent and reliable cookie to identify a calling user. Therefore, I have also checked how I need to configure cookies, and put them on a very long expiration timespan, and made them persistent.

Beginner – ASP.NET Core – How do you deal with images and similar media in a back end?

I’m new to back end programming with ASP.NET. I’m wondering how to deal images that are either taken with the users camera or just uploaded with their gallery. At the moment I have a nice little ‘DeliveryItem’ object with things like Strings for name and Ints for quantity and all that, but essentially what I want now is public image ItemImage { get; set; }.