Suppose I created a custom web application that consists of:
- several assembly DLLs: web app, business logic, data services
- multiple aspx pages and ascx custom controls that use them
- custom configuration section
- custom HTTP module
More or less the usual stuff.
I would like to deploy it to a particular sharepoint site under a certain subfolder. So if I access my sharepoint site via http://myserver:90/ (because I m not using sites/some_site) I d like my application to be available under http://myserver:90/webapp
I could manually add a virtual folder (not application because I would need to access some Sharepoint site s data) to my sharepoint site in IIS and manually edit site s web.config
file to register my HTTP module and add my custom configuration section as well either putting my DLLs into GAC or put them in the _app_bin (so I don t have problems with CAS), but I don t think that s a good thing to do, because this web application may get deployed in an environment where this shouldn t/couldn t be possible.
So I figured I could build a WSP using Visual Studio 2010 and deploy it that way. But I don t have enough experience doing that.
I created a new sharepoint 2010 project. Is there a way I could add all non-executable application files (aspx, ascx) at once? I ve seen the advanced tab of the WSP package where I can add my DLLs either to bin folder or GAC. I don t know whether I would also have to add any safe control and register certain classes?
So I suppose I need some pretty detailed and explanatory guidance here.