What is mvc structure? given example?
How to show gridview control from business components and
using class object arrays?
Answers were Sorted based on User's Feedback
Answer / aj
Hi
MVC is an Architecture developed on top of .NET Framework.
Where they have concept of Model which is your databse
related stuff, and View Which is presenter (.aspx) files
and Controller (Which controles the action of your
application this is something from your regulat asp.net
website...
Controller tells what to do and when to do and here the
concept of Postback is not there any more...neither you
have the facility of ViewState......
This is one reason you may not be able to use your grid
view as effectively as earlier in asp.net
website/applications (when you are using MVC)...
As there is no postaback concept any more between client
and server it makes it possible to test your controller
actions even when your application is not running (F5)....
Hence this helps us do Test Driven Development of the
application...where you can write Test Cases first and then
do the development as it can be tested offline......
You may not be able to include Unit Test Project if you are
using Visual Web Developer as for this you need VS
2008....And MVC installed in your machine.....
For grid view you can refer to
http://blog.maartenballiauw.be/post/2008/06/Code-based-
ASPNET-MVC-GridView.aspx....it might help...
All the best
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / dhina
asp MVC.NET is microsoft's answer for web generation 2
sites, where the sites will be search engine optimized.
URL of the site doesnt map to the deployed folder structure
eg (www.test.com/scripts/test1.html) this means that the
test.com is virtual directory and scripts is a subdirectory
and test1.html is physical file name, these direct
directory url is not there in MVC
| Is This Answer Correct ? | 1 Yes | 1 No |
which scripting is used browser by server when we use validation controls. 1.javascript 2.vbscript 3.jscript 4.perl
What is preprocessor in .net? Where it use?
What is the Difference between user and server controls?
What are the differences between Trace and Debug?
Why is string called immutable data type?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
0 Answers InfoAxon Technologies,
Differentiate session and cookie
How to execute a stored procedure.and how to call it form a asp page
Can you explain page lifecycle in net?
How to turn off cookies for a page?
In which scenario we use Session and Cookies? With Example..
What is http request and response?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)