Getting Started With ASP.NET Core

In this section, thought of getting started new series on ASP.NET Core stuffs right from the beginning. The very first thing which needs to be done here downloading the core components from http://dot.net.  Here, you will get two options LTS(Long Term Solution) and Current. I prefer LTS as this is how it is going to be in future. The major difference which I see is Project Type System (.xproj –> .csproj) change and project.json is going away. This has been done to embrace the existing Microsoft ecosystem which is based on .csproj system.

asp-net-core-logo_2colors_boxed_rgb_bitmap_big

Continue reading “Getting Started With ASP.NET Core” »

1,276 total views, 2 views today

Download Free ASP.NET Core Snippets (Visual Studio Code Extension)

Hi Friends,

Today, I have published my first extension for ASP.NET Core regular stuffs like controller, startup file and main program file. When you login to http://marketplace.visualstudio.com, it will open the below page.

26th

Continue reading “Download Free ASP.NET Core Snippets (Visual Studio Code Extension)” »

1,650 total views, 2 views today

Dot Net Watch Tool

Hi Friends,

In this segment, we will talk about Dot Net Watch Tool. Dotnet watch tool is a file watcher for dotnet that restarts the application when changes in the source code are detected. This is actually similar to nodemon, if you are familiar to node js, then this must be familiar to you. If you are using IIS Express then, it actually does this restart for you already. This piece is really helpful if you are running the app in console.

Continue reading “Dot Net Watch Tool” »

1,051 total views, no views today

Visual Studio Code in Action


Hi Friends,

In Build 2015, Scott Hanselman announced one really cool tool Visual Studio Code. I thoroughly enjoyed his presentation. So, as soon as he done with the presentation, i just downloaded the same from http://bit.ly/visual-studio-code and started testing the same. Best thing is that it installed in a minute literally in a minute. So, 1st reaction is fast and amazingly fast. For people like me who love coding and can’t manage to have full suite VS installed on all the machines, Visual Studio Code is a boon for them.

It gives me all the required intellisense what is offered in VS, plus this is platform independent. So, doesn’t matter whether i am running on Windows, MAC or LINUX. I can open the file in Code, get the real time feel of VS; do the changes and bang. Let’s jump to quick demo.

Below is the snippet of my movie review app where in i have added my API with ease from VS Code.

1st

2nd

Here, you can see we also get same intellisense support as we get from VS.

3rd

4th

Also, if you want to quickly jump between the files and do some changes, you can do the same with CTRL+O option as shown below.

5th

6th

While writing test case also. we get the similar intellisense support. Also, we can go ahead and debug our app and we get call stack, watch and variables as well. For debugging little environment settings needs to be done in project.json file. This is well drafted in VS Code documentation. Thanks for Joining me.

Thanks,
Rahul Sahay
Happy Coding

1,437 total views, no views today