Posts

Showing posts from 2018

Angular Directives

Image
Directives in Angular extend the use of HTML by adding custom behavior. In this blog, we will see the use of directives in Angular.

How to pass data from one component to another component in Angular?

Image
In Angular Apps, you are going to come across a scenario where component needs to communicate with each other.

Angular CLI Commands

Below are few Angular CLI commands that are useful while developing an Angular Application.

Angular 2 vs Angular 4 vs Angular 5

Angular 2, Angular 4 and Angular 5 are open source and fully TypeScript based client-side framework to develop a Single Page Application (SPA).
In this blog, we will explore the new features in Angular 2, Angular 4 and Angular 5.

Building Blocks of an Angular Application

Image
The main building blocks of any Angular Application are Component, Modules, Template, MetaData, Data binding, Directive, Services, Dependency Injection, Routing.

Learn Type Script Quickly

Image
In thig blog, we will learn TypeScript.If you are going to learn Angular then you must be comfortable with TypeScript.

Create Angular App and run using Angular CLI

Image
Once you are done with the installation and setting the local development environment, we will create a new Angular App using Angular CLI.

How to Enable HTTPS for ASP.Net Web API?

Image
In this blog, we will see how to enable a Web API service to the server over HTTPS only and not on HTTP.

Basic Authentication in Web API

Image
In this blog, we will see the implementation of basic authentication in Web API. Security is very important aspects while working on the distributed application. While exposing an API we must take care about security.

What is AutoMapper in C#?

Image
AutoMapper is used to map data between two objects. In this blog, we will see how to use AutoMapper in our application.

Consume Web API 2 in C# Console Application

Image
Web API can be consumed either using JQuery, Angular JS, MVC or Console Application. In this blog, we will consume Web API 2 using HttpClient in a Console Application.

Web API2 CRUD operations using Entity Framework and MVC

Image
In this blog, we will perform Web API CRUD operations using Entity Framework and ASP.Net MVC.

Consume Web API 2 using JQuery in MVC application

Image
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.

Angular Tutorial - Setting up the local development environment

Image
In this blog, we will see how can we setup development environment in Visual Studio 2017 to run angular 2 application.

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

Image
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.

How to upload an image with other form data in ASP.Net MVC?

Image
In this blog, I will write about How to upload an image with other form data in ASP.Net MVC 5. You may read my other articles on MVC.

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.

LINQ with an MVC Project

Image
This blog contains basic information about LINQ. Also, we will see how can we use LINQ in an MVC project.

Frequently asked Web service interview questions and answers

In this blog, I have collected frequently asked Web service questions in an interview.

Is AngularJS different from Angular?

Angular is a well known powerful web application framework in use today. To provide a better stability and highly optimized web application, Angular has released multiple versions time to time.

Important ASP.Net interview questions and answers for experienced developer

In this blog, I have collected the most common interview questions and answers based on my personal experience. Below questions asked for Senior Dot Net developer role.

Tag Helpers in ASP.Net Core MVC

Image
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.

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.

Storage account in Microsoft Azure

Image
Storage account in Azure is a modern data storage place where we store data and files. In this blog, we will see what are storage services available in Azure and How to create an Azure Storage account?

Dependency Injection in C#

In this blog, we will understand Dependency Injection? And, how we can implement Dependency Injection in C#?

Virtual Machines in Microsoft Azure

Image
In this blog, we will see What is a Virtual Machine? and How to create a Virtual Machine in Microsoft Azure?

Important ASP.Net MVC interview questions and answers

In this blog, I have collected interview questions and answers of ASP.Net MVC.
Fro an ASP.Net developer, MVC is very important for interview in any MNCs. 

Caching in ASP.Net MVC

In this blog, we will see how to implement caching in MVC?
Before writing MVC code for caching, you should be very much clear about "What is Caching?"

How to use multiple layout pages in MVC application?

Image
In this blog, we will see how to use multiple Layout page in MVC application.

Exception Handling in MVC

In this blog, we will see Exception handling in MVC.
There are more than one ways to handle an exception in ASP.Net MVC. Let's see in details below -

Areas in ASP.Net MVC

Image
In the previosu blog, I wrote about Filters in MVC.
In this blog, we will see What is Area in ASP.Net MVC?

Understanding ASP.Net MVC Filters

Image
In ASP.Net MVC, a filter executes before or after executing an action method.
Basically, Filter in MVC is a custom class where we can write some of our own logic which will execute before or after action method.

HTML helpers in MVC

HTML Helper methods are predefined methods in ASP.Net MVC to work with HTML forms.
HTML helper methods generate specific HTML tags on browser.

In this blog, we will see HTML Helpers in details.

What's new in ASP.Net Core MVC?

Image
In this blog, we will see What's new in ASP.Net Core MVC?. This is my very first blog on ASP.Net Core MVC.

ViewData vs ViewBag vs TempData

Image
ViewData, ViewBag and TempData in ASP.Net MVC. Let's see the differences among these using code implementation.

Anti-forgery tokens in MVC

Image
In this blog, we will see Anti-forgery tokens in MVC. This is a built-in functionality in MVC given by Microsoft. This is a security aspect in ASP.NET MVC.
Previous Blog - Data Annotation in ASP.Net MVC

MVC data annotation for Model Validation

Image
In this blog, we will see how data annotation work in MVC. We will also see how we can implement form validation using Data Annotation for Model.

Microsoft acquires GitHub - World's largest source code platform

Today, we announced an agreement to acquire GitHub, the world’s leading software development platform. I want to share what this acquisition will mean for our industry and for developers.

What is ViewModel? Use more than one model in View using View Model.

In the previous blog, I wrote about How to Pass data to View?
In this blog, we will see What is ViewModel and How to use it?

How to pass data from Controller to Views

In this blog, we will see how Controller interacts with View in ASP.Net MVC. In another way, we can say - How to pass data from Controller to View?

Error- This configuration section cannot be used at this path.This happens when the section is locked at a parent level.

Image
Recently I installed Windows 10 and started developing application in MVC5. I hosted my application in IIS, but it was throwing below error while accessing URL.

Attribute Routing in ASP.NET MVC 5

As you know, Routing is the important building block in ASP.NET MVC application.
Apart from convention-based routing, MVC 5 supports attribute routing.
In this blog, we will see attribute routing in MVC 5.

How to add constraints in MVC Route

In my earlier blogs, I wrote about Routing in MVC and ActionResult in MVC
In this blog, I will write about - How to add constraints in MVC routing?

ActionResult in MVC

Controllers executes all incoming requests using Action method. An ActionMethod may return different type of result. In this blog, we will see about ActionResult of an ActionMethod in details.

Differences between RenderBody and RenderSection in ASP.NET MVC

In my earlier blog, I wrote about _ViewStart.cshtml file and MVC Routing.
In this blog, I will write about RenderBody vs RenderSection in MVC.

What is ViewStart.cshtml in MVC?

Image
Hi All, if you are new to MVC, read my earlier blogs on MVC. In my previous blog, I wrote about MVC routing. In this blog, we will see the What is _ViewStart.cshtml file?

MVC Routing in Details

Hi All, This is my another blog on MVC.
In this blog, I have explained Routing in MVC. Here I will show how to create a route for different kinds of URL.

How to bind drop-down list in ASP.Net MVC using Model?

Image
In the previous blog, we have seen 'How to bind drop-down list in ASP.Net MVC'
In this blog, let's see how to bind the dropdown list in MVC using Model?

SharePoint 2013 central admin app pool keeps stopping

Image
Hi All, after a few days of gaps I am writing blog on SharePoint 2013. In past few days, I was busy writing about ASP.Net Web API and MVC. One of my blog Top 20 interview questions and answers is favorite among the readers.
In this blog, I will try to solve an issue which I faced recently in SharePoint 2013.

How to bind drop-down list in ASP.Net MVC

In the previous blog, we have seen 'How to bind static values with Dropdown in MVC?'
I have collected MVC tutorial topics, please have a look.
In this blog, let's see how to bind dropdown list in MVC?

How to bind Dropdown list with hard code values in MVC

In my previous blogs, you can read about MVC.
In this blog, we will see how to bind @Html.DropDownList with static values.

Twitter API to get specific hashtag data using C# ASP.Net

Image
These days, social media specially Twitter rules the internet world. Twitter is one of the most famous social media channel. Daily we are seeing something is trending on twitter, that means a particular term or word is getting high in popularity with a hashtag.

In this blog, we will see how to get tweets with a specific hashtag or analytics of a specific hashtag.

Top 30 ASP.Net Web API Interview Questions and Answers

Image
In this blog, I have collected interview questions and answers of ASP.Net Web API.

Top 30 SharePoint 2013 Interview Questions and Answers for Developer

In my earlier blog, I have already collected SharePoint 2010 interview questions and answers. In this blog, I will write about SharePoint 2013 Interview Questions and answers.

Believe me, I have collected top SharePoint 2013 interview questions which will help you to qualify interview in various organizations.

SharePoint: Usage files are not deleted, file is open in SharePoint 2010 Timer

If you have worked on SharePoint 2010, you must have come across .usage file in LOGS folder. Location of this file is hive-folder/Logs.
The main issue with .usage file is you can not delete all the files and additionally these files will keep growing in numbers and in the result, your drive space will keep reducing.

10 Facts about AMP

In an earlier blog, I have discussed over AMP Pages. In this blog, I will write on 10 facts about AMP everyone should know. Recently I wrote on Http GET and POST.

ASP.Net Web API - Media Type Formatter

This is another series of Web API blog. In the previous blog, we have seen about Web API Security, Routing in Web API.
This blog will help you to understand Media Type Formatter in ASP.Net Web API. Earlier I have already written about "How do I get ASP.Net Web API to return JSON"

GET vs POST

In this blog, we will see GET and POST method in details.
GET and POST are 2 important HTTP verbs. HTTP (Hyper Text Transfer Protocol) manage the request-response between client and server.

ASP.Net Web API Security

In the previous blog, I wrote about Routing in Web API.  I have also explained, How to create a secure Web API? in my earlier blog. If you are new to ASP.Net Web API then please start from the beginning level. What is ASP.Net Web API?
In this blog, let's discuss the Web API security in details.

How to get data from SharePoint list and store in SQL Table - SharePoint Tutorial

Image
In the previous blog, I wrote about "How to Export SharePoint list items in Excel using PowerShell script".

In this blog, we will see how to get SharePoint list items and store them in the SQL table.

PowerShell Script to export SharePoint List in Excel File - SharePoint Tutorial

In this blog, I will write about "Export SharePoint list items using PowerShell Script".

Access first , 2nd, 3rd ......nth item in Repeater control

If you are an ASP.Net Developer, you must have used Repeater control to bind data from any data source. The data source could be XML, SQL etc.
Rather than describing how to bind data with Repeater Control, in this blog, I will describe how to access nth item to apply CSS.

LINQ to perform operation with DataTable in C#

If you are a C#.Net developer, then you must be familiar with DataTable and LINQ.
In C#, a DataTable is an in-memory object to represent data in tabular format i.e. rows and columns.
Once you get data in a DataTable object there could be the various operation that can be performed.

Azure Resource Manager (ARM) Model

Image
In this blog, we will see about ARM Model i.e. Azure Resource Manager and Resource Group in details.