Krishan Dutt Sharma

Web Developer

My Blog

ASP.NET MVC Project Integration With GitHub

In this article, I will explain how to integrate an ASP.NET MVC project with GitHub. Along with that, I will explain some of the below activities often performed by developers on Git. Create Local Branch Push Changes Pull Request Prerequisites to achieve this demo are the following -

Read More

Validation In ASP.NET MVC Model Binding Using jQuery

jQuery Validation in model binding is used to check if the user has entered all the valid text in input fields or not. This is done before submitting the form to the server so that server-side load lifting can be minimized. We are using Data Annotation validators to perform the validation in an ASP.NET MVC application in model binding simply by adding one or more attributes – such as the required or StringLength attribute – to a class property.

Read More

Filters In ASP.NET MVC

his article will tell you almost everything about filters used on action methods as well as on controllers in ASP.NET MVC. I am writing this article to tell you the basic to advanced foremost concepts about filters.Last week one of my friends asked the question “How can I restrict the users to use my resources on the website?” I am dedicating this article to him. I hope he will like this.The topics to be covered are,

Read More

How to Create Web API in ASP.Net MVC

Web API The ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. The ASP.NET Web API is an ideal platform for building Restful applications on the .NET Framework. Referred from “Microsoft.com”.

Read More

Using AJAX In ASP.NET MVC

As we all know, AJAX means Asynchronous JavaScript and XML. It is a client-side script that communicates to and from a server/database without the need for a postback or a complete page refresh. The Ajax speeds up response time. In other words, Ajax is the method of exchanging data with a server, and updating parts of a web page, without reloading the entire page.

Read More

Google reCAPTCHA In ASP.NET MVC

reCAPTCHA is a free service that protects your website from spam and abuse. This blog shows how to implement reCAPTCHA version 2.0 into an ASP.NET MVC website. Login to your Google account, then go to the below link. https://www.google.com/recaptcha/admin#list Enter your details in the register a new site section. Add a label to identify the site, choose “reCAPTCHA V2" and then add a list of domains. Also, remember to add localhost if you intend to test it on your local machine,

Read More

Difference Between MVC And Web Forms

I will explain what MVC is and how it is different from web forms. I will start a series of learning MVC soon. What is MVC? Let's start first with what is MVC? In a general sense, MVC stands for Model-View-Controller. It is a software design pattern. It is different from MVVM pattern. MVC is a pattern based on separation of concerns, which means that View, Model and Controller are independent of each other. As a result, working in teams, maintenance and testing of the application become simpler and easier. So, now what is this Model, View and Controller?

Read More

Create A New ASP.NET MVC Project In Visual Studio 2013

This Article is for Beginners, Who just Start with Asp.net MVC and Visual Studio 2013. In this article, i am using Visual Studio 2013 Community Edition. Step-1 Open Visual Studio. You can open the Visual Studio in many ways which are I explain below: Click the Start button and type “v” in the “search” box. It will list the programs (including Visual Studio) and select the Visual Studio.

Read More

ASP.NET MVC Application Folder Structure

In This Article we learn, How to Create a demo MVC Project using Visual Studio 2013 Community Edition. So, Friends lets Start with the creation of new Project. Create New Project in Visual Studio 2013 which we learn our previous article “Create A New ASP.NET MVC Project In Visual Studio 2013” ASP.NET MVC Folder Structure It is very important to Know about the folder Structure of asp.net MVC. It will help you to add files to an appropriate folder. Visual Studio creates the following folder structure of MVC application by default.

Read More

Subscribe to my weekly newsletter