ASP.NET MVC and the Templated Partial View - Death to ASCX(jeffreypalermo.com)

submitted by dwhitedwhite(250) 2 years, 8 months ago

We are used to master pages and applying them to ASPX pages. Then we pull small parts of the view into user controls or ASCX. In ASP.NET MVC, we use ASCX files as partial views because the user control model is so baked into our thinking. I propose that ASCX does not provide much benefit in ASP.NET MVC. It’s usefulness may end with using the extension as a naming convention for the easy identification of partial views. Beyond that, it’s pretty thin.

add a comment |category: |Views: 117

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story