Posts

Adding Email, Details field in UserProfile DB Table in MVC

Image
In this post you will learn how to add Email and Details columns to an existing database. We get this database when running an application trying to create a new user account. As you know, we don’t see an email field in a user registration form as well as in the membership database. But we can enable this using some quick changes in the application. Read on.

Monthly Blogging Report: October 2012

Consolidating all blog posts monthly are very refreshing as it gives me chance to go back and see what I did in last month and for readers gives the chance to see what he not followed up.

Example on View to Controller (HttpPost) & warn on duplicate entry & delete duplicates in MVC

Image
This is a quick response post to the blog reader ‘V Patel’ who asked this question yesterday. Here is the question:

JQuery UI Datepicker in MVC 4

Image
Today, I spent couple of hours in finding solution to enable the use of Datepicker in MVC 4 Application.

Filter Records in MVC

Image
In this quick post you will learn various ways to filter records in MVC. Before starting let’s have a quick look at a controller and view page that I will use in this article. I will be using the SQL Server Northwind sample database in this article, you can download it from the Microsoft website and set up the same project to explore it.

Partial View in Razor MVC

Image
Partial View allow us to put HTML and C# code into a file that we can reuse across multiple other views. This is very useful when you work on a large application.

Html Helper for Image (@Html.Image): Developing Extension in MVC

Image
Today I worked on a project where I required to display image on the web page. As you know there is not a Html Helper for Images yet. Look at the screen, we can’t see an image here.

HandleErrorAttribute OR Error Handling in MVC 4

Image
HandleErrorAttribute in MVC is used to display friendly error pages to user when something goes wrong in the application. Let’s create a simple exception in the application to explore HandleErrorAttribute.

Various ways to pass data from Controller to View in MVC

Image
There are various ways to pass data from a Controller to a View. I'm going to discuss how Controllers interact with Views and specifically cover ways you can pass data from a Controller to a View to render a response back to a client. So, let's get started.

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System