Visual Studio :: Remove #Region From Whole Website?
Aug 21, 2010
I need to deliver source code to client and my boss need to remove all the comments and #region sections from the whole web site source code.
So is there any functionality available in visual studio 2010 or may be in an other 3rd party tool available to do so, which can remove all the #region from all over the source code ?
Otherwise my developers has to do donkey work.... :(( and I don't wish it.
So I have two file for every .aspx page in VS 2010.
In .aspx.cs page I am able to add regions in my code using:
#region Name Region #endregion
My questions:
How to do it in file .aspx? #region seems working only in .cs file. organize better my code both for .aspx and .cs file? Do you know the keyboard shortcuts to expand or collapse all my region in my code?
I tried to install Visual Studio Prof 2010 trail version in my system, but i got an error saying 'Please remove/uninstall Visual Studio 2010 load test controller' to proceed installation. i uninstalled my previous VS2008 software from system and i could not find anything like 'Remove/Uninstall Visual Studio 2010 load test controller' software in my Add/Remove Programs.
Just as the subject says, my VS'05 installation hangs when trying to create a new website. I even installed a fresh version of VS08 along side '05 and '08 is doing the same.
I created a service which will fetch data from the DB and sent it another application . For insatlling that service i use a insatll.bat which has the following line Serive_fech.exe -i and for unistalling Serive_fech.exe -u . When i insatll i can see the service listed in task manager . But when i stoped or restarted that service its not removed from the list . How to remove that. I have build the application using 3.5.
I'm trying to remove the navigation bar from VS2008 to speed things up. I've gone to Tools > Options > Text Editor and disabled the "Navigation Bar" option for every language under. Unfortunately, the bar is still there, every time I open a file (including after restarting VS).
Many times I remove in the code window (Using Replace and Regular Expression). Is ther a quicker way of doing this without writing a macro? The best way would be a shortcut key.
My client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.
I've copied the code to test web server (2008) and installed VS 2008 so I could step through the code on the server due to some weirdness.
Anyhow, when I open the solution locally on my personal computer, it runs on Cassini [URL] because I'm not on a server OS. However, when I run the app on the web server, when I hit F5, it runs oh [URL].
When I'm running the code on the server, how do I point the web site to use Cassini?
Just to avoid misuse of website i have to make it specific for certain region. Like people could view menu across the world and only the people of mumbai can order online. I want a submit button that would be visible to only mumbai people.
I setup my server and Iam able to use VWD "copy website" function to move files from my local computer to my server.But is the "copy website" function not secure? When I setup my connection "by selecting FTP site" I have to enter my FTP username and password, VWD states that the password is sent unencypted in plain text and it can be intercepted.So is it bad form to use the "copy website" function?
I have seen ASP.NET MVC Without Visual Studio, which asks, Is it possible to produce a website based on ASP.NET MVC, without using Visual Studio?
Here's an analogy. If I want to create an ASP.NET Webforms page, I load up my favorite text editor, create a file named Something.aspx. Then I insert into that file, some boilerplate:
[code]....
And that is a working ASPNET page, created in a text editor. Drop it into an IIS virtual directory, and it's working.
What do I have to do, to make a basic,World ASPNET MVC app, in a text editor? (without Visual Studio)
Suppose I want a basic MVC app with a controller, one view, and a simple model. What files would I need to create, and what would go into them?
I'm trying to compile (using Visual Studio) an ASP.Net website with the Chilkat library. The compilation fails due to this error: Could not load file or ssembly 'ChilkatDotNet2, Version=9.0.8.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I've been told that this error occurs because of platform noncompliance. The weird thing is that although the compilation fails, the site works once accessed from a browser. My theory is that the IIS compilation uses csc.exe compiler from the Framework64 (64 bit) folder while the Visual Studio uses csc.exe compiler from the Framework (32 bit) folder. If this is acually it, how can I configure my Visual studio to run with the 64 bit compiler for ASP.Net sites? This is my current development configuration: Windows 7 (x64). Visual Studio 2008 Pro (x86 of course...). Chilkat library (x64) IIS/Asp.net (x64).
Am new to ASP.Net. There are two options (Web application and Websites) available while developing projects in web. I have the confusion of which one is better in web.
I started working on a website using 2010 Express. However, the hosting company that I am using hasn't fully implemented .NET 4.0. I'm wondering if there is a way that I can save my website for compatability with 2008 express. Then I can finish and publis using 2008 Express.
I have several hundred html files that I want to remove the <head></head> tag from and all information contained in the tag. I am fairly sure I can do this in Visual Studio using the Find and Replace In Files with REGEX.