I am new to ASP.NET. I have a general idea with ASP.NET on how to create a web application? But here I ask a question because I want to apply the best practice for my coding. So, I want to separate the conceptual layers, for example, I want to create a function that checks the session on page_load
if it is empty, than redirecting to the default page. I can do this by copy-pasting onto each new page. But I would like to call a function and not do Copy / Paste.
I am going to create a library for accessing data, as well as connect and perform data manipulations. Is it possible?
I just found this article from googling: Application Archi ...
Can i use this concept?
source share