×

iFour Logo
 

Our Insights

Innovative Ways - Satisfied Clientele

Different ways of Binding Razor DropDownList in ASP.NET MVC 5

Kapil Panchal - July 28, 2021

Different ways of Binding Razor DropDownList in ASP.NET MVC 5

Table of Content 1. DropDownList 2. What is Razor View in MVC? 3. How do I bind a DropDownList in MVC Razor? 4. Conclusion DropDownList A dropdown menu is a method to show a huge list of options since only one choice is displayed initially until someone activates the dropdown box.   Figure 1: DropDownList   What is Razor View in MVC? Razor View is a markup syntax that lets us embed server-based code into web apps using C#....

Explain Model Validation Using Data Annotation in ASP.NET MVC

Kapil Panchal - July 27, 2021

Explain Model Validation Using Data Annotation in ASP.NET MVC

Table of Content 1.What is Data Validation? 2.What are Data Annotations? 3.Types of Data Annotations in ASP.NET MVC 3.1.Require 3.2.DataType 3.3.StringLength 3.4.Range 3.5.DisplayName 3.6.DisplayFormat 3.7.MaxLength 3.8.MinLength 3.9.Bind 3.10.RegularExpression 4.Create MVC Application for Data Annotation Demo 5.Conclusion What is Data Validation? Data Validation is an important aspect of developing web applications....

Explain Form Authentication in MVC

Kapil Panchal - July 20, 2021

Explain Form Authentication in MVC

Table of Content 1. Introduction 2. Create Employee Table 3. Create Department Table 4. Create Users Table 5.Create UserRoles Table 6. Complete code for HomeController 7. Register View Code 8. Login View Code 9. Use Authorize Attribute 10.Conclusion Introduction Sign up, sign in, and Log out are three things that we always have in mind while developing a web application. The following points will be discussed in depth as part of this.   How...

What is Exception Filter and explain custom Exception Filter in ASP.NET MVC?

Kapil Panchal - July 15, 2021

What is Exception Filter and explain custom Exception Filter in ASP.NET MVC?

Table of Content 1. What is an Exception Filter? 2. Custom Exception Filter 3. Creating Custom Exception Filter 4. Conclusion What is an Exception Filter? Exception Filter provides an ability to handle the exception for all the method, controller classes in one place. Exception filters execute when some of the exceptions are thrown from an action. The exception can be anything. This is by creating a class that inherits from IExceptionFilter and FileAttribute...

Build an app with SMS and email 2FA Two-factor authentication in Asp.Net MVC

Kapil Panchal - July 15, 2021

Build an app with SMS and email 2FA Two-factor authentication in Asp.Net MVC

Two-factor authentication (2FA) is an excellent way to enhance both the robustness of your authentication system and the user experience with your authentication process. 2FA adds something that a user has to what he knows in the process of checking what he tells himself to be.   Table of Content 1. Create the ASP.NET MVC application. 2. Configuring the SMS for two-factor authentication. 3. Determine user credentials for the SMS provider. 4. Specify SenderID / Original. 5....

Categories

Ensure your sustainable growth with our team

Talk to our experts
Sustainable
Sustainable