473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1509
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.comwrote in message
news:#m**************@TK2MSFTNGP05.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.coma écrit dans le message de news:
%2****************@TK2MSFTNGP05.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
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...
18
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,...
1
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...
8
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...
7
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? ...
17
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...
14
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...
13
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...
13
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.