Hi
I have some questions about some things in Asp.net MVC that still confuses me.
a. I am still confused when I should be using <%= %>
and when I should use this <% %>(this one seems to need a semi colon at the end).
b. How can I fix this in VS2008? When I make a partial view and I start typing say <%=
intellisense assumes I meant this <%@ Assembly= %>
and inserts that in.
It really gets annoying to type in a partial view file.
c. I don't get the difference between ActionResult, ViewResult
and PartialViewResult
. ActionResult
seems to be able to return all of these types of results. So why use the other ones?
d. I remembered another one: I know when doing webforms many ppl like to to hook up the site with IIS since the server controls and stuff can be rendered different using the built in Visual Studio thing(Cassi?).
That way when you upload your site to a server hosting site you don't have has many issues. Is this recommend with Asp.net MVC too?
Thanks