Note: I’m not moving to Another world. Still C# and ASP.NET is my bread and butter.
Recently I have installed Ubuntu as Virtual OS in Oracle Virtual Box. This was one of first exposure I got Linux base operating system. Earlier I have used Linux when I was doing my masters as part of their curriculum. So far I am having fun Ubuntu and other Linux base operating system has come far.
After...
Saturday, January 31, 2015
Monday, January 26, 2015
Setting up development environment for ASP.NET 5(vNext) on Ubuntu
I am really enjoying working on Ubuntu. In previous post, We have learn how to install Sublime Text and in this blog post we are going to learn how we can setup development environment for ASP.NET 5(vNext). So what we are waiting for let’s go.
Note: First thing you need to make sure that Python 3.0 or higher version is installed. I have installed latest version of Ubuntu which already has Python...
Sunday, January 25, 2015
How to install Sublime Text 3 in Ubuntu
I am quite having fun with Ubuntu on Oracle virtual box.In last blog post, I have already shown you how you can run ASP.NET 5 (vNext) app in Ubuntu. Now we are going to setup development environment for ASP.NET 5(vNext) and my preferred choice of editor is sublime text. If you have not heard about...
ASP.NET 5(vNext) on Ubuntu 14.4(Linux)
As we all know Microsoft has recently launched ASP.NET 5 and Microsoft has made announcement that it will work on any version of Linux and OSx. So in this post we are going to learn how we can use ASP.NET 5 on Ubuntu.
Installing Ubuntu on Oracle Virtual Box:
As I don’t have spare computer where...
Saturday, January 24, 2015
Recent updates to C# 6.0 syntax with new version of Visual Studio 2015 CTP
This blog post is part of C# 6.0 Features Series.
Recently, Microsoft has announced new version of Visual Studio 2015 and I have downloaded it. At the same time I was checking what’s new in Visual Studio 2015 CTP newer version and and I have found that suddenly my c# 6.0 new features solutions stopped working.
The first problem it got is with static class using features. Following was...
Tuesday, January 13, 2015
Intellisense for Bower and NPM in Visual Studio 2015
CodeProject
Microsoft has recently launched the Visual Studio 2015 Preview with ASP.NET 5(vNext) and it’s got ton of features. In this blog post we are going to learn about Intellisense feature for Bower and NPM.
What is Bower and NPM:
Bower: Bower is a package manager for JavaScript libraries that allow you to define, version and retrieve your dependencies. It works on top of NPM. You...
Sunday, January 11, 2015
Dependency Injection Series–DotNetJalps
I have written couple of blog post about dependency injection. So I thought it will be a good idea to write a summary blog post where it contains all the post about dependency injection.
Implementing dependency injection pattern in .NET
StructureMap–Getting Started
Dependency Injection with Simple Injector
Dependency Injection with ASP.NET MVC and Simple Injector
Hope you like it. Stay tuned for...
Thursday, January 8, 2015
C# 6.0–Dictionary Initializers
This blog post is part of C# 6.0 Features Series.
As we know c# 6.0 provides some cool new features and syntax sugar. Dictionary Initializers is one of them. Till C# 5.0 we used to have collection initializers for collections but now C# 6.0 provides new way of initializing dictionary . This initialization features is available for there collections which supports index.
Following is a code...
Wednesday, January 7, 2015
Continuous Integration Series–DotNetJalps
I have written couple of point related to Continuous Integration and this post will server as a list of posts related to continuous integration.
Why continuous integration is your friend?
Continuous integration with visualstudio.com and TFS
Continuous Integration with visualstudio.com,Unit Test(Test Driven Development) and TFS
Hope you like it. Stay tuned for lots more about Continuous Integration...
C# 6.0–Expression Bodied Members
This blog post is part of C# 6.0 Features Series.
There are lots of great features added to C# 6.0 and Expression bodied members are one of them. It’s provide great syntax sugar which will help you make your code more beautiful and readable. In earlier versions of C# type definitions were always been tedious and we need to provide a curly braces and return type even if that function contains...
Sunday, January 4, 2015
Understanding KRE,KVM,KLR and KPM in ASP.NET 5(vNext)
ASP.NET 5(vNext) is a new upcoming version of ASP.NET that Microsoft has redesigned from the scratch. Recently Microsoft has released Visual Studio 2015 Preview and with that they have released ASP.NET VNext. In ASP.NET 5 (vNext) it comes with new runtime environment called KRE(K Runtime Environment) . With this version you can also run your application through command prompt using various...
Assembly Neutral Interface in ASP.NET 5(vNext)
CodeProject
Recently Microsoft has open sourced it’s entire ASP.NET next version stack on GitHub and I have been closely watching this for a quite a some time to understand how they have created architecture of it and how they organize everything in such a large stack.
I have seen [AssemblyNeutral] attribute in few of interfaces and I was curious why it was required. So I dig into it and...
C# 6.0–New feature series
This post will be aggregator post for all C# 6.0 feature series. Here you can find all of my blog posts about what’s new in C# 6.0.
Till now, I have written following blog posts.
C# 6.0–nameof Operator
C# 6.0–Auto implemented property initializer
C# 6.0–Static class using statement
C# 6.0–String Interpolation
C# 6.0- Null Conditional Operator
C# 6.0–Exception Filters
C# 6.0–String Interpolation
C#...
Saturday, January 3, 2015
C# 6.0–String Interpolation
This blog post is part of C# 6.0 Features Series.
As we all know, C# 6.0 provides lots of small enhancements to the language and string interpolation is one of them. In this blog post we are going to learn how this small new feature can help us for string concatenation.
So let’s take small example, Where I have created a new example of string concatenation. Following is a code for that.
using System;
namespace...
Friday, January 2, 2015
Happy New year 2015
New year passed so fast and that I have not feel as its a big time. On this occasion I would like to thank you all my readers for reading my blog and encourage me via putting lots of comments. I promise I will keep writing this blog whenever I get a chance.
Wishing every one a happy new year!...
Thursday, January 1, 2015
C# 6.0–Exception Filters
This blog post is part of C# 6.0 Features Series.
C# 6.0 contains lots of small features and one of them is Exception filters. It is already there with VB.NET earlier but now it is available in C# also. In exception filters now if exception is combined with Exception statement and If condition of if satisfy then it will execute that block.
Let’s take a simple example to understand it better....