Archive for the ‘VS.NET’ Category

Navigate to the .NET Framework source online from VS.NET IDE!

February 26, 2014

Most of you knew that Microsoft recently launched a browsable version of the .Net reference source code at http://referencesource-beta.microsoft.com.

This would help great and get us the insight over how all of the .NET code has been written. For example,
if you would want to see how String.IsNullOrEmpty() and String.IsNullOrWhiteSpace() has been implemented, here you go.

public static bool IsNullOrEmpty(String value) {
return (value == null || value.Length == 0);
}

public static bool IsNullOrWhiteSpace(String value) {
if (value == null) return true;

for(int i = 0; i < value.Length; i++) {
if(!Char.IsWhiteSpace(value[i])) return false;
}

return true;
}

Interesting, right!

Reference: Have a look @ Scott Hanselman's blog: http://goo.gl/D9jR6a

Below is the code excerpt from Scott Hanselman’s blog:
BONUS: Community Visual Studio Extension for navigating into the online .NET Framework source from VS.NET IDE.

Here’s an exciting bonus. Community member and fabulous coder Schabse Laks has created a Visual Studio extension for VS2010, 2012, and 2013! This extension sends calls to Go To Definition (or pressing F12 on a symbol) directly to the code online (when it’s .NET Framework code, not yours).

You can download this companion “Ref12” Visual Studio Extension now! Just Goto Definition on any .NET type we have source for and it’ll launch your default browser so you can explore the .NET Framework source yourself! Thanks Schabse!

Enjoy exploring!

Advertisements

VS.NET 2013 and ASP.NET MVC 5!

July 14, 2013

Hello friends, ASP.NET MVC 5 has been bundled with VS.NET 2013 preview release. Here are few links for your reference.

VS.NET 2013:

The below url has the fantastic list of information about ASP.NET and Web Tools for Visual Studio 2013 Preview as well as the updated ASP.NET and Web Tools. Enjoy reading!

http://www.asp.net/vnext/overview/latest/release-notes#TOC10

ASP.NET MVC 5:

Tutorial available for Getting Started with ASP.NET MVC 5.
http://www.asp.net/mvc/tutorials/mvc-5/introduction/getting-started

Note:
The ASP.NET MVC Framework is an open source web application framework that implements the model–view–controller (MVC) pattern.

http://aspnet.codeplex.com/wikipage?title=MVC

As of now, the download is available for MVC 4 only.

Just a pointer to the title related information. 🙂

Features in Visual Studio 2012 and ASPNET 4.5” Free E-book

August 4, 2012

There is an E-Book available for download in Telerik’s website. This e-book contains an overview of the features that would help great you as a developer :).

So, what is in this e-book you ask? Well…..

  • JavaScript Intellisense
  • CSS Intellisense
  • ASP.NET and Web API (overview and CRUD operations)
  • Strongly Typed Data Binding
  • Page Inspector (new debugging tool)
  • Etc

Here you go…

Free E-book: Time-Saving VS11 and ASP.NET 4.5 Features You Shouldn’t Miss

Delete a TFS task

April 13, 2012

Simply i was trying to create a sample task in TFS, its done successfully. Then tried to delete from there as it is a live one , and everybody would be looking into it. But, searching the options in TFS for long, i felt tired and nervousness. Finally, started googling and got few forums with no direct stuffs told. So thought of giving the stuff simple and humble 🙂

First of all, we need the exe file Witadmin.exe for deleting the tasks in TFS.

Where it resides? –  C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE  (you have to check the folder, depending upon the system type you have)

Initially, I was searching underneath C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools, and got confused.

Here is the list of available commands with Witadmin:

Possible options:

So, finally, your command would look like…

>witadmin destroywi /Collection:http://%5BServerName%5D:8080/tfs/id:%5BId%5D

Note: Text kept inside “[]” differs as its provided to you. Also provided the permission to delete 😉

Hope, this helps! 🙂

Microsoft Visual Studio 2011 Developer Preview (Web Installer) ready!

September 19, 2011

Overview (Excerpt from Microsoft.com)

Visual Studio 11 Developer Preview is an integrated development environment that seamlessly spans the entire life cycle of software creation, including architecture, user interface design, code creation, code insight and analysis, code deployment, testing, and validation. This release adds support for the most advanced Microsoft platforms, including the next version of Windows (code-named “Windows 8”) and Windows Azure, and enables you to target platforms across devices, services, and the cloud. Integration with Team Foundation Server allows the entire team, from the customer to the developer, to build scalable and high-quality applications to exacting standards and requirements.

http://www.microsoft.com/download/en/details.aspx?id=27543

The .NET Framework 4.5 Developer Preview is also installed as part of Visual Studio 11 Developer Preview.

Note: This prerelease software will expire on June 30, 2012. To continue using Visual Studio 11 after that date, you will have to install a later version of the software.