Skip to content
February 20, 2016 / kiranpatils

Technology trends you should know

After getting positive feedback on : https://kiranpatils.wordpress.com/2011/09/29/why-we-need-windows-communication-foundation/

https://sitecorebasics.wordpress.com/2015/04/04/sitecore-multisite-basics/

Thought to spend sometime to write a new comic on Technology trend! So, If you would like to learn about Latest technology trend then  this article is for you

Before you go further I would like to mention that this article would have not been possible without this article from Tess : https://blogs.msdn.microsoft.com/tess/2015/11/12/mastering-asp-net-5-without-growing-a-beard/

So. If you liked this article then the credit goes to her and NOT me. Because I just converted those learnings in comic — So, you enjoy reading it!

Let’s go!

In a small town there used to be a guy. Who was very had working. His name was Mr.Earner he was very busy in his project and personal life (like you!) and when one fine evening he was reading about latest technology trend. He felt that he left behind the technology trend. So, he went to church and prayed to Jesus for showing him path!

As always Jesus listens him and guides him to talk to Mr. Learner — Mr. Learner is a famous in town for his knowledge and knowledge sharing skills.

TT1

TT2

TT3

TT4

TT5

TT6

TT7

TT8

Keep learning, Keep Sharing!

Happy Coding! 🙂

March 23, 2017 / kiranpatils

क़ुरबानी

तुमने छोड़ा था घर को इस देश के लिए,
हमने भी छोड़ा घर को पर किसी और देश के लिए.

तुमने खाई थी लाठी बर्फ पर लेट कर,
हमने बनाया जाम वैसी ही बर्फ से.

तुमने फोड़ा था बम अंग्रेजो को जगाने  के लिए,
हमने भी फोड़े बम स्कूलों को  हिलाने के लिए.

तुम्हे लगता था इस देश जैसा और कोई देश नहीं होगा,
हमें लगता हैं इस देश का कुछ नहीं होगा,
हम मैं से कई हैं जो अबभी मानते हैं, इस देश के बिना और देशोंका कुछ नहीं होगा।

तुमने आज़ादी देकर बड़ा उपकार किया हम पर,
हमभी करेंगे कोशिश पूरी ऋण लौटाने का उम्र भर,
हमें नाज़ हैं  भगत सिंह, राजगुरु, सुखदेव और हमारे शहीदों तुम पर!

Read more…

February 15, 2017 / kiranpatils

Venn diagram of developer types

Hey readers, It has been so long since we had a chat [Even one way :-)]. Have been busy with lot of things. But as I have been saying in past, The more busy I’m, the more I got for you to read.  So, le’s come to the point.

It has been roughly a decade since I am privileged to be in Software Development field. During that period, have played different roles. Now, When I look back, I try to analyze lot of things and I came up with my understanding about type of developers. You might ask why I need to know type of developers. Here are my views why:

  1. Hiring : When you are hiring new developers, you need to understand which type of developer is this and which type of developer you are looking for or your team needs right now [I have been part of roughly >50 interviews till this time, and hiring is also one of the data source for this blog post]
  2. Coaching and mentoring : If you know various types of developers and based on that if you identify someone is of some type and he/she should work on X/Y/Z to be of some else type etc.
  3. Forming team: When you start a new project, and you are one of the team selector, Then it will be good to know and make a balanced team.
  4. Self improvement: After reading this post, and If you agree what I am going to say then this post might help you to identify your type and work towards improving other aspects and be THAT BEST DEVELOPER Which World is searching for!

Enough reasons to convince you to read this further? 🙂

I thought a bit and then came a Eureka moment — Where an idea came, Why don’t we use Venn diagram to explain this! And I’m excited to share output with you:

 

venn_diagram_for_developers

 

Let me explain these types in detail:

Mainly they are based on their thinking style

  1. Technical : They are super technical. They know each technology as soon as they are available. They would like to get their hands on it and would love to implement it in their current/future project. There are quite a few who will try to fit new technology without even fully understanding it. But they will have solution for all technical problems. And each project must have at least one of  them. They make good Technical Architect or Technical role.
  2. Business : This type of devs will understand business very well. They speak client’s language and that’s why most of the time client loves to work with them.
  3. Analytical : This person thinks all things from analytical point of view. (s)he will come up with the easiest and best solution which neither technical/analytical person can think of. They will not be super strong in technical. But If you pair this dev with Technical team member they rock
  4. Technical-Business-Analytical: And you know that sweet spot, when one person can think from all angles. YES, they do exist. But sadly they are very few and again this type of thinking takes sometime. Because when you are out of college, initially you think to solve everything using technology. Because that’s what you have been taught. But gradually, If you mentor someone closely they can come in this type in a longer run. Usually, This type of folks should be leading a team.

So, what makes a best team? It depends on lot of factors, e.g. Project complexity, Resource availability etc. But If you want to make super complex project successful. I would recommend, Combination of these types will rock your project. And that’s what I look for when I have to form a team — Sharing my secret with a wish that you will share with others!

Happy Team Building! 🙂

March 14, 2016 / kiranpatils

जब से हमने सर ज़ुकाया हैं

The other day someone shared nice image — With the title of “Facebook logo meaning” and somehow it was back of my mind and while observing people for a while I found. How true it is.

https://i2.wp.com/comicsup.com/images/siglafcb2.jpg

 

And that’s when this poem came to my mind:

जब से हमने सर ज़ुकाया हैं,
हमने कुछ मिसिंग पाया हैं.

जब से हमने सर ज़ुकाया हैं,
समय को पानी की तरह बहाया हैं.

जब से हमने सर ज़ुकाया हैं,
ट्राफिक को बढ़ता पाया हैं.

जब से हमने सर ज़ुकाया हैं,
याद नहीं अपनों से कब बतियाँ हैं

जब से हमने सर ज़ुकाया हैं,
याद नहीं कब भटके हुए मुसाफिर का लुत्फ़ उठाया हैं

जब से हमने सर ज़ुकाया हैं,
ना किसी से टाइम पूछने के बहाने बतियाने का मौका पाया हैं

जब से हमने सर ज़ुकाया हैं,
मैदान को सुना ही पाया हैं

जब से हमने सर ज़ुकाया हैं,
चौबारों पर दादाजी/चाचाजी को ही पाया हैं

इस कविता पढ़ने के लिए भी हमने सर ज़ुकाया हैं,
कोई नहीं, अब तो सर उठाओ और आपके सामने वाले से बतियाओं!

References:

 

November 8, 2015 / kiranpatils

Future Unleashed India 2015 Experience

Luckily, Along with my troop got a chance to be present at Future Unleashed India 2015. Would like to share my experience with them who can’t make it happen or who would like to have a quick recap of it!

It was held at Nesco convention center at Mumbai on 5th and 6th November 2015. On 5th there was a business track (Where Mr. Nadella and lot of big names of Indian IT Industry attended and presented) and on 6th there was a technical track.

Full agenda can is here : http://futureunleashed.microsoft.com/default.aspx

I’ve been able to be part of Technical Day and keen to share that experience with all of you!

But before that will share my registration experience. It was just awesome, Microsoft team kept calling and we were in sync with all latest and greatest details. And on the event day as well. Whole process was super simplified — And would like to say thanks for all the teams for being so helpful and co-operative!

My notes from Technical tracks which I’ve been able to attend:

Keynote by Scott G.

Before keynote started the musical performance was awesome, and it recharged the whole environment!

It was great to see Scott in person. He shared few important updates:

  • Now, Azure is in 24 Regions around the world!
  • Azure is unique platform which support On premise setup as well as Cloud setup
  • Azure it opening 2/3 Data Centers in India
  • Quick demo of creating new VM and publishing stuff from Visual studio
  • Quick demo or Power BI as well
  • He also called few partners to share their learnings with audience. It was great to hear their experience!

Building Modern Web App with ASP.NET 5 and VS 2015

  • Great session by Mr. Chetan Vaja
  • He demonstrated capabilities of ASP.NET 5
    • Few big changes
      • You can host your ASP.NET Website without IIS — On Console — Self hosted
      • Can be hosted on Linux and Mac as well — He demoed it!
      • Has Built in DI
      • Everything is modular
      • For web forms you have to use 4.6
      • It uses Roslyn compiler. Which means you no need to build your change and wait for a long time. Just do a change and do F5 on browser — More like PHP Experience
    • Got integration like
      • grunt
      • gulp
      • bower
  • DNX = Dotnet execution environment
  • Kestrel : New open source linux server
  • Good to read links: docs.asp.net

Continuous Testing

  • Awesome session by Mr. Atin Bansal – Senior Program Manager
  • Demo of IntelliTest : Using which you Visual studio can create all possible test cases automatically. And you can save them as .CS file – As of now it works with Public methods only
  • Cool things with VSO – Visual Studio Online
  • Load testing on VSO and VS 2015 : Covers all scenarios I know. But you need to have VS Enterprise license and ready to pay for VSO load testing
  • Manual testing — Test cases addition and execution support

IOT From Scratch

  • There will be 25 B connected Gadgets by 2020 [Source : Gartner]
  • Grove PI +
  • Full demo : Where PI sent data, Azure was receiving data, and using Power BI we can analyze that data!

Technical Debt with TFS and SonarQube

  1. Good session by Harysh Menon
  2. MS is working on integrating it with SonarQube
  3. So, you can see Technical Debt and can do quality releases!

As of now have to install it using Zip. But they are working on making installer

Neo4j – The graph DB

  • Good session by BrijRaj Singh
  • Nicely explained
  • Graph DB Concept
  • We had few demos

Overall the event was awesome! Microsoft took very good care of us. Everything was just perfect. Would like to give my gratitude to the whole team — And I thought doing it via blog post will be the best way to do it!

Waiting for the next one..!

References:

http://futureunleashed.microsoft.com

September 11, 2015 / kiranpatils

हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

Dedicated to everyone who has seen those 90’s Days:

हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

पूरा दिन हसते खेलते,
ओर एक ही चैनल (दूरदर्शन) से भी खुश रहे लेते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

बडे होते होते रामायण/महाभारत कई बार देख चुके होते,
शायद इसलिए जीवन जीने के हमारे फलसफे क्लियर होते
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

बन्दे थे हम इतने भोले,
मूर्ति दूध पीती है इस बात बात को भी पचा लेते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

माना हमारे पास मनोरंजन के साधन काम होते,
पर हरेक कार्यक्रम के समय/दिन बिना रिमाइंडर याद रहते,
शायद इसीलिए शाम को हम समय पर घर पर होते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

माना की टीवी मैं चित्र इतने  साफ़ नहीं होते,
पर लोगो के दिल आईने की तरह  साफ़ होते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

घर हमारे छोटे, ओर ना उनमे ऐसी होते,
पर अलग मजा था, जब हम साथ मे छत पर जाकर सोते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

ना मोबाइल, ना वीडियो गेम होते,
पर गलियो मैं बच्चो के खेल (लुप्पा-छुप्पी, कंचे, कबड्डी, इत्यादि) अनोखे होते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

समय बहुत था, पैसे कम थे, पर हमेशा खुश रहते,
पर जनाब अब हाल हैं उलटा, इसिलए उस समय को याद करकर अपना मन बहलाते,
हम नाइनटीस के बन्दे, हम नाइनटीस के बन्दे!

August 25, 2015 / kiranpatils

One-Click Publish in Visual Studio showing an error The underlying connection was closed: An unexpected error occurred on a send

Challenge:

If you are using Visual Studio one click publish, and you are facing following error (We were getting it while doing publish from Build server to Target server.)

Web deployment task failed. (Could not complete the request to remote agent URL ‘https://<HOSTNAME/IP&gt;:8172/msdeploy.axd?site=<OURWEBSITE>’.)
This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.
Error details: Could not complete the request to remote agent URL ‘https://<HOSTNAME/IP&gt;:8172/msdeploy.axd?site=<OURWEBSITE>’.
The underlying connection was closed: An unexpected error occurred on a send.Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host                   0              0              WEBSITENAME

Or any other error related to Web Deploy [a.k.a. MsDeploy] technology used behind the scenes of Visual studio publish. Then this post is for you!

Solution:

This is the error, Which took days and days for us. Because all settings were working since couple of years and suddenly it stopped working. Without getting any clue. This is what we did for troubleshooting:

  1. Disable Firewall/Antivirus, Allow Port 8172
  2. Make sure Hostname/IP gets resolved
  3. Server’s IP and Port number is reachable : Yes – We verified it using Telnet and it can connect to Port 8172  and also verified Firewall rules as well – All good!
  4. Verified all Web deploy related services are fine or not – and they are fine – We tried to run Powershell script given by Microsoft in Reference Link #2 – But no luck
  5. Verified username and password are fine – They are fine – Verified it using remote desktop with those credentials
  6. Reinstalled MSDeploy on SBX – and It didn’t helped
  7. No any log entry in MS Deploy IIS Log [HEAD/POST]
  8. Tried with MSDeploy command : msdeploy.exe -verb:dump -source:iisapp=”Default Web Site”,computername=https://:8172/msdeploy.axd?site=Default%20Web%20Site,username=,password=,authType=basic  -verbose –whatif
  9. Fired MS deploy command from my local – as given in earlier email and monitored packets on SBX server using TCPView and netstat command : Found that : TCP Packet gets sent on 8172 and status : SYNC_RCVD – and then it drops packet

During this whole process. This is what we understood:

– Web Management Service listens on 8172
– If request received it calls MsDeploy.axd

Somehow, packet gets reached to Machine – But after that it should forward it to IIS – And in turn IIS will send it to MsDeploy – And looking at log files – Packet is being dropped at machine level

  1. http://forums.iis.net/t/1227905.aspx?The+underlying+connection+was+closed+An+unexpected+error+occurred+on+a+send+
  2. http://stackoverflow.com/questions/12959501/web-deployment-task-failed-when-using-webdeploy-in-vs2012
  3. http://www.iis.net/learn/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio
  4. http://stackoverflow.com/questions/5841370/cant-get-my-ec2-windows-server-2008-web-stack-instance-to-receive-publishings
  5. http://stackoverflow.com/questions/11479927/visual-studio-2012-web-deploy-to-windows-server-2008-r2-with-iis-7-and-msdeploy
  6. http://www.asp.net/web-forms/overview/deployment/configuring-server-environments-for-web-deployment/configuring-a-web-server-for-web-deploy-publishing-(web-deploy-handler
  7. http://stackoverflow.com/questions/10894671/msdeploy-fails-for-webdeploy
  8. http://blogs.msdn.com/b/amol/archive/2011/02/09/errors-seen-while-using-msbuild-to-deploy-on-a-remote-iis-server-and-their-solutions.aspx

We raised ticket with Microsoft Support folks and this has been fixed by changing Server URL to : http://<HOSTNAME/IP&gt;  from : https://<HOSTNAME/IP&gt;:8172/msdeploy.axd [Reference link : https://msdn.microsoft.com/en-us/library/dd465337%28v=vs.110%29.aspx]

To be honest — We haven’t been able to find out why earlier URL was working earlier and not working now!