Tags » Visual Studio

Getting version of asp.net MVC in current application

We can get asp.net MVC version in an application

1) By going in references => right click System.Web.MVC and properties.

2)  typeof(Controller).Assembly.GetName().Version.ToString()


Asif Hameed… 11 more words

Visual Studio

Hiding page controls from user control

I have some controls on my asp.net page which I wanted to hide based on the grid view rows count in user control.  I created following method in my aspx page code behind: 144 more words

Visual Studio

Go to Definition

Experienced C#, ASP.net developers will definitely know about this but I though to write some tips for the new developers.

If you are using Visual Studio as your developer platform “Go to Definition” is a nice tool to navigate within objects and methods in your project. 160 more words


Get TemplateID for starting a workflow from the ribbon in SharePoint 2013 workflow


To start a workflow from a SharePoint ribbon a URL needs to be build up in the following format:

SPUserCustomAction action = web.Lists.UserCustomActions.Add();

string workflowTemplateId = workflowId.ToString();

256 more words

C++ Log - Entry #2

I’m tired of Code::Blocks. Yes, I said it. Why am I tired of it? Because I’m very limited when it comes to tutorials. So far, I’ve been messing around with only the console application option-tingamajig. 1,022 more words


Breaking Into Your Lambda

I just learned something new today at Microsoft Virtual Academy.  Heck I almost always learn something new or even things I forgot at Microsoft Virtual Academy… 152 more words