MVVM Vs MVC In ASP.net : Either Better For Busy Websites?

Feb 1, 2011

I'm wondering about the underlying implementations of these design patterns specifically within asp.net. Is there a difference between the two models in terms of scalability of a website (i.e. as traffic increases might I regret following one or both of these design patterns)? I ask as someone once mentioned that MVC produces a 'lighter' website but I can find nothing to back this up.

If MVVM is as good as MVC why did MS release all the MVC tools?

View 1 Replies


Similar Messages:

C# - Migrating Silverlight MVVM To .NET Web Forms

Dec 17, 2010

We have application have been written in Silverlight using MVVM pattern. We need to move some pages into ASP.NET.

View 1 Replies

Configuration :: Use To Copy/publish Websites To Web Server Is Not Allowing Us Access To Push Websites?

Oct 15, 2010

the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199 I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.

View 3 Replies

Ajax Page To Display Some Busy Indicator

Sep 8, 2010

Is there a way with ASP.net page (with AJAX) to display some some of busy indicator (just a label is fine) while disabling some buttons (to prevent double-click) and then do the work. At the end of the work, the label changes to indicate the new status. When I tried to do it this way :

Public Sub BtnEnvoyer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnEnvoyer.Click
BtnEnvoyer.Enabled = False
LblStatus.Visible = True
LblStatus.ForeColor = Drawing.Color.ForestGreen
LblStatus.Text = "Envoi en cours..."
SendEmail()
End Sub
Private Sub EnvoyerCourriel()
' Do some work
LblStatus.Text = "Done!"
BtnEnvoyer.Enabled = True
End Sub

I just see the dn result, nothing in between. I don't mind using javascript to make it work if needed, or anything else for that matter.

View 4 Replies

Change Cursor To Busy While Loading Page

Oct 29, 2010

I understand how to use javascript to change the cursor to busy while the page is making and ajax call. However I have a page that does not use ajax, it uses a postback to reload the page. However the load is rather data intensive and it takes a few seconds. During this time the user can still click on the page. I want to turn the cursor to "waiting" so the user does not try to click on the page. For example I have a couple of dropdowns that cause postback. I make a selection and the page loads for 3 seconds. While it loads I would like the cursor to turn to waiting so the user does not try to make a selection on a second dropdown until the page reloads. Is this possible?

Additional Info: (simplified version of my setup)
I have a masterpage:

<form id="form1" runat="server">
<table width = "100%" bgcolor="White">
<tr><td>
<h3><asp:ContentPlaceHolder id="MAIN" runat="server"></asp:ContentPlaceHolder></h3>
</tr></td>
</table>
</form>
<script type="text/javascript">
function cursorwait(e) {
document.body.style.cursor = 'wait';
}
var fm = document.getElementById('<% =form1.ClientID %>');
if (fm.addEventListener) {
fm.addEventListener('submit', cursorwait, false);
}
else {
fm.attachEvent('onsubmit', cursorwait);
}
</script>

and then a page that uses the master page:

<asp:Content ID="Content1" ContentPlaceHolderID="MAIN" Runat="Server">
<table runat=server id="tb_simple_search_table" cellpadding = 0 cellspacing = 0>
<tr><td>
<asp:DropDownList...
<asp:DropDownList...
</td></tr>
</table>
</asp:content>

View 2 Replies

.NET Busy Indicator - User Take Any Action Before The End Of That Blcok Of Code?

Mar 4, 2011

I want a busy indicator i can use it in my asp.net application ... cause i have a block of code take time to execute and i want to let user take any action before the end of that blcok of code

View 4 Replies

MVC :: Busy Icon While Processing Jquery Ajax Function?

Aug 3, 2010

i use the code for my cascade dropdown list.my JResult function in cotroller doing some complex job.. ( i already fine tune it).based on that function my second dropdown list and some other controls values sets...now i want to show "busy icon" operation while this controller works in background

View 1 Replies

Web Forms :: Show Busy Indicator When Processing During Postback

Jan 28, 2013

Looking for code to show the busy indicator while the operation is doing...

View 1 Replies

Web Forms :: Load Busy Indicator Until Process Is Complete

Feb 1, 2013

I need to show the busy indicator when some action is taken and i should show the time until the process gets completed.

I referred [URL] ..... link and its great.

But i found the code System.Threading.Thread.Sleep(5000);.

I should not add the fake delay as it is my process is long process to run....

View 1 Replies

MVC :: Validation / Getting Firefox Error 'MicrosoftMvcValidation.js :29 Busy Or Stopped Responding'

Jun 16, 2010

I am trying to validate an email address in a textbox, but when I try to type into the textbox, after I have typed more than about 10 characters, I get the Firefox error 'MicrosoftMvcValidation.js :29 Busy or stopped responding'. Here is my code,

Model :

[Code]....

View :

[Code]....

View 1 Replies

How To Show Busy Loading Message With Percentage Download When Form Will Load Using JQuery

Jan 21, 2011

suppose my page content is huge so in my asp.net application i want to show busy icon with percentage downloading the content in client side. i saw many flash and sliver light site that they show busy icon and also they show percentage that means how much content has been loading in client machine. how could i achieve this using JQuery and when page content has been downloaded in client machine the busy icon goes out and actual page content will display.

View 2 Replies

Develop A Page Where Individual Section Will Load With Busy Icon When Page Loads Without Using Web Parts?

Feb 11, 2011

i have seen many site where individual web parts load with busy icon when page loads. without using web parts how can develop a page where individual section will load with busy icon when page loads.

View 1 Replies

Consolidate Several Websites Into One?

Apr 20, 2010

I will consolidate several web sites into one. I have a brief design in mind. Top row: banner sencon row (main menu): home, Applications (drop down-accounting, employeement, sports etc), Your Account In 3rd big row, at left side, there will be links (or just menu listed down) In the middle, there will be contents displayed related to top and left menu. for example, If a user selects application->Sports from 2nd row, then there will be links of Tennis, Golf, Volley ball appeared in the left. if the user click 'Golf' then the center page will display contents related to golf. I am not sure it will work with multiple sitemaps or database driven menu structure etc. How can I do that? Is it a good design?

View 3 Replies

Websites Look Different In Different Browsers?

Oct 29, 2010

I get different outputs in different browsers.

[code]....

View 1 Replies

How To Use C# For Building Websites

Oct 23, 2010

I'm wondering if I should learn everything in C# like what WPF and Win Forms should learn to be excellent web developer or is there specifc C# for the web?

View 3 Replies

How To Speed Up Websites

Apr 15, 2010

im developing some backends in ASP.NET 2.0 and i have put all the images in Cache, GZIPED my CSS, JS files and everything to speedup the load of each options.

the performance its good and i have no problems with the clients but i want "MORE" fast loads and im looking for some recomendations.

Is important to mention that those websites are using only in intranets so im thinking to implement my next projects using IFRAME for content that way (i think) the options will be loading faster because they not have to load the entire site.

EDIT:

im not using viewstates i wrote HTML (code behing) generated controls and use as less as possible ASP.NET Rich controls, all my static contents are in Static vars (Header, Menu, Footer) but im just looking for speed up a litter more.

After compile my website i compress all the HTML, CSS, JS and use less of those files as possible.

but i was seeying others Backend that loads faster than my and the difference is the IFrame control that they use (i think), we check code, design, etc and we use the same (they use #INCLUDES for static HTML instead STATIC VARS with the HTML)

View 5 Replies

Designing Websites Graphically?

Jun 21, 2010

I am still pretty unkskilled with web design and since I am still learning xml/html/asp.net I wanted to pose the following question: I would like to design a site that will need to be graphically well designed and user friendly. Would it be easier to continue learning asp/xml or find a software package that can do most of the hard scripting for me and just have me select and alter; like frontpage or something better?

View 6 Replies

How To Compare The Security Of Websites

Nov 5, 2010

How do you compare the security of websites built in ASP.NET with other websites bulit in other technologies such as Ruby on Rails, PHP..?

View 3 Replies

Get Into Building Websites - HTML / PHP

Oct 17, 2010

im very new to ASP.NET and web based applications. I am very interested in building websites though. a friend told me " if you want to build web sites then forget ASP.NET as that is for applications, stick with HTML" .... but HTML is static code and ASP. NET is dynamic and surely better? the oinly one real thing that gets me though is this "if ASP.NET is used to build Web-forms and web based applications then what good is it for building web sites? ... a web based application and web site/ page are 2 different things? so if i want to get into building web sites for me and other people, what should i need to know? HTML, PHP ect?

View 6 Replies

Add Search Facility To Websites

May 4, 2010

i want to add a search facility to my website. I have many lengthy html files that should be searched. The question is should i insert the text of the html files in a table of my database and search the database or should i search the html files one by one reading them from the disk. Should the search be database based or should i open each file, read it and search it this way using for example regular expressions. What is the usual and best approach?

View 4 Replies

Get Errors While Compiling .net Websites?

Mar 31, 2011

i have a website, i want to place the compile code on the production server, now i took the code on the local machine and trying to compile source code on local machine, but whenever i compile the code, in one of my control(ascx.cs) file i am getting error that the control does not exists in current context, i checked everything, Inherits, CodeFile, even in the code behind(.cs) file, everything is perfect, even i get the control id in the intellisense, when i remove the control and again add the same using intellisense, the errors gets removed but after i publish site, the same error comes again

View 2 Replies

C# - Best Way To Merge Two Identical Websites?

Jun 17, 2010

We have two websites which only difference is in the design (different images, styles, layouts..etc) but the web structure of files and cs code is the same so we want to simplify its maintenance...

The actual structure would be:

DefaultA.aspx
DefaultA.aspx.cs
DefaultB.aspx
DefaultB.aspx.cs
LoginA.aspx
LoginA.aspx.cs
LoginB.aspx
LoginB.aspx.cs

One idea would be changing the design differences at runtime depending of the origin website, but we dont like much this because performance, abstraction in designing them and url confusion...

Another one is sharing the cs (both aspx inheriting and using the same cs) file but we never have done or seen it done in any website before so we wonder if its a good approach...

View 5 Replies

How To Create Websites Professionally

Oct 15, 2010

I would like to know what I need to create Web sites professionally. I mean, I am a Software Engineering student and I want to build a little "corporation", one that be competitive with the already placed around here.

View 2 Replies

Use The Same Asp Code In Different Websites And Different Folders?

Mar 10, 2011

I got one remote website and two local websites. All the .asp files are the same in 3 websites. In the remote website, there is a file aaa.asp, its url is

http://www.xxx.com/aaa.asp

In the first local website, the url of the same file is
http://127.0.0.1/local1/aaa.asp

In the second local website, the url of the same file is
http://127.0.0.1/local2/aaa.asp

My question is: In any .asp files (may be in different folders) of any above website, how can I get the url of aaa.asp by use the same code?

View 3 Replies

How To Share The Same Style Between Few Websites

Jun 4, 2010

There is a website with a master-page, set of css-files,... menus. It is necessary to implement another one that will have same (or at least very similar) look-and-feel. And also it is necessary to have look-and-feel in sync.

I've tried to find for appropriate solution (at least idea, not implementation) in the internet but didn't find anything.

use an additional project (class library) that will contain an implementation of the master-page and all its comnponents (menus, images, css, etc will be stored as resources), this project will be refferenced from all web-sites that need to sare look-and-feel.

View 2 Replies







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