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 7682913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:40:35+00:00 2026-05-31T18:40:35+00:00

I wonder how to use namespaces in asp.net c# project? I am prepend in

  • 0

I wonder how to use namespaces in asp.net c# project?
I am prepend in classes defined in AppCode

namespace MyNamespace
{
    class code My Class
    {
    }
}

If i do so then I see that in a view where I use this class must include this namespace(of course). Can’t I include this in webconfig to include it all over?
Update:

The reason I want to use namespaces is because I want to create a dll file of files from AppCode so application will run quicker. Even though I see that no dll is built when I build the site.

  • 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-31T18:40:37+00:00Added an answer on May 31, 2026 at 6:40 pm

    If you are using a Web Application and have a Class or ClassLibrary and want to call this class in your code behind “.asc” .

    You can Add Reference in the WebApplication, so you choose the Class in Project tab.
    Then u can call : using Class.namespace …

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

Sidebar

Related Questions

I wonder if is possible to use FTS with LINQ using .NET Framework 3.5.
I wonder how to use autocompletion with inherited class. For exemple i have this
i'm working on a large c# project,i wonder why people use DLLs in their
Suppose the root project has My.Root.Project namespace. I wonder what namespace should be assigned
I wonder why smalltalk doesn't make use of java-style inner class. This mechanism effectively
How would I use the ASP.NET AJAX Controls in MVC3? e.g. Masked Edit Box
this is a question that when programming I always wonder: What to use when
I ran across a comment that made me wonder: If you use a sharding
I wonder how I should use the GTree (from GLib) to store data? Every
I wonder why I should use: puts In folder #{File.join ENV[HOME], projects} Instead of:

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.