How to develop program/website and minimize DB dependencies using C#.NET? For example I have made some changes in my DB, after that I must rewrite half a project.
have a website with MasterPages, on load master page has many database roundtrips and logics implemented.Now, if move to one page to another, the MasterPage get reloaded and all the above mentioned procedures processed again, which again takes a lot of time and as a result my website's response is very slow.For eaxmple, once the default page is loaded, all the child pages can load within the centent area (in ajax style).
tell me some workaround to optimize the site so that it doesn't this procedures repetitively.
I have been doing some research on this topic, and I've come to the conclusion that it's a terrible spot to be in.
Basically, through "business logic," as it was called in another thread, we have a website utilizing both VB and C# throughout. We are running production code with several developers without any kind of source control. All project updating and propagation is done through file system copies, backups and overwrites. I recently stepped into this mess and thought it would be a good idea to implement source control. After installing and setting up Team Foundation Server 2010, I quickly discovered it is impossible to add a website to TFS source control, mainly due to its "projectless" nature. After attempting to create a web project, I now understand the impossibility of creating one assembly from aspx pages compiled from different languages.
My question then becomes, what is the best solution? The vast majority of the code is haphazard (to say the least), so creating two separate projects would be difficult in that there would be a huge amount of reference updating that would need to be done, and the deployment aspect might be nightmarish, though I'm not too sure about that. Consolidating to one language, while everyone seems to agree would be nice, would probably require months of time and thousands of lines of rewritten code. The final alternative seems to be simply putting off adding the project to source control altogether, until a solution for the two-language dilemma can be addressed.
Is it possible to just add the source files to source control? Or would that be more of a hassle? Has anyone ever tried to create one website out of two projects with separate languages? How difficult is that to deploy and maintain? Is our best bet simply to consolidate to one language?
I wish there was a better mechanism for handling multiple languages in a web project. It doesn't seem like a completely outlandish idea (itis supported in web sites), but it seems like it's being treated like it's at the fringe of web application development...
The title says it all. We had a working website built on framework 2.0 with membership. After we converted it to framework 3.5 using the Visual Studio automated conversion mechanism by opening it in Visual Studio 2008 and following the prompts, the membership system is now broken. Dammit, all we wanted was some newer AJAX. The rest of the site appears to be functioning fine, but when it comes to logging in or managing security on the site, it fails.
So the errors we receive when trying to manage security via the built-in admin pages, seem pseudorandom; everything from 'user cannot log in to database' to 'this file is being used by another process' to 'there's a problem with your datastore'.
I am not sure if I am using the correct terms. But it is possible to create an asp.net website at least three ways.
1) Where the form and code behind code are in the same file 2) Where the form and code behind code are in separate files, resulting in 2 files for each page (*.aspx, and *.aspx.vb) 3) Where you upon the site up as a project, but insert web pages. This approach results in three files per page (*.aspx, *.aspx.designer.vb, and *.aspx.vb)
My problem is I have a site which is done the third way and I would like to switch it to the second. Is there any automated way to do this, or do I have to do it page by page. What I can do is Open a new site with Create Website, insert a page, and then do some copy and paste.
i want to convert my website built in vs 2005 (2.0) to vs 2008 (3.5) application.could u plz send me simple and precise steps...i tried out what microsoft ppl are saying...but i m not getting that prompting message ("do u want to convert all webs to .net 3.5"), when i open my application in vs2008..
I need to convert my asp.net website to Arabic on a button click. My website renders data from database and also html tags. I am aware that i can achive this using google translator, But I am not looking for that.
Below is my requirement.
My site will load in english as default languge and there will be an option(may be a button) to convert the site content to arabic. I need to achive this with minimum time.
Im working with a complete website that was made quite a few years ago, and need to make it functioning with the most recent version of asp. I have no previous experience with asp.net
I have developed a asp.net website.Now what i want is that it should be multilingual.I don't want a page to be multilingual.I want the whole website to be multilinual.I used the Culture settings as
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("zh-HK"); System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-HK");
This is the setting i used for the culture but my website didn;t got converted.I searched a lot on google but not able to find any solution.Also the resource files process a bit too hard Please let me know how i can achieve this.Using some free third party tool or some jquery or some javascript code or some asp.net implementations which i can complete quickly.
I know that in a web site project VWD will cram all the files into 1 specified folder which holds all the peices of your site together in a nice little container.
However, in a web based application (rather than web site) you have a similar folder but it contains a solution file; people often say this has more advantages, but from my early days of learning what would those advantages be?
I got this error in a project I did a while back. I think this was a web site project that i converted to a web app project. This was a while ago. This is an app I'm trying to run on my local machine. I'm not using IIS.
Does anyone know what this means?
Error 2
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
C:UsersKristDocumentsVisual Studio 2008ProjectsWeb AppsKrist Woodard .net tabbedWebApplication1WebApplication1Web.config 46
I have seen many of website are displaying RSS Feeds on their website. Example:
[URL]
What i observe is Google is even giving them good rank despite of duplicate content. What i want to know is... How can I find RSS Feeds? Also where can i found RSS Feeds for Yahoogroups?
I am going to develop a website in ASP.NET in which users can submit article for this i need a CMS(Content management system ) to handle their article and users comment. which CMS will we good and simple.
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?
After following the instructions in Scott Guthrie's blog for converting a web site to a web application project, I am getting many, many errors. Most are either 'Name <control> is not declared.' or 'Type <type> is not defined.' And most, but not all of these errors are in the same .vb page.
what I'm looking to do is to get a web site search function where I can enter the URLs and body text myself rather than running a spider unless the spider can handle my url querystring structure. Obviously, something automatic would be best but I'm not too choosy as long as it is free.
i want to find out the websites that are people are coming from when they come on my website. so lets say someone comes from [URL] or [URL] or someone came through email or somewhere else. how can i do this?
i need to find out what are the details of the processor the server has. i need to know which kind of processor, type of OS, RAM etc. i've got a reply from one webhosting company: "This is a shared hosting server, it is a dual processor (quad core xeon 2.8) 16Gb ram, mirrored 300GB SAS15k drives"how can i get those details on other servers without the webhosting company telling me?