Architecture :: Performance Difference Extracting And Copying In Website With C#?

Dec 11, 2010

I have almost 100 website that will update in a condition, I have a winzip archive that contains the files that replaces those websites. I want to know that

I can extract that files in a folder and then copy them to all 100 websites folders

I can extract the archive directly to 100 websites folders

which one is better in performance and less prone to errors

View 1 Replies


Similar Messages:

Configuration :: .Net Website Performance Of 2 Sites - Rectify The DB Performance While Insertion?

Sep 20, 2010

I have developed a website in asp.net framework 2 . This website is being hosted in two different servers without any change in code. My issue is about the performance of these 2 sites. One website is taking much time for inserting datas to the DB (SQL server 2005). 2 websites are having different DB server.

I think the issue is for the DB server. How can we rectify the DB performance while insertion and Is there any other cause for this permance issue?

View 1 Replies

Architecture :: What Is The Difference In 3-tier Architecture And Gereral Way Of Programming

May 20, 2010

I want to know that What are the factors if we use methods on each .cs page for connection and executing query on each aspx code behind page rather then using BAL .

How our application get affected in terms of performance and speed or other way?

when we put our website on server after publish/compile in general approach (using query in C# code behind) rathor than using stored procedures?

then which logic is better and why ?

View 8 Replies

Databases :: C# Vs. PL/SQL Performance Difference?

Feb 17, 2011

I am working on an ASP.NET project that has significant backend processing existing in PLSQL. I was wondering if I re-write this code properly in C# can I get similar performance results or is the PL/SQL code going to beat my C# code every time?

View 5 Replies

Forms Data Controls :: DataList Extracting Extracting And Adding Value To Labels In Template?

Nov 6, 2010

I have a datalist that is populated via and SqlDataSource. Code is VB

I am trying to extract two Values from the Item Templete and add them together. Then I want to add a new Label to the item template with the sum of the two added values.

I am able to to this using a GridView but no success with the datalist

My form code:

<asp:Label
ID="SDLabel"
runat="server"
Text='<%# Eval("SD") %>'></asp:Label><br
/>
SDT<asp:Label
ID="SDTLabel"
runat="server"
Text='<%# Eval("SDT") %>'></asp:Label><br
/>
SDS:<asp:Label
ID="SDSLabel"
runat="server"></asp:Label><br
/>

My VB Code behind Starts out:

[Code]....

View 7 Replies

SQL Server :: Is There A Difference In Performance Between Express And Web Editions

Nov 19, 2010

I would like to build a site and use SQL Express database. Ny question is that is there a difference in perforamcne betweeen Express edition and Web edition?

View 2 Replies

Configuration :: Copying Website From One PC To Another?

Sep 28, 2010

I wanted to transfer the website I was creating on my PC to the laptop so I can show it to other people, but when I try to start the copied website I get the following error: "Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)." File is: MasterPage.master.cs and the Line is: 1.

As the website on my laptop is the exact copy of the website on my PC I don't understand what the problem is and why did it happen.

Am I doing something wrong? Is there any other way of transferring website from one PC to another. I have to add that the website is running on localhost.

View 9 Replies

Performance Difference In Having Huge Javascript Code Against .js File

Dec 9, 2010

We have a .aspx file which has about 400 lines of javascript code. Is it a good idea to have such huge code in its own file? What is the performance difference in having huge javascript code in aspx as against the .js file?

View 5 Replies

Architecture :: Performance Between 3 Or 2 Layer With Linq

Mar 13, 2011

i build online course selection for a university now i want to make it layering and i dont know to make it 2 layer or 3 layer i mean mix business layer and database layer because i use linq so it is not require to check request data that in sql from client in business layer because linq check it autimatically to preent injection and etc.is it right?can i put my class and DB class in same place or layer?if i make it 2 layer the performance becom better?

View 5 Replies

MVC :: Publish Website Not Copying Static Files?

Mar 1, 2011

I am new to MVC. I am using MVC and VS2010. I am trying to publish my website to a remote server. All files are copied except some static pages i have kept inside a folder. for e.g. i have a folder named Content. I have around 5 .pdf files inside this folder and also a .css. When i do Build->Publish <appname> all the files including the .css is copied but not the .pdfs.

View 2 Replies

How To Publish A Full Website Without Compiling And Without Copying SVN Files

Aug 17, 2010

Apparently, DNN installations do not like to be precompiled (they won't be able to find any localized strings then). Our installation is safely put in SVN, which means I cannot just copy the whole directory. To publish everything, I need to copy the whole website directory without the SVN files and directories. So far, I've been messing with good old DOS commands, which is time consuming and error prone.

an MS-Built script or step to do just this? Or can I do this using default Visual Studio 2010 commands?

Note: this is a website, not a web application.

View 3 Replies

Performance Difference Of Code In Aspx And Cs Files For Showing And Hiding Control Dynamically

Feb 18, 2011

I was thinking about the performance when I use code to hide some control in aspx page using delimiters or in cs file. For e.g. If I have a panel and I want it to get shown following some condition, so I can achieve this by two ways

1: Using code in aspx file, something like this

<% if(isAllowed) { %>
<asp:Panel ...></asp:Panel>
<% } %>

2: In the code file, something like this

<asp:Panel ID="pnlMyPanel" Visible="false"></asp:Panel>

And in cs file

if(isAllowed)
pnlMyPanel.Visible=true;

In my view, first way should be good as it will not at all create any Panel in the page. Am I correct here?

View 3 Replies

Architecture :: Object Instances In High Performance Web Applications

Sep 21, 2010

Imagine I have a class MyTestClass. And I need an instance of this Type throughout my whole web application.Now there are several possibilities to accomplish this.1. Make MyTestClass static, make it contain static methods only
Probably the most performant solution. I'm not feeling lucky about using static fields though. Thread safety? What if my static class contained a static System.Collections.Queue?

View 8 Replies

Web Application Architecture Performance In Single And Many Assemblies One For Each Tier

Aug 2, 2010

I'm building a new n-tier web application and I would like to know the performance differences between developing my tiers in one single assembly (each tier with its own namespace) or into different assemblies, one for each tier.

View 1 Replies

C# - Reuse Loaded Assemblies In Web-Based Plugin Architecture. Maximize Performance

Aug 6, 2010

Edit: I would like to keep the infrastructure as is, so while the framework ideas are appreciated, please keep your suggestions centered on the context I have provided.

Background

I'm building a web-based application that dynamically loads plugins. Each plugin comes with a manifest file that contains its dll location, namespace, and type.

Right now I'm using System.Reflection.Assembly.LoadFile to load up the dlls based off the locations provided in the manifest files. Then I load the types and so on.

As an Aside:
I may wind up changing to System.Reflection.Assembly.LoadFrom since I'll eventually be loading files from outside the bin directory. But if their is a better way (Assembly.Load or something), feel free to add that in as well

Problem

The problem is that Multiple plugins can potentially run off the same dll. So I wind up executing System.Reflection.Assembly.LoadFile("Identical.dll") multiple times.

I have the idea to check if my assembly has already been loaded by iterating through AppDomain.CurrentDomain.GetAssemblies(), but I don't know if that will help with performance (or if it will work period, I haven't tried it).

Also, I can't keep a list of loaded assemblies due to the project's design constraints (though you may argue that it's a poor design: I can't change it, even if I wanted to OR agreed with you... so please don't press the issue.

Ultimately my goals are:

Don't ever re-load the same assembly twice. Performance is key.

View 3 Replies

Architecture :: Read And Analyze A Very Large Log File With High Efficiency And Performance?

Sep 13, 2010

It is a very large .txt file (more than 3M), and produced everyday, the content is user's system log like below:

2007-11-01 18:20:42,983 [4520] INFO GetXXX() SERVICE START
2007-11-01 18:21:42,983 [4520] WARING USER ACCESS DENIED
2007-11-01 18:22:42,983 [4520] ERROR INPUT PARAMETER IS NULL CAN NOT CONVERT TO INT32
2007-11-01 18:23:59,968 [4520] INFO USER LOGOUT

View 14 Replies

What Is The Difference Between N-Tier And SOA Architecture

Aug 15, 2010

As per my understanding regarding N-Tier and SOA architecture.

N-Tier

N-Tier means dividing application into layers, Example I am developing application in asp.net and I pushed total DB Layer to WCF then it is called N-tier.[Tightly coupled]

SOA[Loosely coupled]

As per my understanding regarding SOA its very generic term and how well we going to loosely couple our architecture then its called SOA. Best example for SOA services - Stock feeds/ weather feeds.

My conclusion:

Even though if we develop application using WCF it does not mean its SOA if it is tightly couple with single client/ or .net applications only can understand about services.

Can you help me in understanding of SOA VS N-Tier.

View 4 Replies

MVC :: Difference B/w Mvc Architecture And Framework?

Oct 7, 2010

i create 3folder in solution explorar,model view ,conroller in view i inclde .aspx formsin model class related to data base and in controller properties .so am i follwing mvc architacture .so what is diffrence b/w mvc architacture and mvc framework

View 1 Replies

Difference Between Three Tier And Three Layer Architecture?

Feb 12, 2011

whats is the difference three tier and three layer architecture. I need three tier architecture which is fulfill the object oriented requirement. and database change flexibility.

View 4 Replies

Configuration :: What Is The Difference Between Copy Website And Publish Website

Nov 17, 2010

What is the differenc between Copy Web Site and Publish Web Site? What are the advantages/disadvantages of each method?

View 6 Replies

Architecture :: Difference Between Repository And Table Data Gateway

Apr 1, 2010

what is the difference between these two patterns?

View 1 Replies

Trying To Add Some Performance Counters To Website?

Jan 12, 2010

I'm trying to add some performance counters to my asp.net website. Now, I know how to increment/decrement some custom counter I make .. but my problem is that if I get my ASP.NET website to create these counters, if they do not exist (eg. i do this check in the global.asax App start method) then add/create them.

But, it doesn't work - access to the registry is denied/forbidden.

I'm assuming this is because the asp.net process is so stripped down (for security) that u can't touch that type of thing. Therefore, i'm wondering if the only other solution is to make a quick console or winform app which does one thing -> add's the perf counters. running this as my normal logged in user would me i have admin rights, so it will work. or is there something else i can do?

View 2 Replies

Cache A Website For Better Performance?

Apr 12, 2010

I am a web designer and usually design corporate web sites which often does not require update. So I want to cache the output for one day. How can I do this?

View 4 Replies

Architecture :: Admin Website And Main Website Under Same Solution?

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

DataSource Controls :: How To Improve Website's Performance

Jun 5, 2010

I had created a web site with asp.net and sqlserver. How can i improve the my website's performance in with regard sqlserver connection?What's your mind about use pool connection? In this regard what the defualt values is set for 'Max Pool Size' and 'Min Pool Size'?What's your mind about use Asynchronous access to data? What's your mind about other ways that you think?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved