deployment - ASP.NET: How-to share resources (membership, libraries) between web applications -


I am trying to create a small intranet, for that I have a webserver on the local PC. The root of this website is one There will be a dashboard and it will include login / registration functionality (default ASP.Net membership).

 http: // localhost http: // localhost / account 

The rest intranet will include sub-applications such as:

 http: // localhost / applicationName 

The original website, and most sub-applications, will require authentication. I am using the default ASP.NET subscription provider for the user.

All projects (Root and Sub) are separate projects in Visual Studio, and their web-site project for deployment in each project.

1.) How can I use ASP.NET subscriptions in sub-applications?

In addition, most applications (root and sub) will use 3rd party libraries (data framework).

2. How can I reference the library in the root-project and use the library referenced in sub-applications?

Thanks for any suggestions!

Generate your common code in class library projects that can be used from multiple web projects. For the membership provider, I think you will need to store subscription data in external SQL instances (which can be on the same server) and then use only that connection string to access it in each project.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -