473,840 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MVC & ASP.Net - I dont get it??

Hello,

Can anyone point me in the direction of some good introductory resources to
MVC and Web. I have looked up several resources on MVC in general (none of
which have any code samples) but I dont get hw it applies to web.

In a winforms app i can see how MVC plays out. I have 2(n) different views,
something changes in one of them, so we fire off a message to notify the
other to update. The makes senseto me because their both "connected" .

When it comes to the web however I dont get it. We have to post back to the
server to get any changes, so I dont get how MVC is of any use -- to me its
just plain old 3 tier logic.

I'd really appreciate some pointers to resources with before and after type
code. I see MVC for ASP.net all around but I dont understand the benefits
and everything Ive read seems pitched at those who already "get it".

Thanks

Richard

Dec 18 '07 #1
2 1536
This link http://msdn2.microsoft.com/en-us/library/aa478961.aspx will clear
away all your confusion. Search for The MVC Pattern on the page if you don't
care to read the entire page.

--
--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
"Richard Coltrane" <rc@spamsux.com wrote in message
news:#m******** ******@TK2MSFTN GP05.phx.gbl...
Hello,

Can anyone point me in the direction of some good introductory resources
to
MVC and Web. I have looked up several resources on MVC in general (none of
which have any code samples) but I dont get hw it applies to web.

In a winforms app i can see how MVC plays out. I have 2(n) different
views,
something changes in one of them, so we fire off a message to notify the
other to update. The makes senseto me because their both "connected" .

When it comes to the web however I dont get it. We have to post back to
the
server to get any changes, so I dont get how MVC is of any use -- to me
its
just plain old 3 tier logic.

I'd really appreciate some pointers to resources with before and after
type
code. I see MVC for ASP.net all around but I dont understand the benefits
and everything Ive read seems pitched at those who already "get it".

Thanks

Richard
Dec 19 '07 #2
Also
http://weblogs.asp.net/scottgu/archi...rk-part-1.aspx
might help. The ASP.NET team will include a MVC model in an upcoming
update...

--
Patrice

"Richard Coltrane" <rc@spamsux.com a écrit dans le message de news:
%2************* ***@TK2MSFTNGP0 5.phx.gbl...
Hello,

Can anyone point me in the direction of some good introductory resources
to
MVC and Web. I have looked up several resources on MVC in general (none of
which have any code samples) but I dont get hw it applies to web.

In a winforms app i can see how MVC plays out. I have 2(n) different
views,
something changes in one of them, so we fire off a message to notify the
other to update. The makes senseto me because their both "connected" .

When it comes to the web however I dont get it. We have to post back to
the
server to get any changes, so I dont get how MVC is of any use -- to me
its
just plain old 3 tier logic.

I'd really appreciate some pointers to resources with before and after
type
code. I see MVC for ASP.net all around but I dont understand the benefits
and everything Ive read seems pitched at those who already "get it".

Thanks

Richard

Dec 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8292
by: lobrys | last post by:
hi I build a VB .NET application that makes file access, environnemet acess, database access, etc.... If I ran the app locally, everything works....(normal) If I copy the app on a server, and execute it, everything works until a file/environnement/database access !..... I just want that my app may run in every machine!
18
2028
by: Maxim Kazitov | last post by:
Hi, I create application which transform huge XML files (~ 150 Mb) to CVS files. And I am facing strange problem. First 1000 rows parsed in 1 sec after 20000 rows speed down to 100 rows per sec, after 70000 rows speed down to 20 rows per sec ( I should parse ~ 2 500 000 rows). For me it looks like a GC problem, but I have no Idea how to fix it :( Any ideas are welcome.
1
2065
by: Sargas Atum | last post by:
Hi all, 1. I have a problem with cell selection in a table in a DataGrid. I dont want that anybody writes in the cells. That was not a problem I changed them to "read only", but if I am going to scroll the table up and down or from right to the left the content of the active cell will be selected as if for copy/paste. How can I deactivate such a behaviour?
8
8222
by: Z D | last post by:
Hello, I'm having a strange problem that is probably due to my lack of understanding of how threading & COM Interop works in a WinForms.NET application. Here's the situation: I have a 3rd party COM component that takes about 5 seconds to run one of its functions (Network IO bound call). Since I dont want my GUI to freeze
7
1605
by: Dmitry Shuklin | last post by:
I am compiled my C file into IL source, How i can compile this file back to OBJ file, not to EXE or DLL? or, can i compile to OBJ file VB or C# code and link them with C++ managed OBJ files? Thanks
17
3257
by: Fred Nelson | last post by:
Hi: I have written several web applications that obtain their connection strings from the web.config file. This is very easy to use and it makes it easy to move an app from development into production. I'm in the process of writing a site that will have lots of traffic so I'm trying to save resources everyplace that I can. My question is - do the web.config app settings get loaded once when the
14
2593
by: Jerad Rose | last post by:
I'm relatively new to C# and polymorphism, so what I'm trying to accomplish may not be possible, or there may be a totally different approach that I should be taking. I have a base class (MyBase) and a collection of MyBase objects (MyBaseCollection). Now, I also have an extension to MyBase (MyExtendedBase : MyBase) that has additional properties. And lastly, I have a collection of MyExtendedBase objects(MyExtendedBaseCollection :...
13
2101
by: Richard G. Riley | last post by:
In another thread it was pointed out that I'd made a booboo with strcpy : one that that I've, if I'm honest, made many times before. Not out of badness, just because since I first programmed C back in 1986 (and have done so for about 25 % of the time since then) or so I never really looked at the manpage for strcpy : this combined with K&Rs famous pointer lessons which lead to 2 or 3 versions of a linear start to finish strpy implementatin...
13
2810
by: Ragnar | last post by:
Hi, 2 issues left with my tidy-work: 1) Tidy transforms a "&amp;" in the source-xml into a "&" in the tidied version. My XML-Importer cannot handle it 2) in a long <title>-string a wrap is produced like: <title>my very long title blab la blab la Blabla bla </title> Importer also has got problems with it
0
9863
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9702
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10607
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10665
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7845
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7023
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5686
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3139
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.