Problem I need to pass an array of values in Url.Action. Currently I’m doing: var redirectUrl = Url.Action(“search”, new { […]
Tag: asp.net-mvc-3
ASP.NET MVC using Repository pattern – code review
Problem I am just trying to use ASP.NET MVC using repository pattern. Could somebody see If I am doing something […]
ASP.NET MVC 3 ModelBinder with string sanitizing
Problem I need to allow incoming HTML in string parameters in my projects action methods, so we have disabled Input […]
Fluent LinkedIn REST API client interface design
Problem There is a handful of LinkedIn clients written in C# on the NuGet package library, but as far as […]
Separating Models and ViewModels
Problem I have a central domain assembly which contains various rich domain models. Lots of business logic, etc. To keep […]
Creating a list of pairs after splitting the string containing all of the sets
Problem I am working on asp.net/MVC and I need to read a value from my web.config file. Splitting the list […]
Custom route for writing friendly URLs in ASP.NET MVC 3
Problem I’m trying to build friendly URLs like /post/1/my-first-post. I started out with building my links like this: @Html.ActionLink(Model.BlogPost.Title, “Index”, […]
Using AutoMapper in ASP.Net MVC
Problem I’d like to check my understanding and usage of the AutoMapper in my ASP.Net MVC app. I setup the […]
Custom Authentication, Authorization, and Roles implementation
Problem I’ve got an MVC site, using FormsAuthentication and custom service classes for Authentication, Authorization, Roles/Membership, etc. Authentication There are […]
MVC Async Action Invoking Workflow
Problem I’ve just started working with Workflow (WF4) and have been playing with an idea of using it in MVC3.0 […]