Posts

Showing posts with the label MVC

Base64 Encode Image in Website - Web Essential

Image
In this article you will learn about Base64 Encode Image, why we encode image and how it can improve website performance. We are going to make use of Web Essential which is a must have Visual Studio extension.

Display Images and its name, size before uploading to server by using FileReader - JavaScript File API

Image
If you look at my previous post Single File Upload to Multiple File Upload, it display size of the file after upload.

Seeding ASP.NET Identity Database

In this post you will learn how to seed User’s Profile database tables (AspNetUsers and UserProfileInfoes, we created in last post) with dummy data.

Customizing User's Profile to add new fields in brand new database table

Image
In this post you will learn how to customize User’s Profile and add new fields/properties/columns (FirstName, LastName and EmailID) in a brand new table with ASP.NET Identity System.

Customize User's Profile in ASP.NET Identity System

Image
Note: You should read this post instead, I found below walkthrough will not work on ASP.NET Identity 2. I will re-work on this post soon.

In this post you will learn how to customize User’s Profile and add some more fields like FirstName, LastName, EmailID etc with ASP.NET Identity System. In my last post I listed some of the great new features introduced with Identity system.

ASP.NET Identity System in Visual Studio 2013 - New Feature

Image
In this post you will learn about a very new enhancement in ASP.NET Framework technologies (MVC, Web Forms, Web Pages, Web API and SignalR) known as ‘ASP.NET Identity System’ with the release of Visual Studio 2013. This enhancement well defines the meaning of ‘One ASP.NET’, because this can be used with all ASP.NET Framework technologies more easily than before.

Visual Studio Online Monaco Code Editor Walk-through - Part 2

Image
In the part 1 of this series you learned how to edit compiled websites using Visual Studio Online Monaco Editor. Now in this part you will learn how to edit source code of website. Read my previous post or at least first paragraph of that post.

Visual Studio Online Monaco Code Editor Walk-through - Part 1

Image
In this post series I will show you how we can take advantage of Visual Studio Online “Monaco” to edit codes (HTML, CSS, C#, JavaScript etc) in the browser out of the box.

Multiple identity columns specified for table 'States'. Only one identity column per table is allowed

Image
This post addresses the error that we see when executing Update-Database command inside Package Manager Console. I am going to talk about two continuous error appears and fix is very simple, just read this blog.

Custom Code First Conventions - EF 6 New Feature

Image
In this blog post you will learn a new feature ‘Custom Code First Conventions’ introduced with Entity Framework 6. This is 'Code First' only improvement. EF 6 comes with number of cool new features and improvements, so I decided to write blog posts and cover some of the new features.

Area in MVC 5 with example - step by step

Image
In this post you will learn how to create Area in MVC 5, because creating Area in MVC 4 was quite different. In MVC 5 (Visual Studio 2013), Area option can be found under ‘Add Scaffold’ dialog. In this post, I will take you through step by step to setup and running Area in MVC 5.

"Area in MVC 4" is available here.

Debugging MVC with Route Debugger Tool

Image
In this blog let's talk about a really cool tool for MVC developers ‘Route Debugger’. Sometimes a bug in your route can break application because it invokes either an incorrect controller or action. So, do not worry just install this tool in the application and it will make your route debugging easier like never before.

Category and Sub Category in single Drop Down List (DDL) in MVC

Image
In this article you will learn how to create a Drop Down List in MVC that can display States and its associated Districts in a single Drop Down List. You will learn this step by step.

Named Routes in MVC

Image
In this post you will learn what are ‘Named Routes’ and how to use them to generate URLs. I will explain this using problem and then solution approach.

Route Constraints in MVC

Image
In this post you will learn how to define ‘Route Constraints’ in MVC Application. Route Constraints allow us to apply a regular expression to a URL segment to restrict whether the route will match the request.

Getting Started with jQuery.tmpl (jQuery Templates) in MVC

Image
In this post you will learn how to use jQuery.tmpl (jQuery Template) JavaScript library in MVC for client side templating. I will take you through few easy steps to setup it and working.

Scaffold your ASP.NET MVC project with the MvcScaffolding package: Video

In this video you will learn how to scaffold the CRUD/Controller/DbContext using MvcScaffolding package developed by Scott Hanselman and Steve Sanderson.

Mustache.js - Getting Started with Mustache.js in MVC: Video

Image
In this video post you will learn how to use Mustache.js JavaScript library in MVC for client side templating.


Getting Started with Mustache.js in MVC

Image
In this post you will learn how to use Mustache.js JavaScript library in MVC for client side templating.  I will take you through few easy steps to setup it and working.

Enabling Client Side Validation on Custom Data Annotations with IClientValidatable in MVC

Image
In this post you will learn how to create or enable client side validation on the custom data annotations. If you go through my last blog, you will learn how to create custom data annotations to enable server side validation, I also recorded a video for this and uploaded on YouTube. This blog will take you further, so go and read or watch video, if you missed.

Popular posts from this blog