Build Your First MVC Application in Visual Studio 2022

In this article, we will demonstrate How to build the first MVC application in Visual Studio 2022 using .NET 6. Also, we will see how the .NET 6-based MVC project is different from than .NET Core-based MVC project. Prerequisites Create MVC application in Visual Studio 2022 Follow the below steps to create your first MVC … Read more

Authentication and Authorization in MVC Application

In any kind of software application, Authentication and Authorization are taken very seriously. In this blog, we will see how can we apply authorization in an MVC application. By default, all Controllers and Actions in an MVC application are accessible by anonymous users. The Authorize attribute handles authorization for a logged-in user in MVC application. … Read more

Consume Web API 2 using JQuery in MVC application

In this blog, we will see how to create a Web API in Visual Studio 2017 and consume this API from MVC application using jQuery. Web API is the Microsoft open source technology for developing REST services based on HTTP protocol. ASP.Net Web API is a framework for building, consuming HTTP based service. The advantage … Read more

How to integrate Google recaptcha with ASP.Net MVC Application?

In this blog, Let’s see how can we integrate Google reCapctah with ASP.Net MVC. What is Google ReCaptcha? Google reCaptcha help public websites to prevent spam access on an input form like login, signup.It is basically a way to identify that no robot is submitting the input form. Follow below steps to integrate a Google … Read more

ASP.Net MVC Ajax.BeginForm with an example – MVC Blogs

Hi, recently I was working on a project in MVC. I had to post a form using Ajax to avoid page postback.I have demonstrated this by an example. Let’s see the code to implement Ajax.BeginForm in an MVC application. Ajax.BeginForm in MVC Nowadays users don’t want to see a page refresh and web technologies are … Read more

LINQ with an MVC Project

This blog contains basic information about LINQ. Also, we will see how can we use LINQ in an MVC project. What is LINQ? LINQ stands for Language Integrated Query. LINQ can be used to query from a variety of data sources for eg  SQL Server, Array, and XML. LINQ defines keywords that you can use … Read more

Tag Helpers in ASP.Net Core MVC

Tag Helpers is new feature introduced in ASP.Net Core MVC. Tag Helpers do the same thing as HTML Helpers does in previous versions of MVC but with a variety of changes. What are Tag Helpers? Tag Helpers helps server side code to create and render HTML tags in Razor View engine. Tag Helpers provide an … Read more

ActionName and NonAction Attribute in ASP.Net MVC

ActionName and NonAction attribute in MVC is the attribute applied to an action method. These attribute helps route engine to execute correct Action method and the respective View. ActionName Attribute ActionName attribute actually provide a alias to the action method, i.e. You can give a different name to your Action method than what is given … Read more

Important ASP.Net MVC interview questions and answers

In this blog, I have collected ASP.Net MVC interview questions and answers. For an ASP.Net developer, MVC is very important for interviews in any MNCs. Whether you are a fresher or have .Net MVC development experience, the .Net MVC interview questions given below will prove to be very beneficial for you. Top ASP.Net MVC Interview … Read more

RSS
YouTube
YouTube
Instagram