Posts

Adding metatags on .cshtml pages in MVC

Image
This quick post is a response to a question I received today on Facebook. Please follow the steps to add metatags on .cshtml pages:-

Happy New Year - 2013

Image
Hello Friends! Happy New Year to all of you, may your new year be blessed with peace, love and joy. I’m sending you my heartfelt wishes with joy that never ends. It’s time to forget all the past and think ahead.

Strongly Typed Views in MVC

Image
When you add a new View in MVC, you get an opportunity to create it strongly typed. In the image given below, when you check ‘Create a strongly-typed view’ and select the ‘Model class’ you get following code snippet on the view page.

HTML Encoding in MVC

Image
One of the best feature in Razor view engine that I like most is ‘HTML Encoding’. In many cases (like a comment form on blog) we receive the data from users and he may be trying to victimize us by sending some malicious scripts causes cross-site script injection attacks (aka XSS attack).

Deploying an ASP.NET MVC 4 Web Application on Windows Azure

Image
In this video you will learn how to deploy ASP.NET MVC 4 Web Application on Windows Azure environment. Sorry for the noisy video.

The database principal owns a schema in the database, and cannot be dropped. (Microsoft SQL Server, Error: 15138)

Image
Today I added a new user in my existing database for some web application experiments and when I tried to delete the user I received following error message.

Modernizr Library in MVC 4

Image
In this post you will learn how developers take the advantage of  Modernizr   in MVC 4 Applications.

Twitter RSS Feed Reader in MVC 4

Image
In this blog post you will learn how to setup the Twitter RSS Feed Reader in MVC 4. I’m using the same technique I used in my last post to read the Facebook feeds. Let’s look at the image that we will be creating using the given code.

Facebook RSS Feed Reader in MVC 4

Image
In this blog post you will learn how to setup the Facebook RSS Feed Reader in MVC 4. Let’s look at an image of what we will be creating in this post; see:

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