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

  • Home
  • SEARCH
  • 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 8829373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:49:12+00:00 2026-06-14T07:49:12+00:00

If an ASP.NET application contains classes then there are two options: 1) put the

  • 0

If an ASP.NET application contains classes then there are two options: 1) put the classes in the appcode folder or 2) Create a separate class library.

I have found many web pages that discuss the benefits of option 2 and I was already aware of these benefits e.g.

1) The Business Logic layer is separated from the presentation layer
2) Code can be shared between multiple client applications e.g. an ASP.NET website and a VB.NET application client.

I cannot find any web pages that discuss the benefits of option 1.

My question is: are there any benefits to option 1? Am I over thinking this?

  • 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-06-14T07:49:13+00:00Added an answer on June 14, 2026 at 7:49 am

    Are there any benefits to using App_Code?

    It’s a bit subjective, but in general, Web Application Projects scale much better than Web Site Projects.

    As far as I know, the only benefit of Web Site Projects is that you can change App_Code files with out having to recompile them. But many (myself included) don’t like that because it makes it possible to change code on a live web server, which is almost always a bad idea.

    App_Code or separate class library?

    It depends. If you need to use these classes in multiple projects, create a separate class library. If you only need it in this particular web site, App_Code is perfectly acceptable.

    See Web Site or Web Application? and Web Application Projects versus Web Site Projects in Visual Studio for more information.

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

Sidebar

Related Questions

I've built an ASP.NET application and noticed that my /App_Data folder contains two files:
I have created an Asp.net application. It contains a folder called PDF and a
I am developing an ASP.Net VB Web Application The application contains a GridView which
A simple question. I have an ASP.NET web application which contains several assemblies and
In ASP.NET Application. I need to return string (which contains all necessary html tags)
My application uses asp.net 4, C# and Entity Framework. My database contains a table
I have an asp.net application and I need to have two sessions running at
Is there a way for my ASP.net Application to know if it's running within
The situation: a workflow hosted in ASP.NET application using WorkflowServiceHost and contains durable delay
I am trying to create an ASP.NET MVC application, using Spring.NET to inject dependencies.

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.