Add custom script files to MVC project

How to add custom script files to your project. Writing inline javascripts is not a good practice when it comes to larger projects and its always recommend to use separate scripts files(custom script file (s)) for bigger scripts. Adding a custom script is not much complicated in ASP.NET MVC but still we have to follow some…

Download CSV file in ASP.NET MVC

How to create and download CSV files in ASP.NET MVC Sometimes we have to create csv(comma separated) data files from our web applications and let the end user to download csv files. In ASP.NET MVC its not a much complicated issue. We can read whatever the data from a database, service or from another file…

MVC Model Data Binding with Lists

ASP .NET model data binding with object lists In this example we are going to retrieve a list of objects from the front end to controller. We know how to bind a single object into the form and retrieve object data in form submission. Its very simple and we can accomplish that using the DefaultModelBinder in ASP.NET…