Process Flow of Single and Multitenancy ASP.NET MVC Application | ASP.NET MVC Tutorial

Single-Tenancy Application The steps that lead from a user entering a website address in his browser to viewing the content are fairly straightforward. The browser sends a request......

Read More

Simplifying AccountController by Removing External Login Related Actions | ASP.NET MVC Tutorial

There are a number of methods on AccountController related to External Logins. If you examine AccountController carefully, you can go through and delete the code for the following......

Read More

How to Convert Synchronous ASP.NET MVC Action to Asynchronous ASP.NET MVC Action | Asynchronous Support in ASP.NET MVC Controller | ASP.NET MVC Tutorial

In ASP.NET MVC controller action method receives data from a web request and passes the data to a view which then creates the HTML to be sent to the browser. Frequently the action......

Read More

Generating Unique Token in C# | Generating Unique Token that Expires after 24 Hours in C# | C# Tutorial

,

There are two possible approaches; either you create a unique value and store somewhere along with the creation time, for example in a database, or you put the creation time inside......

Read More

Creating Cookie in ASP.NET MVC Action | Handling Cookies in ASP.NET MVC | Set Cookie Expiry in ASP.NET MVC | ASP.NET MVC Tutorial

We can create Cookie and set value to it in ASP.NET MVC Action method using the HttpCookie object using System.Web namespace. This created cookie should be added to HttpResponse......

Read More

Route Constraints Supported in Attribute Routing in ASP.NET MVC 5 | ASP.NET MVC Tutorial

Route constraints let you restrict how the parameters in the route template are matched. The general syntax is {parameter:constraint}. The following table lists the constraints that......

Read More

Applying Styles to @Html.TextboxFor in ASP.NET MVC | ASP.NET MVC Tutorial

We can Apply CSS class to @Html.TextboxFor in ASP.NET MVC. An overload of the TextBoxFor method allows you to pass an object for the HTML attributes as given below: @Html.TextBoxFor(m......

Read More

Allowing HTML Tags in TextBox in ASP.NET MVC | Allow HTML Tags in Form Post in ASP.NET MVC | ASP.NET MVC Tutorial

Request validation is a feature in ASP.NET that examines an HTTP request and determines whether it contains potentially dangerous content. In this context, potentially dangerous content......

Read More

Learn to Deploy Windows Azure Websites | ASP.NET MVC Windows Azure Video Tutorial

, ,

In this video tutorial, Scott Hanselman demonstrates creating an Azure Web Site and deploying Azure Web Site all from within Visual Studio 2013 using the new Azure SDK 2.2. Also,......

Read More

What is HATEOAS, REST, and Hypermedia? | ASP.NET MVC, ASP.NET Web API, Azure Video Tutorial

, , ,

Scott Hanselman and Mat Velloso talks about REST and RESTful Web Services. Also discusses about HATEOAS, which actually means "Hypermedia as the Engine of Application State." Scott......

Read More

What is Routing in ASP.NET MVC? | ASP.NET MVC Interview Question | ASP.NET MVC Programmer Guide

, ,

In case of a typical ASP.NET application, incoming requests are mapped to physical files such as .aspx file. ASP.NET MVC framework uses friendly URLs that more easily describe user’s......

Read More

Designing Richer Applications using ASP.NET MVC | ASP.NET MVC VIdeo Tutorial | ASP.NET MVC Programmer Guide

,

This video tutorial would target how can we leverage the benefits of ASP.NET MVC4 to create a clean designed web application and customize it's user interface to work on mobiles......

Read More

OWIN OAuth Components in ASP.NET MVC Application | ASP.NET MVC Tutorial | ASP.NET MVC Application

OAuth middleware consists of several components that work together to complete the OAuth process. The following classes are used to configure and register the middleware, instantiate......

Read More

Diagrammatic Representation of ASP.NET MVC Authentication Process | Workflow of ASP.NET MVC OAuth | ASP.NET MVC Tutorial | ASP.NET MVC Programmer Guide

The below diagram shows the authentication process in ASP.NET MVC application. This diagram provides the complete workflow of OAuth in ASP.NET MVC......

Read More

Explain Types of Data Used with ASP.NET Identity? | Expain about the Tables Generated for ASP.NET Identity | ASP.NET MVC Interview Question | ASP.NET MVC Programmer Guide

Below table provides details on types of data used with ASP.NET Identity: DataDescription UsersRegistered users of your web site. Includes the user Id and user name. Might include......

Read More