-
acton parameters
The asp.net mvc framework matches action parameters in the following order:
- Form values
- Route arguments
- Querystring parameters
-
The options to render a partial view
Normally you can do this,
<% Html.RenderPartial("LogOnUserControl"); %> -
asp.net mvc request walkthrough
ASP.NET MVC request begin with a UrlRoutingModule. This component is not actually part of the System.Web.Mvc.dll, but of System.Web.Routing. You have to wire up in web.config like the following.
-
Semantics works?
A developer is a creativity entity. There are so many software technologies emerging everyday, many of us are struggling to keep pace with the them. I am just an average developer, and I still tirelessly studying these technologies, because programming is my passion and love. Gradually, I understand semantics is the driven force of the evolution of software tools, framework, platform, methodologies and standards. As a .net developer, I use the object-oriented programming, domain driven development, agile programing, mocking framework, asp.net mvc, css, xhtml, wpf, RESTful web service.
I truely believe that semantics works. Today I am moving my studying notes to SemanticsWorks.
-
Best practice to develop jQuery plugin
- Create a private scope for $
- Attach plugin to $.fn alias
- Add implicit iteration
- Enable chaining
- Add default options
- Add custom options
- global custom options
<div id="counter1"> </div> <div id="counter2"> </div> <script> (function($) { $.fn.count = function(customOptions){