Saturday, January 10, 2015

Dependency Injection in ASP.NET vNext



http://blogs.msdn.com/b/webdev/archive/2014/06/17/dependency-injection-in-asp-net-vnext.aspx

very interesting discussion here
http://forums.asp.net/t/1989008.aspx?Feedback+on+ASP+NET+vNext+Dependency+Injection

Step 1:

Start a new project




Step 2:



Step 3 :

Add  "Microsoft.Framework.DependencyInjection" entry to project.json



Step 4:

ADD  interface "IUser.CS" to your models





Step 5:
Add the implementation of "User.CS" to your models



Step 6:
Wire up the IUser Interface and User Class in the ConfigureServices method for startup.cs




Step 7

Add the constructor for controller and you are all set







Is there any strategy behind Visual Studio 2015 ?




1. There is world beyond Windows . Lot of  Mac and Linux Machines

2.  More Productivity to Developers.(Node.js provides great feedback. Need to compete with such framework).

3. Keep up with JavaScript Explosion

4. Cloud Computing is future . Make development effort seamless between Desktop and Cloud.
 

What is new in C# 6.0

Here are some new features in

1. Primary Constructors

2. Auto Property Initializers

3.  Using Statement for static members

4. Dictionary Initializers

5. Declaration Expression

6. Await inside a Finally brace

7. Exception Filters


https://www.youtube.com/watch?v=BA3sL783_Co
https://www.youtube.com/watch?v=KvW0NCFuXLg


http://www.c-sharpcorner.com/UploadFile/16101a/null-propagation-operator-a-new-feature-of-C-Sharp-6-0/

Wednesday, January 07, 2015

What is new in Visual Studio 2015

http://blogs.msdn.com/b/webdev/archive/2014/11/12/announcing-asp-net-features-in-visual-studio-2015-preview-and-vs2013-update-4.aspx


1. ASP.NET and Web API have been combined into single programming model.

2.  A no-compile developer experience

3. Better cloud integration

4. Dependency Injection out of box

5.  NuGet everything event the runtime also


ASP.NET 5 templates use a new project structure

The ASP.NET 5 project structure contains a project.json configuration file, and ".kproj" project file. ASP.NET 5 project templates uses a new project layout, creating a project folder under <solutionFolder>\src, and use the global.json file to specify the project reference folder.
Global.json file contains "sources": ["src"] element, indicating the "src" folder as the parent folder of project references. By default, project-to-project reference lookups will use the parent directory, plus the global.json-defined directories. For example, we have the following solution structure and project.json dependency visibility:


he ASP.NET 5 Starter Web template contains the code first migration for Entity Framework 7.0.0-beta.

Dependencies node for Bower and NPM dependencies


Improvement in JSON Editor


Webform 4.6 Improvement
    HTTP 2 Support



Asp.Net Tutorials

http://www.asp.net/vnext

Tuesday, January 06, 2015

Grunt

http://gruntjs.com


is a Javascript Task Runner which can perform repetitive tasks for you like minification, compilation, unit testing, linting etc.


Grunt has hundreds of plugins that help you to automate the tasks.


Nice quick video
https://www.youtube.com/watch?v=q3Sqljpr-Vc



JsHint: JSHint is a program that flags suspicious usage in programs written in JavaScript. The core project consists of a library itself as well as a CLI program distributed as a Node module.

CoffeeScript is a little language that compiles into JavaScript. Underneath that awkward Java-esque patina, JavaScript has always had a gorgeous heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.

Stylus:

Sunday, January 04, 2015

Javascript Review

Soft Skills : The Software developer's life manual

It is good to see  a lot of books regarding soft skills for developers.
I am planning to read this book


Section 1. Career

     What are your goals
      People skill
     Working remotely
     Fix your resumes
              Get a Professional Resume Writer

Section 2.  Marketing yourself
               Give Presentation

Section 3 . Learning


Section 4. Productivity
          Focus, Focus and Focus


Section 5. Financials

Section 6. Fitness


Section 7 Spirit
   How mind influences the body?



John's Sonmez's Interview at InfoQ

http://www.infoq.com/articles/john-sonmez-soft-skills

 The best way to deal with these (WFH)problem is to develop a strict routine that you follow each day.
I treat my workday at home, just like I would at the office. This is the backbone that keeps me focused and on task.
I know specifically when I am going to start work and when I am going to quit. I also am aware of how much work I need to get done each day.
I'd also suggest doing everything possible to minimize distractions. Try to work in an isolated area. Use headphones if you need to and don't let yourself do things like watch TV, play games or raid the fridge.
Finally, set up some kind of social network, either with your team or with friends who work from home or even outside of work. Try to have at least a few times a week where you get some quality human interaction. Utilize video chat when possible and even consider joining local community events to help not feel so isolated.

References:



http://www.amazon.com/Soft-Skills-software-developers-manual/dp/1617292397/ref=sr_1_1?s=books&ie=UTF8&qid=1420424720&sr=1-1&keywords=soft+skills


Monday, December 22, 2014

What is new in visual studio 2013 - 2



Code Lens or Code Information Indicators
I liked the Code Information Indicators . It can be very useful to developers who are refactoring a lot.




One can disable from " options " if one doesn't like them.




 

Wednesday, December 10, 2014

What is new in visual studio 2013 - 1

Team Explorer is more Gui
1. More User Friendly
2. Liked recently used Solutions Links




 

Tuesday, September 09, 2014

Richard Branson : Book Review WSJ

http://online.wsj.com/articles/book-review-the-virgin-way-by-richard-branson-1410218387


Richard Branson stresses the need to be a good listener and the importance of breaking down silos. Strong leaders , he tells us must have vision, creativity and ability to influence them to follow and support them in the challenges of moving an organization into uncharted and often highly risky territory.

 Mission statements are hollow and generic.

Hiring a right candidate to important.

Hire a new guy to shake up the things

Fun environment is important to build passion and build relationships.

Other recommended reading books

1. Odyssey
2. Henry V
3. Supreme Command
4. Ernest Shackleton
5. The Prince

Thursday, September 04, 2014

Wednesday, September 03, 2014

Popular Javascript IDEs

1. Eclipse
2. Webstorm
3. Sublime


Webstorm was recommend by another speaker at Software Meet Up Group