Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4062452
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:36:01+00:00 2026-05-20T15:36:01+00:00

Suppose I created a custom web application that consists of: several assembly DLLs: web

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:36:01+00:00Added an answer on May 20, 2026 at 3:36 pm

    The only real way to do this would be to use the layouts folder to deploy your application via the wsp. This will let you depot any files that you would normally deploy with a.web application.

    There are couple of problems however. The URL for your application will be http://SharePoint/somesite/_layouts/yourapp

    This is a blessing and a curse. Your urls will be ugly but they will work under every SharePoint site. If your application depends on SharePoint context to function, that context will automatically be available based on the requesting URL.

    To add a layouts folder under your share point project right click on the project and add a mapped folder to layouts. I would also recommend adding a sub folder under layouts for your application so that your application files don’t conflict with the default files directly in the layouts folder.

    For the http module, or any web.config modifications, you can use the spwebconfigmodification class.

    Heres a walkthru: http://sharepointsolutions.blogspot.com/2006/12/using-spwebconfigmodificat_116736917110571614.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose an application with some forms and only one data module are created at
Suppose I create a Windows Azure application that consists of multiple instances talking to
I've created a custom view that loads its content from a nib, like this:
I have created a custom control (based on a panel) in wxPython that provides
I have created a series of custom jQuery events for use in mobile web
I created an application to show a datagrid with a custom column in Flex
Suppose I have a junit custom class loader, which reads the test data from
What is the best practice for releasing a simple software? Suppose I created a
Suppose I have created a UIView , MyView , in Interface Builder, and I
Suppose I want to create a set of observers based on type. That is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.