c# - ASP.Net Application won't start when I make a reference to a class -


i'm working on asp.net application in visual studio , until yesterday worked fine. press "start in google chrome" button , loads page. of sudden stopped working..

this way how should be, because otherwise wouldn't able access methods need:

public partial class inlogform : system.web.ui.page     {         private webshop webshop;          protected void page_load(object sender, eventargs e)         {             webshop = new webshop();         }          //rest of class     } 

yet doesn't load in browser until comment out field 'webshop'.

it has nothing hosts file, checked , if caused that, wouldn't work if comment out field either.

can please me, cause it's kind of important work again, since it's school project


Comments