c# - how to create a single webapplication as a sub domain for many companies -


i working on project can subscribe company name , can use features of site specificly company. example company abcd can own url our website like

www.test.com/abcd/productlist.aspx

company efgh can login own url , see product list.

www.test.com/efgh/productlist.aspx

can 1 me how can implement site best approaches

i thinking on approach use global.ascx file distinguish companies, write code extract company name url in global.ascx every valid request , in pages put this.form.action = request.rawurl.

is there other approaches? if implemented type of feature, please let me know approaches.

thanks

if you're working asp.net 3.5 sp1 should investigate new routing engine has been introduced mvc project. make clean solution.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -