Category :- Asp.Net MVC

How to use CKEditor in ASP.NET MVC

Last Updated: May 20, 2017

ckeditor tutorial asp net mvc

You can create a feature in your MVC site where a user can enter HTML contents for a certain field. This can be achieved using CKEditor which you can download from CKEditor website. (more…)

How to Create ASP.NET MVC Paging

Last Updated: May 14, 2017

How to create Custom Paging Links in ASP net mvc

In ASP.NET MVC you can create paging Links very easily using 2 classes – “PagingHelper.cs” and “PagingInfo.cs”. (more…)

ASP.NET MVC Data Annotation – Client Side Validation of Controls – Textbox, Dropdownlist, Checkbox, Radiobutton

Last Updated: April 28, 2017

client side validation

In ASP.NET MVC Client Side Validation of Controls are done using jQuery and 2 plugins (jQuery Validation & jQuery Unobtrusive Validation).

Download jQuery, jQuery Validation & jQuery Unobtrusive Validation from NuGet

The first thing is to include all these 3 in your project, which you can do easily through NuGet. (more…)

ASP.NET MVC Data Annotation – Server Side Validation of Controls – Textbox, Dropdownlist, Checkbox, Radiobutton

Last Updated: April 28, 2017

server side validation

Whenever a form is submitted you should ensure to do the Server Side Validation of every control so that the received data is correct and valid. Some developers provide only client side validation and leave the server side validation in their projects. This is a wrong practice as users can disable JavaScript on their browser and bypass the Client Side Validation. Therefore always make sure to do Server Side Validation in your project. (more…)

Implementing TheMovieDB (TMDB) API in ASP.NET MVC

Last Updated: April 17, 2017

TheMovieDB api

Introduction to TheMovieDB API

The Movie Database (TMDb) is a community built movie and TV database. Every piece of data has been added dating back to 2008. TMDb's strong international focus and breadth of data is largely unmatched and available through the mean of TheMovieDb API. You can use this API to create different sort of features like searching movie, actors, TV series, companies, reviews and much more. (more…)

CRUD Operations in Entity Framework and ASP.NET MVC

Last Updated: March 11, 2017

crud operations in entity framework and asp net mvc

CRUD Operations are the basic things when performing database operations. You can insert a record then read, edit or delete it from the database. If you want to learn how to use Entity Framework for database operations in ASP.NET MVC website then this tutorial is going to help you a lot. So let’s start with it.

Create Database Table and Stored Procedures

The database table where this information is inserted is the Student table. (more…)

How to Create a Web Scraper in ASP.NET MVC and jQuery

Last Updated: February 9, 2017

web scraper

A Web Scraper is a software that helps in extracting data from websites. They can be use to extract typical information like emails, telephone numbers, addresses, etc from different URL. This extracting technique is also known as Data Harvesting. I created this tutorial to teach how to create your own Web Scraper in ASP.NET MVC and jQuery. This Scraper will extract all emails and telephone numbers from a specified URL and show them in a HTML div control. (more…)

Populate Asp.net MVC Dropdownlist With Dynamic Values

Last Updated: May 16, 2017

asp.net mvc dropdownlist

Sometimes it our ASP.NET MVC application it becomes necessary to populate dropdown with dynamic values such as from the database. So here in our controller we can create a list object of type ‘SelectListItem’, fill it with values and send this object to our view using ‘ViewBag’ property. (more…)