Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / MVC / MVC3

MVC3

MVC3

Great Reads

by Akhil Mittal
Repository pattern in MVC3 application with entity framework
by PratapReddyP
CodeProjectIn this post we will see when to use and How to use ajax calls in MVC Razor using JQuery.When i am trying to create a POC for combination of entity framework and a MVC Application, i came across this requirement which made me to use $.post() and $.get().Now, people very easily say, $
by Liviu Ignat
MVC 3 plugin architecture with embedded razor views: steb-by-step description and demo application.
by Keith Barrow
A DatePicker based Event Calendar with MVC3 and AJAX

Latest Articles

by Akhil Mittal
Repository pattern in MVC3 application with entity framework
by PratapReddyP
CodeProjectIn this post we will see when to use and How to use ajax calls in MVC Razor using JQuery.When i am trying to create a POC for combination of entity framework and a MVC Application, i came across this requirement which made me to use $.post() and $.get().Now, people very easily say, $
by Liviu Ignat
MVC 3 plugin architecture with embedded razor views: steb-by-step description and demo application.
by Keith Barrow
A DatePicker based Event Calendar with MVC3 and AJAX

All Articles

Sort by Score

MVC3 

by gunjan k saxena
This tip will help to create an action filter to compress the contents like Json, partial view, etc.
by Monjurul Habib
How to add namespaces for Razor pages
by LKC05
ASP.NET MVC vs Webforms
by member60
Autocomplete behaviour in a strongly typed view of ASP.NET MVC3
by Nithesh AN
Printing an RDLC file in ASP.NET MVC3 automatically by converting into PDF and using Acrobat Reader.
by suhas.shiv
Custom CheckBoxList in ASP.NET MVC3
by Mikhail-T
Tutorial on how to create simple extension that converts view model propety name to string
by Mikhail-T
A short one-line way to convert Array or List of any data into custom string via LINQ
by Namlak
string blah = string.Join(",", cities.Select(c=> c.Name));
by wgross
I would just use:string.Join(",", cities.Select(c=>c.Name))Since Version 4 of the Framework there is an overloaded versions of string.Join for IEnumerable too. It uses a StringBuilder internally and doesn't insert a seperator after the last element as well.I could't find the Join method...
by Richard Deeming
If you're stuck with .NET 3.5, you can use the Aggregate extension method[^]:string cities_string = cities.Aggregate(new StringBuilder(), (sb, c) =>{ if (0 != sb.Length) sb.Append(", "); sb.Append(c.Name); return sb;}, sb => sb.ToString());
by Er. Puneet Goel
When you are dealing with Date&Time input from user, it's always complicated to handle the Date&Time format. You are not sure about how you will handle the user input format. So, here is the solution.
by Member 10872251
Cascading DropDownList in ASP.NET MVC
by Sunasara Imdadhusen
MVC Logging series
by Mikhail-T
How to convert string to text file and return it back to user as a result of a controller action
by Winstan
MVC3 webgrid does not return rows collection, here is a tip to get several objects selected
by Amey K Bhatkar
How to create Tab View in MVC3?
by Amey K Bhatkar
How to create TreeView in MVC
by Amey K Bhatkar
How to fill dropdown in ASP.NET MVC 3?
by Kethu Sasikanth
How to select an initial value for a DropDownList in MVC3 App
by Ankit Sarkar
Input masking in model using data annotation
by Anil Sharma1983
Internet Explorer 8/9 jsonresult method treats response as downloadable json result
by Handy Torres
Model Binder for ASP.NET Web Forms
by raphadesa
A simple MVC 3 Helper for handling Hover Images...
by raphadesa
Hi, well first I wanted to post it as an article, but Code Project refused it saying it would be too short...If you want to see the original url, please goto:http://ms-technologies.blogspot.com/[^]There's also the code for download there...Thanks, Raphaël...
by Omar Gameel Salem
MVC3 Buddy Classes issue with validation attributes.
by Amey K Bhatkar
Routing in ASP.NET MVC Tutorial for beginners
by Aravinda Sringarapuram
One of the ways of persisting values across requests in MVC involves interacting with Session, an instance of “HttpSessionStateBase”.
by amitthk
Post the page forms using Ajax intead of Normal Post (Like when using MVC)
by amitthk
For ASP.NET MVC, HERE! is a much cooler approach:Basically, we use Ajax.ActionLink like this:The controller takes care of both the possibilities (Normal Post...
by Yogesh Kumar Tyagi
Using this tip, we easily create Thumbnail of “txt, doc, docx, xls, xlsx, ppt, pptx, rtf” files in ASP.NET MVC
by Muhammad Albedewy
Validate Anti-Forgery in 6 easy steps