Goals and Objectives :

Objectives Service Oriented Architecture(SOA),.NET, J2EE,TDD,XP,RUP,WATERFALL Methodology,Arduino,3D Printer,Cloud Computing,AJAX

Friday, May 15, 2015

Upgrading the Web Froms Application to 4.5 and make it Web API Friendly


Objective:
To integrate WEB API 2.0 and ANGULAR.JS for current Web Form Application

I was able to successfully integrate WEB API 1.0 with Web Forms.

I tried to integrate the WEB API 2.0 through NUGET.

It was unsuccessful . It was not showing any meaningful message.

I created any  web form with .NET 4.0 and tried to add WEB API 2.0 through NUGET.

It gave meaningful message. To add WEB API 2.0 , you need to use .NET 4.5.

I upgraded all projects to 4.5.

AJAXMETHODS stopped working .

I goggled and found the following solution

http://forums.asp.net/t/1861258.aspx?calling+Ajax+AjaxMethod+not+working
https://prakashrthd.wordpress.com/2014/02/04/calling-ajax-ajaxmethod-not-working/
 

Friday, February 06, 2015

Ways and advantages of migrating javascript code to typescript



Don't like the dynamic nature of the javascript

http://blog.jetbrains.com/dotnet/2015/02/05/ways-and-advantages-of-migrating-javascript-code-to-typescript/

Saturday, January 31, 2015

A decade of unit testing - by Karl Sequin



Found by .net brew
http://openmymind.net/A-Decade-Of-Unit-Testing/

Agree with Karl

1. Unit Testing is design activity
2. Integration tests are must
3. Write Unit test to test non-trivial code
4.  Code coverage is not important.
5. Invest in logging


Unit Testing Strategy , architecture and framework has to done by Architects and Leads.
Developers need help from Architects and Leads.
Review your unit, integration tests at regular interval

Hopefully smart unit tests will make it easier to write unit tests.

Monday, January 26, 2015

How Google works - Book Review



Chapter 1
 Google was a start up company. investor asked Eric to rally the  team  and create a plan that would  establish clear deliverables across the company: product , sales , marketing , finance and corporate development. Plan needed to establish milestones and a roadmap of which products would ship and when.

To this day the rule of thumb is that late half of Google employees should be engineers.

Jonathan has plenty of experience in the "gate based" approach to building product which in most companies entails a series of well defined phases and milestone, governed by various executive reviews that escalate slowly up the corporate food chain . This approach is designed to conserve resource san funnel information up from far-flung silos to small set of design-makers.

Google engineers are business savvy and possessed a healthy streak of creativity.

Hire the best engineers and get out of their way.

How Google was able to beat Microsoft 11 billion dollar challenge is explained.


Why product excellence is required.

Cost of experimentation and failure has dropped significantly.


http://www.wsj.com/articles/book-review-how-google-works-by-eric-schmidt-and-jonathan-rosenberg-1412371982
"company is a symbol of innovation, success and technology leadership."

Anyone managing technology-focussed team should read this book, though not all the lessons will translate outside of Google's unique culture or the era when many of the decisions were made.

If you believe that Google sees the world as zeros and ones and manages that way, this book should serve to ground you in the potential challenges faced by management trying to see decision-making programmatically. What you will find is a framework held together by talented engineers, supported by an insatiable demand for data, and acted on with a set of principles that aren’t always as binary as “smart creatives” might prefer.


http://www.economist.com/news/books-and-arts/21620056-search-giant-shares-some-its-business-methods-dont-be-modest

Though it is not discussed in the book, Google’s management philosophy doubtless springs from the careers of the founders, Sergey Brin and Larry Page. Their youth, vision and technical genius, together with Google’s vast wealth, enabled the company to take risks that others would never contemplate. This is why it vies to photograph every street in the world and scan every book ever published, to say nothing of building self-driving cars and glasses that record almost everything.

In large part Google grew because it threw out the traditional MBA playbook; its success speaks for itself. However, this underscores a shortcoming of “How Google Works”. The experience of Messrs Schmidt and Rosenberg is so coloured by Google’s accomplishments that many of their recommendations best apply to managing teams of aces in lucrative, fast-growing markets, not to overseeing a wide range of talent in low-margin businesses—the life of most managers.





Disabling Windows Pagefile & Hibernation Files

Just ran the WinDirStat for cleaning up the harddisk and found the following interesting topics


1. PageFile and HiberSys are taking lot of space

http://techgage.com/article/disabling_windows_pagefile_hibernation_to_reclaim_ssd_space/

2. Applications

You got the delivery



http://www.lhotka.net/weblog/CodeAndRockAndRoll.aspx

I was thinking about an idea to write a blog entry. I read Rocky blog and his blog always force me think.

Should we focus only on delivering ?

Does methodology matters?

Are we delivering art or commodity?


1. Delivery matters. Ultimately our performance is judged by delivery. We may be technically brilliant and if we don't deliver software in reasonable time, we won't be considered  as successfully.


2. Does Methodology Matters ?

Methodology is lessons learnt from past. There are common problems that occur during most of software cycles and software gurus have come up a series of steps that we should perform to make sure that problems don't  arise .

3. Are we delivery art or commodity.


Monday, January 19, 2015

Diagnostic Tools debugger window in Visual Studio 2015

Diagnostic Tools debugger window in Visual Studio 2015

:(

Supported project types and configurations

The following startup project types and debugging configurations are supported by the Diagnostic Tools window in Visual Studio 2015 CTP 5:
  • Managed WPF, WinForms, Console projects running locally 
  • Native Win32, Console, and MFC projects running locally 
    • Note: the Debugger Events tool is currently not supported for Native projects 
  • ASP.NET 4 using IIS Express 
  • Managed or Native 32-bit Windows Store projects running locally 
The Diagnostic Tools window currently does not support:
  • ASP.NET 5 projects, or ASP.NET 4 projects using IIS 
  • Windows Store projects that are 64-bit, using JavaScript, or running on a remote device 
  • Targeting remote devices

http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/13/memory-usage-tool-while-debugging-in-visual-studio-2015.aspx


http://blogs.msdn.com/b/visualstudioalm/archive/2015/01/16/diagnostic-tools-debugger-window-in-visual-studio-2015.aspx

Friday, January 16, 2015

My Virtual Box Crashed: Lessons Leaned

I was preparing for some demos for Visual Studio 2015. My Virtual Box is not starting.

What if I was going to give some demo.

Lessons Learnt

1. Keep your powerpoint  and  Code in some  cloud storage.
2. Keep in your mind that you may not able to start the software.
 

Monday, January 12, 2015

Smart Unit Tests in Visual Studio 2015




http://msdn.microsoft.com/en-us/library/dn823749(v=vs.140).aspx


I wrote the program and added the smart tests.

  • I think that smartest can be very useful. It worked nicely. I was able to update the program and regenerate the tests
  • Smart tests did identify the gaps in my testing
  • I was able to add manual tests. Regenerating the smart tests didn't affect the manual tests.






 

Web Development Best Practices (Building Real-World Cloud Apps with Azure)


•Stateless web servers behind a smart load balancer.
•Avoid session state (or if you can’t avoid it, use distributed cache rather than a database).
•Use a CDN to edge-cache static file assets (images, scripts).
•Use .NET 4.5’s async support to avoid blocking calls.

http://www.asp.net/aspnet/overview/developing-apps-with-windows-azure/building-real-world-cloud-apps-with-windows-azure/web-development-best-practices