Browse by Tags

All Tags » MVC (RSS)

Writing ASP.NET MVC bootstrapper with Autobox by Mehfuz's WebLog

This will post will show how you can use AutoBox to easily write a bootstrapper for ASP.NET MVC. I have used the latest version of AutoBox (available from nuget, this version also includes Castle.Windsor internally for managing dependencies rather using...
Filed under: , , , ,

Introducing AutoBox - On the fly dependency injection and caching container. by Mehfuz's WebLog

Just when we have dependencies for a controller, we need to wrap around our heads to write a bootstrapper that will dynamically inject dependencies for a controller in runtime and once we we want to do  data caching like a particular method in accounts...
Filed under: , , , , ,

Build truly RESTful API and website using same ASP.NET MVC code by Omar AL Zabir on things you don't find easily

A truly RESTful API means you have unique URLs to uniquely represent entities and collections, and there is no verb/action on the URL. You cannot have URL like /Customers/Create or /Customers/John/Update, /Customers/John/Delete where the action is part...

Use Razor as ASP.NET MVC ViewEngine by Kazi Manzur Rashid's Blog

Since the release of Razor I could not manage time to give a deep dive into this new framework. Last night, I started to explore, the idea was to create ASP.NET MVC View Engine, yes I know the official version is coming up end of this month, but it will...

Localization with ASP.NET MVC ModelMetadata by Kazi Manzur Rashid's Blog

When using the DisplayFor/EditorFor there has been built-in support in ASP.NET MVC to show localized validation messages , but no support to show the associate label in localized text, unless you are using the .NET 4.0 with Mvc Future. Lets a say you...

MvcExtensions - ActionFilter by Kazi Manzur Rashid's Blog

One of the thing that people often complains is dependency injection in Action Filters. Since the standard way of applying action filters is to either decorate the Controller or the Action methods, there is no way you can inject dependencies in the action...

MvcExtensions - PerRequestTask by Kazi Manzur Rashid's Blog

In the previous post , we have seen the BootstrapperTask which executes when the application starts and ends, similarly there are times when we need to execute some custom logic when a request starts and ends. Usually, for this kind of scenario we create...

MvcExtensions – Custom Service Registration by Kazi Manzur Rashid's Blog

[Special Note: I have just released SP1 Preview which contains the newly added Autofac Adapter and minor Windsor changes] In this post, I will show you how you can register your custom services in your preferred IoC container and how the MvcExtensions...

MvcExtensions – Bootstrapping by Kazi Manzur Rashid's Blog

When you create a new ASP.NET MVC application you will find that the global.asax contains the following lines: namespace MvcApplication1 { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microsoft.com/?LinkId=9394801...

Announcing the RTM of MvcExtensions (aka System.Web.Mvc.Extensibility) by Kazi Manzur Rashid's Blog

I am proud to announce the v1.0 of MvcExtensions (previously known as System.Web.Extensibility). There has been quite a few changes and enhancements since the last release . Some of the major changes are: The Namespace has been changed to MvcExtensions...

Releasing Shrinkr – An ASP.NET MVC Url Shrinking Service by Kazi Manzur Rashid's Blog

Few months back, I started blogging on developing a Url Shrinking Service in ASP.NET MVC, but could not complete it due to my engagement with my professional projects. Recently, I was able to manage some time for this project to complete the remaining...

Maintaining shared service in ASP.NET MVC Application by Kazi Manzur Rashid's Blog

Depending on the application sometimes we have to maintain some shared service throughout our application. Let’s say you are developing a multi-blog supported blog engine where both the controller and view must know the currently visiting blog, it’s setting...

ASP.NET MVC Complex Object ModelMetaData Issue by Kazi Manzur Rashid's Blog

One of the exciting feature of ASP.NET MVC is(?) auto generating the view of the model with DisplayForModel/EditorForModel statement, it gives a nice extension point for the application developers to customize the view. But in the latest release (MVC2...
Filed under: , , ,

Just released System.Web.Mvc.Extensibility Beta by Kazi Manzur Rashid's Blog

I am announcing the beta of System.Web.Mvc.Extensibility . There has been quite a few changes in this release : Added support for PerWebRequest lifetime. Removed the “base” suffix from the abstract class. I am dropping the Autofac. After struggling quite...

Multiple ModelMetadata Provider support added to ASP.NET MVC Extensibility by Kazi Manzur Rashid's Blog

For last few days I was pushing Brad Wilson to add support for multiple metadata provider in the ASP.NET MVC framework. The reason is very simple, lets say you are developing a relatively large application which has multiple modules, new modules can be...
More Posts Next page »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems