Hosting (74th Free) workshop in Chandigarh on AngularJS and Repository Pattern in MVC.

Register for FREE to attend the event

In June last year, I hosted a workshop on AngularJS in beautiful city Chandigarh. I was overwhelmed seeing self-motivated and energetic developers attending the event. It’s their love and continuous request on various social media channel that I am excited to back again.

clip_image001

Yes, I am hosting 5 Hrs. session on AngularJS and Repository Pattern in Chandigarh on 31st January. As always, I will represent Infragistics and whole show is managed by C-SharpCorner.com.

Event will be hosted in Kisan Bhawan Sector 35A, Chandigarh starting at 9 AM and as always it is FREE to attend.

Register for FREE to attend the event

I will be taking two sessions,

Building MVC Application using Repository Pattern (60 minutes)

  • Introducing Repository Pattern
  • Introducing Dependency Injection
  • Creating application using Repository Pattern

AngularJS in a Nutshell (150 minutes)

  • What is AngularJS
  • Controller and controller as syntax
  • $scope and $rootScope
  • Filter and custom filter
  • Routing
  • Services in AngulrJS
  • Provider in AngularJS
  • Service(), Provider(), Factory(), value() and constant()
  • Unit Testing in AngularJS using Jasmine and Karma
  • Getting started with Directives
  • Scopes in directives
  • Components in AngularJS
  • Angular JS project structure

I am very excited for upcoming Chandigarh session. I am sure we will become better developer together. Once again to reiterate some important points about event is given below:

  1. Its absolutely FREE to attend
  2. Venue is : Kisan Bhawan Sector 35A, Chandigarh
  3. Registration starts at 9 AM.

Register for FREE to attend the event

Creating a photo album for ASP.NET MVC 5 Users using Azure BLOB storage

In this blog post, we will integrate ASP.NET MVC with Azure BLOB Storage by saving an image for an ASP.NET Identity 2.0 user in Azure BLOB Storage. We’re going to cover a lot of ground in this post, including:

  • Using ASP.NET Identity 2.0 user as reference in other table.
  • Creating a one to many relationship with ASP.NET Identity 2.0 user table
  • Connecting an ASP.NET MVC application to Azure Storage
  • Creating or Uploading a BLOB
  • Deleting a BLOB
  • Downloading a BLOB
  • Uploading a file from MVC form to a Azure BLOB

The final output of the blog post we plan on creating in this post will look more or less like the image below. As you can see, a user can upload a photo to her album, delete a photo, and of course, view photos too.

image

Architecture of the Application

The High-level architecture of the application can be drawn as shown in the image below:

image

Creating tables to save images

When we create an ASP.NET MVC application using the given MVC template in Visual Studio, by default, a basic authentication gets created using the ASP.NET Identity 2.0. In a default MVC project, a template for the authentication and authorization purpose ASP.NET Identity 2.0 creates the tables as shown in the image below:

Read full article on the Infragistics Blog

Hosted Step by Step ASP.NET MVC workshop for beginners

Each month on the behalf of Infragistics , I host at least one Infragistics Day for the community. Infragistics days are free to attend and we cover various topics such as AngularJS, MVC, JavaScript, WCF, C# etc.

image

On 17th January 2015, I hosted Infragistics Hours in C# Corner Noida office. I this, we did a step by step workshop on ASP.NET MVC. This workshop was targeted to beginners. Five hours workshop was attended by around 80 developers. In the workshop, we covered following topics,

  • What is MVC
  • Understanding Controllers , Actions, and Child Actions
  • Understanding Models
  • Understanding Views
  • Understanding Routings
  • Performing CRUD operation using the database first approach
  • Integrating Ignite UI in ASP.NET MVC

image

Looking forward to host more such events. See you in next event.

Creating Unit Tests for ASP.NET MVC Controllers

In this blog post, we will learn to write unit tests for various MVC controller’s behaviors, such as view’s return types, redirecting to different actions etc. Specifically, we’ll cover writing Unit Tests for:

  1. ViewData of the Controller
  2. TempData of the Controller
  3. ViewBag of the Controller
  4. View of the Controller

Let’s get started!

Creating the MVC Project under Test

Let us go ahead and create a MVC project under Test. To keep things simpler, I have selected ”No Authentication” for the project. In this example we are going to write unit tests for the HomeController. The HomeController contains two action methods:

  1. Index
  2. Details

We are going to write tests for these actions. The HomeController contains code as shown here:

Read full article on the Infragistics Blog

How I did in 2015?

image

I procrastinate, hence this blog post is 12 days late. Nevertheless, I wish Happy New Year to each one of you. May you get best of the life in 2016. Many of us don’t like to read long stories and enjoy reading data in all possible ways. For data lovers here is the summary in a tabular form. However, I strongly request you to read the full story in your sweet time.

Where I was working

image

My Work

image

For me 2015 has been an ok year. Neither anything exceptional nor any fatal bad event did happen in 2015. I took 2015 on a day to day basis.

Did not enjoy as corporate Trainer

I started as a freelancer corporate trainer in January 2015 and could survived as a trainer merely for three months. It is a different kind of competition, trainer community, and vendor eco system. I did around 10 trainings in 3 months, however I realized that I don’t belong to there. I love to teach but certainly I am not a trainer. In three months, I did trainings for following clients-

  • Accenture
  • FactSet
  • Polaris Software

I will keep seeking opportunity to host workshop and teach developers, however not as so called corporate trainer. Life is too short to do the stuff you don’t enjoy, isn’t it?

Resumed as Developer Evangelist at Infragistics

I am a Developer Evangelist by instinct and aspired to enable developers all across the globe.

image

It was April afternoon when I met inspiring Jaosn Beres in one of the posh Delhi hotel. We talked about my career aspirations, strong and weak points etc. During our conversation, Jason asked me – why don’t you represent Infragistics as an evangelist in developer community? He added, you work hard and I will make the path for you to become Infragistics global evangelist. It was an offer, I could not resist. I said YES then and there.

I was Telerik evangelist till April 2014. I confess, for a year I missed being an evangelist. Teaching developers, conducing workshops, hosting webinars, and moreover enabling developers to take right decisions on the products. Jaosn offer gave breath to dying evangelist in me.

I was once again DEVELOPER EVANGELIST of Infragistics starting April 2015. Being an evangelist from April to December for the developers,

  • I wrote 36 articles on various topics like AngularJS, JavaScript, MVC, AZURE
  • I hosted 9 free webinars
  • I delivered 11 talks in various conferences and user group events.

Find recording of all the webinars here

Read all the articles here

I love to be an evangelist, and I am been doing it once again. I will focus on web based products like Ignite UI. I look forward to add more values for Infragistics Developer community in 2016.

Community rocks

image

With help of C-SHARPCORNER COMMUNITY and my personal blog, I have been teaching developers all across the country. I don’t charge to attend my workshops. A thousands of developers attend my workshop, sessions, and Infragistics day. In 2015, I focused mainly on Azure, AngularJS, JavaScript, MVC and Ignite UI.

  • I wrote 63 articles
  • I hosted 14 workshop/session
  • Hosted one session in Mathura village for school students

Looking Forward in 2016

I am very excited about 2016 and I am sure it is going be bigger and better. I look forward to add more values to Infragistics developer community as an Evangelist, to my blog readers by writing quality posts, and doing more sessions/workshop for C-sharpcorner chapter community.

I may become more ambitious also, and why to discard own Startup? ;) Good luck everyone. Have a great 2016.