About the author

Brian Keating is a developer addicted to Microsoft Technologies.

Month List

RecentComments

Comment RSS

Vs11 Xml

clock April 5, 2012 13:34 by author Brian Keating |

 

I’m working with an XML document all morning, and for the hell of it I decided to open in VS11.

Guess what I found, some pretty cool xml/xsd/xslt support

 

image

but the biggest feature I found is the following…

Paste XML as classes! BOOM!!

image

image

Loving VS11…




Visual Studio you rock.

clock February 9, 2012 21:57 by author Brian Keating |

 

I’m was not sure what I’d installed but tonight I needed to create a few regular expressions, and as i started typing this appeared in VS2010

 

image

Pretty cool if I say so myself.

A quick look at my extension manager and I see

image

Visual Studio you rock!

I’ve used quite a few IDE’s lately

  • Netbeans
  • Eclipse
  • IntelliJ (pretty good)
  • XCode 4.0

One thing is for certain, only IntelliJ comes close (but then the Refactor developers are pretty familiar with VStudio Nyah-Nyah

Disclaimer: I’ve been using visual studio since the mid 90ies so I’m truly biased.




Migrate SqlServer DB to Azure Sql

clock December 27, 2011 22:20 by author Brian Keating |

 

Here’s one way to migrate your SqlServer Database to the Azure platform.

1) Get the SQL Azure Migration Wizard http://sqlazuremw.codeplex.com/

image

2) Start the wizard and select SQL Database Migrate option

image

3) Select your source database

image

4) Choose the objects you wish to migrate (all in my case)

image

image

5) See the results and review the SQL Script if necessary.

image

6) Now we need Sql Azure in the cloud for the next part, log into your http://windows.azure.com account (get a 3 month free trial if you don’t have one)

Select your Azure Server and create a new database.

image

7) You’ll be prompted to select where you want your server located if you don’t already have one.

image

 

image

8) Add some rules to your database, you’ll need to do this to allow access for MS Services and Visual Studio

image

image

9) So now that you have a database in the cloud you’ll need to continue with your migration wizard by selecting this database.

image

 

image

 

image

10) That’s pretty much it. Hope these screenshots helps someone out.




HowTo: Consume WCF From WF4

clock December 15, 2010 20:07 by author Brian Keating |

Hi all.

I've discovered this is not as simple as it would appear to be.
Infact it's worse; in "order" to do this you will need to jump through a few hoops...; in a particular order!

 

1. Add an activity library project
2. Add a reference to this new project from your WF4 app (any app with workflows.. silverlight/mvc etc)
    ENSURE: this is done before step 3 or visual studio 2010 will give you a circular reference error!
3. In the activity library add the service reference to your webservice
4. Modify your webconfig file to contain the abc information for the connection (servicemodel stuff)
5. Now use the activities (from the toolbox)

I gather from crawling through google that the above sequence is already well defined as a workaround for the vs2010 bug.

 

 




Visual Studio Project Dependencies

clock November 4, 2009 02:48 by author Brian Keating |

Adding project dependencies on Visual studio is done automatically with .NET projects when Add Reference dialog chooses another project from your solution.

However you can get Visual Studio to add project dependencies if no explicit intra project reference exists.

Right click on your solution, choose properties and choose the project dependencies option.

Screenshot