your creating a class library using VB and happen to reference the System.Web namespace. Asp.Net is just a framework to handle web requests, nothing more. webforms is a rendering engine to generate html for the asp.net requests.
it's a subtle but important difference. Alot of new developers confuse asp.net for a programming language rather than a framework. This may also help you understand other frameworks like MS MVC, MonoRail, Web Client Software Factory, etc.
you also do not need to create a website to create an assembly which references Session. Simply reference the System.Web assembly in your project. But to test this you will need an HttpContext which requires a web request.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.