Analyzing An Inherited Website Solution?
Jan 4, 2010
I have "inherited" an ASP.net 2.0 VB project and have been given a list of items the customer wants changed. This is not my original work, I've "inherited" it from another coder who went AWOL. The customer just wants the site to work, but has found a few issues that need to be changed. Unfortunately, the project is over budget and is about a year overdue. Thus, there's no time to update it to .Net 3.5.
I started using Reflector and have a fair understanding of the classes and methods defined. What techniques have you used when modifying an existing codebase? Do you re-create according to your practices and methodology, or try to adhere to what the previous coder did?
View 1 Replies
Similar Messages:
Jan 7, 2011
I want to put my website project and admin website under same project as I want to use session and authentication of the main site. Also I want to show the admin, the page, where he has made changes. But the problem is whenever I will change anything in admin pages, I've to build the entire website. I don't want to do that. Can I build that separately?
I don't want to choose the option of building all pages separately as well.
Is there any alternatives of doing that. Separate projects for admin and website will come up with many other challenges. So I would like to avoid that.
View 2 Replies
Jul 4, 2010
I'm trying to edit some code in a website solution which I have opened in vs. I notice that there are only 3 files showing and it doesn't have a web.config and it uses a popup box when I debug it instead of opening up a webpage like default.aspx. I see that I have to use debug.write and not response.write as I normally would. How can I see my debug.write statements?
View 1 Replies
Apr 24, 2010
How to make new project and website into only one solution?
View 2 Replies
Feb 25, 2010
Is to possible to make a configuration entry (web.config). That automatically compiles a referenced project(for example a class library) when the site runs? This would be easier for me to maintain on my hosting server. Otherwise i have to always recompile the files and upload them again for every small change.
View 1 Replies
Mar 19, 2010
I have one of the .Net site running and want to implement web-parts on that site. well I am not using (aspnet_Users, or aspnet_Membership) defaults tables from aspnetDB but I have my own login controls and create new user contols ect on the site. so in short I have the users uniq ID when logged in from our corporate database nothing similar to aspnetDB.
Hecen want to know can I impelemt webparts in the existing site by just importing the tables from aspnetdb like (aspnet_PersonalizationAllUsers, aspnet_PersonalizationPerUser) to my database and what else I will require apart from these tables?
1. which list of store procedures I should coopy?
2. Any modification to my web.config?
3. Are their any functions/classes which I might have to copy to my App_Code folder to work these webparts with my exisitng site and userdetails
Is it possible ?
View 1 Replies
Nov 24, 2010
I just published my website to my webhost, and for some reason it's giving me errors. So I copied the solution and it works correctly.
What could the problem be? I think a possible problem may be that there's a process that creates a directory so it can copy files. By copying everything from the solution to the ftp, everything works correctly. If I publish the site, it somehow does not create the directories.
Is there something I'm not doing correctly? I've published in a local folder, and then copied to the FTP. I've also published directly to the FTP. Neither of them work.
View 2 Replies
Feb 24, 2010
this seems to be a problem only on my new PC, not my prior PC or my coworkers PCs. But, as far as I know, I have installed VS2005 the same way, including the VS80-KB915364-X86-ENU.exe and WebApplicationProjectSetup.msi additions.
I have a VS2005 Solution called 'Intranet' made up of several web projects. One of those web projects is also called 'Intranet'. All of the projects should load as Web Application Projects, which they did on my prior PC.
Now, the 'Intranet' project seems to be opening as a Web Site project. The name of the project in the solution now shows as "C:...Intranet" instead of just "Intranet" and is not recognized as being part of the SourceSafe project(no lock icon shows). If I right-click this project, "Build Web Site" is one option.
View 3 Replies
Apr 4, 2011
In development, our Asp.Net 4 website takes a fairly lengthy time to start after the project libraries are built
We do a fair amount of population of statics etc, but not enough to justify the length of time it takes the app to come up (probably 3-4 minutes)
We aren't building the website, just the libraries, and batch != true in the compilation element in the .config file.
I will try log some diagnostics, but any other pointers would be useful
View 2 Replies
Nov 18, 2010
How to access proxy class of a web service which has been referenced in the website project of a solution within a class library project in the same solution?
I mean no web-service reference/setting is added to the class library and instead it needs to be picked from the web project.
View 1 Replies
Oct 2, 2010
I have two websites (one asp classic and the other asp.net) which we would like to implement some kind of security based on the client's hardware. We want something other than a password which could be shared. The purpose is to be sure access to information on the websites is not shared.
We were contrmplating storing hardware info in our database and validating against that upun website entry.
I have been looking into ActiveX (it would be acceptable to limit our users to IE), although we do have users who would like to use I-Phones. I have done no ActiveX development myself but have found a few articles on the web about ActiveX but that whole approach looks complicated. And also there seems to be a 64bit issue making it even more difficult.
So, I wonder if anybody has any advice as to what the best options might be for securing the website access in a way that would prevent sharing?
View 1 Replies
Aug 28, 2010
i have two solutions, 1st one is webapplication, 2nd one is website.
the 1st soltions (webapplication) includes aspx pages, user controls .... etc.
the 2nd solution (website) also includes pages, user controls ... etc.
now i need to combine between those, so i copy the webapplication inside a folder in the website, and i put the DLL's for the webapplication inside the main Bin folder, and the theme's like so.
but after that, i make some changes in the source code of webapplication, i build the solution, but the new source code updates doesnot appear in the run time !!!! its still running the code before i make combination !!
does that because i make the 1st solution as a webapplication ?
how can i convert the 1st solution to a webapplicatoin? or in other words how can i make combination between webapplication and website to run as one solution?
View 2 Replies
Feb 12, 2010
I can't get my .aspx page to recognize control events in it's codebehind.
[Code]....
which is fine, but I don't want to use inline script.
[Code]....
View 6 Replies
Mar 20, 2010
I'm trying to create a .NET solution and add class libraries to it. First - in VS2008 I go to File > New > Project > Other Project Types > Visual Studio Solutions > Blank Solution. Then - after VS2008 creates the blank solution I right click on the solution and select Add > New Project > Visual C# > Class Library. However, when I add the Class Library to the solution, the solution icon disappears from Solution Explorer (although the solution name is still in the VS2008 title bar). Why does the solution icon disappear
from the Solution Explorer when I attempt to do this?
View 2 Replies
Sep 10, 2010
I am stumped by a serious issue in Vs 2008.
I created a Blank solution called HelloWorld.Then I added a new Class Library project by the name of HelloWorldService.After creation of the
Class Library project the Solution name disappeared from Solution Explorer.
As a result of which I can now only add new items into the Class Library project but cannot add new item to the solution.
This appears to be a pretty old problem as I found it in another link on the internet.
[URL]
It seems to be a bug.Has MS released a patch or a fix for this.
View 6 Replies
Jun 30, 2010
We have a website which is already deployed in the production server. We need to remodify the application and then re-deploy it. But we do not have access to the code-behind files as everything is compiled into a dll.
View 1 Replies
Feb 12, 2010
onething is not clear to me that in asp.net 1.1 there was asp.net project type but from 2.0 there is no asp.net project type option rather
there is option called website. in website type project no solution is created and no link is created with IIS.
why microsoft design in this way from 2.0. i think there must be soldin reason & advantage behind it.
View 4 Replies
Nov 8, 2010
I am trying to implement a search solution for my website and was wondering whether there are other good search solutions I can use apart from adding a Google search box
View 1 Replies
Mar 11, 2010
It may be obvious to everyone. I am learning this: what is difference between build solution and build website
View 2 Replies
Sep 5, 2010
So I'm coding up a simple blogging/content application in MVC2. In my EF domain model I have an abstract entity named "Resource" which serves as a base class for any content that can be published. I have entities named "Picture", "BlogEntry" and "Event" which all inherit from "Resource".
My problem is, it seems it doesn't make collections for Pictures, BlogEntries and Events. I only have a collection of Resources. How can I get collections of the inherited classes? Is it something I'll have to create myself? If so, how?
View 1 Replies
Feb 26, 2010
This is my first post in this forum and I want to congratulate all the ASP.Net MVC team for this great framework.Somedays ago, I saw the new ASP.Net MVC 2 Model Validation, following the instructions from Scott Gu blog...I found something interesting that I don't know if it's an expected behavior or a bug.My Model class is inherited, so I have something like this:
[Code]....
I have an descendent of this class with some more properties, and the validators for ASP.Net MVC:
[Code]....
Then I found that the Client validation don't work for the inherited property
View 11 Replies
Feb 16, 2011
I have created inherited textbox control using windowscontrol library project.the code is here:
Public Class MyTextBox
Inherits System.Windows.Forms.TextBox
Public Property sanText() As String
[code]...
View 1 Replies
Jun 24, 2010
I implemented a lot of ASP.NET controls inheriting controls from existing control library. My problem is that I can't use existing library themes/ skin files for skinning my controls. Is there a way to use existing skin files in inherited controls? Changing parts or renaming skin files is not an option. I could read data from skin file and then apply it to control programatically. Is there some kind of API for reading skin files?
View 1 Replies
May 26, 2010
<div runat="server" enableviewstate="false">
<div runat="server" enableviewstate="false"></div>
</div>
What happends if I won't set the enableviewstate property for the second div. Is it inherited from it's parent or not ?
View 1 Replies
Mar 26, 2011
i want to disable validation controls on some conditions. how can i find that a control is inherited from "BaseValidator"?
note all validator controls are inherited from BaseValidator (+)
View 2 Replies