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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:57:35+00:00 2026-06-04T15:57:35+00:00

SO I have a HUGE C#/ASP.NET application that is now getting re-appropriated for other

  • 0

SO I have a HUGE C#/ASP.NET application that is now getting re-appropriated for other projects. I would like to change our project specific namespaces to something more generic.

Using the right-click refactor on the namespace name only globally changes imports for that specific file. This will be a huge ordeal by hand. Is there a better way to do it than just carefully done find and replace?

Also, we use codebehinds so front-facing aspx pages will also have to change their imported namespaces.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Read.aspx.cs" Inherits="ProjectSpecificNamespace.Read" %>

and of course the cs file imports and any references in inline code pages will also have to change.

  • 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-04T15:57:36+00:00Added an answer on June 4, 2026 at 3:57 pm

    If you have ReSharper you can change a folder name, and then “Adjust Namespaces” – if you want to change the default namespace of an entire assembly, you can edit that setting in the project properties, and then adjust namespaces. You can adjust all namespaces in an entire solution with one click this way.

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

Sidebar

Related Questions

We have a huge ASP.Net web application in C#. It is now required that
We currently have a Live ASP.NET application (Basically a CMS) running on our IIS7
i have to modify an asp.net application. The app consists of an huge gridview
We have a huge ASP.NET web application which needs to be deployed to LIVE
I have to handle a huge amount of data in my ASP.Net MVC application.
I have a huge checkbox list with different levels and I would like to
My clients are trying to revive an ASP.NET 1.0 application (yes, you read that
Background: I have a website that has been built with ASP.NET 2.0 and is
Background: I have a project that is not at all large scale (2 ASP.NET
My ASP.NET application is a download application (no pages) which reads huge binary files

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.