Monday, July 4, 2016

Microsoft MVP 2016 and ASP.NET Community Stand-up link

July 1 is always been a special day in my life Because I eagerly wait for My MVP Status renewal and again this time also I have been awarded for Microsoft Most Valuable Professional 2016 for Visual Studio and Development. On July 1 I got the same email again which I was waiting for it eagerly.


Mvp

On this occasion, I would like to thanks, Biplabl Paul and Gadharv Rawat for their constant support and guidance. I would also like to thanks, MvpAward team for considering me to become a Microsoft MVP. As always there has been great support from friends and family. Without their constant support, I am nothing. So thank you for the constant support family and friends.

Also, I would like to thanks my dear readers of the blog. Whatever I am today is due to readers of my blog. So thank you very much for the constant support and guidance.

ASP.NET Community Stand-up:

Recently before few days, I have written A blog post about How to create Rest API(Web API) with ASP.NET Core 1.0. I just recently came to know that it has been shown in ASP.NET Community Stand-up video as community links. This is a such a great appreciation from the makers of ASP.NET like Damien Edwards, Jon Galloway whom I admire most. Special thank Jon Galloway for the mentioning it on ASP.NET Community Stand-up videos. You can see that video at the following link.



Thanks again for everything. Stay tuned for more!!.
Share:
Monday, June 27, 2016

Publishing existing applications to Github with Visual Studio 2015

Before some time, I have published a blog post for using Github with Visual studio team explorer.  So with reference to this blog post, one of the users email me that how we can publish the existing applications to Github? So I thought it would be a great idea to write a blog post about it. So in this blog post, We are going to learn how we can publish existing application to Github with visual studio 2015. Visual Studio 2015 comes with Team explorer and when you install the visual studio 2015 there is an option to install the Github extension for visual studio. If you have not installed it then you can also insert separately from the following link.

https://visualstudio.github.com/

How to publish existing applications to Github with Visual Studio 2015:

To demonstrate this we are going to use console application, So I have created a core console application with File-> New project.

Sample-Conole-Application

Once created application, I have added it to the source via right clicking solution explorer and Click on Add Solution to Source control.

add-to-source-control-github-sample-application

It will add the solution to default source control, In my visual studio git is configured as default source control. But if it not there it will ask between Git or Team server. Once you click on add solution to source control it will create a local git repository. Now It’s time to write some code. Here is a sample code that I have written.
using System;

namespace GithubConsoleApp
{
    public class Program
    {
        public static void Main(string[] args)
        {
            Console.Write("Github sample application");
            Console.ReadLine();
        }
    }
}
Now it's time to commit code to Local Git repository with team explorer like following.

commit-changes-in-git

Now once you click sync it will try to sync with the remote repository of GIT since we don’t have the remote repository.

different-service-for-hosting-github-service

Here, there are three options available, Github, Team Services or custom remote repository. Since we are going to use Github so click on GetStarted for GitHub option. It will load following screen.

github-publishing-sample-application

Here in above screenshot, My Github account is already configured otherwise it will ask for your Github Credentials.  Now click on publish it will create a new repository in Github and publish the whole history to GitHub also.

published-app-sample-application

You can see the same thing on Github.com also.

published-application-on-github

That’s it. It’s very easy to use Github tools with Visual Studio 2015. Hope you like it. Stay tuned for more!!.
You can find sample Github repository used in this application at - https://github.com/dotnetjalps/GithubConsoleApp
Share:
Tuesday, June 21, 2016

Peek Definition every where in Visual Studio 2015

Visual studio 2015 is great IDE and I love more and more whenever I explore some new features of Visual Studio 2015. In this blog post, We are going to learn about Peek Definition which was available from Visual Studio 2015.It is a great feature with this you can view code without moving to file where this code has been written. Till now this was available only for the C# code but with Visual studio 2015 it is now available with anywhere so now you can have that  available in XAML, CSHTML  and ASPX file too.

Let’s see how it's working on both sides.

Peek definition on C# Code:

You can see the particular code for a class via selecting it and right click and select pick definition or you can use shortcut Alt+F12.

peek-definition-csharp-code-visual-studio-2015

Now once you click on Peek Definition. It will peek definition window like below.

peek-defintion-window-chsarp-code-visual-studio-2015

Peek Definition on CSHTML file:

You can also have peek definition now in CSHTML page also just like below.

peek-definition-cshtml-visual-studio-2015

Hope you like it. Stay tuned for more!.
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews