Tag | Visual Studio Posts

Fellow Techies of the world.. Welcome! In this obligatory first post I want to just tell you a little about myself and what I intend to do with this blog. I’ve worked in fits and starts on a tech blog before so I’m happy to be a part of the GeeksWithBlogs community now and make it my new home. Let’s begin at the beginning… Sometime back in 1995 my dad (who has worked with computer pretty much since there have been computers) brought home 2 books. Visual Basic 4 and Visual C++ 4 (For Beginners). I ...
Open firewall ports as listed in http://msdn.microsoft.com/e... SQL Admin Connection- 1434 (TCP) SQL Debugger - 135 (TCP) SQL Service Broker - 4022 (TCP) SQL TCP Browser - 2382 (TCP) SQL UDP Browser - 1434 (UDP) SQL Server - 1433 (TCP) Note: This may have to be open on the client side as well SQL Dynamic Port - 49172 (TCP) Programs SQL Server Management Studio SQL Server TCP-IN SQL Browser Visual Studio Remote Debugging ...
It seems odd that in 2011 there is no such thing as a requirements capture language. Martin Fowler describes this as the yawning crevice of doom in software - http://martinfowler.com/bli... , http://www.infoq.com/news/2... When I am building code it is ludicrous that I need to read a perpetually changing 50 page Word document or Excel spreadsheet, or worse a set of UML diagrams that are totally disconnected from reality. We need a standardized ...
Full Disclaimer: Since I am on the GeeksWithBlog.NET Influencer list, I was issued a free 1-year subscription to DiscountASP.NET TFS2010 remote hosting. With that said, the thoughts/opinions located below are my own. I’ve always like Team Foundation Server. The main thing that I’ve hated about it was installing/maintaining it. I’d rather spend that time learning more about things such as Silverlight/WPF/WP7. I really didn’t know what to expect as we use another source control at work and I’ve never ...
As I mentioned in a previous blog post, I’ll be speaking on IntelliTrace at Tech Ed 2001 – North America. This blog post is the first in a series that I’ll publish as I delve into IntelliTrace in more detail, in preparation for my talk. IntelliTrace is enabled by default in Visual Studio 2010 Ultimate, but it is configured so as to only capture some basic information, so as to not impact application performance. I thought a good starting point would be to look and see what the different configuration ...
I am in the proccess of putting together a demo machine. i arleady have a Windows 7 VM with the essentials for SharePoint Deveopment. But I spent some part of the weekend putting together a demo machine and after some thinking I decided to share some points that you might want to consider when putting together a Development or Demo machine as a SharePoint Developer\Consultant. I also welcome any comments and opinions or rebuttles to any of these points. I spent some time and put together a WIndows ...
If you have a lot of TFS build definitions for your projects, its been a bit of a hassle that there is no way to organize and manage them in Team Explorer other than a long flat list. Well, the good folks at Inmeta have released the Inmeta Build Explorer tool which displays build definitions in a hierarchy where names use a . notation to delineate the hierarchy. Since most folks have been implementing a naming standard for builds which at least organize build definitions for ordering, this doesn’t ...
In Part 1 we've talked about how to insert data to the database with Entity Framework. In this part I'm going to demonstrate how to fetch the data from the database and populate the form fields with Entity Framework. STEP 1: Setting up the Form To get started let's go ahead and fire-up visual studio and add a new WebForm. For the simplicity of this demo I just set up the form like this: <asp:Content ID="Content2" ContentPlaceHolderID="MainC... runat="server"> <asp:DropDownList ID="ddlUser" ...
Few months ago I wrote a series of articles regarding how to Insert, Update, Fetch and Delete data in the form using LINQ to SQL. You can view the series of articles below: Inserting Data to Database using LINQ to SQL Fetching Data from Database and Populating fields in the Form using LINQ to SQL Editing, Updating and Deleting Data in the Form using LINQ to SQL In this article I'm going to demonstrate the basics on how to work with MS Entity Framework. Basically in this part I'm going to show you ...
This is my first real go round with Expression Blend and SketchFlow and it is taking quite a while to get used to it. After several iterations of names and screen dragging, dropping in the SketchFlow Map, and adding a few elements to some screens, I decided to try and run my recently created Silverlight SketchFlow project. To my surprise I received error message and a broken build. How could I get a build break if I didn’t even write any code? Man, maybe I should stick to Visual Studio. My co-workers ...
Over the last few days I’ve been coding away with several ORMS and code generators trying to find me one which I am comfortable with. Here is what I learn Not all ORMs are perfect! SubSonic Telerik OpenAccess nHibernate via Code smith Generator and LLBLGen LLBLGen Pro Framework SubSonic This is an awesome piece of work my Mr. Conery (and team)…for FREE! I’ve been using this for quite a while now. It is excellent for small projects, both Web and Winform apps. It’s a breeze to setup and get off and ...
We have just released a free extension for Visual Studio which adds a Builds Explorer with folders to the Team Explorer. The extension can be downloaded from Visual Studio Gallery or just search for Inmeta in Tools/Extension Manager. The documentation and issue tracking can be found at the codeplex site for the project http://tfsbuildfolders.code... and source code is available there. The Build explorer is based on using a convention of separators in the build definition names. See Brian Harry’s ...
I have to replace align=”right” to align=”left” of all <td> in all files in the whole project. Consider the following html <table> <tr> <td align="right" style="border: 1 solid black"> cell1 </td> <td style="border: 1 solid black" align="right"> cell2 </td> <td id="td01" align="right" style="border: 1 solid black"> cell3 </tr></table> Work breakdown: How to replace in single file how to replace in multiple files How to replace in single ...
In this Issue: John Papa, Rudi Grobler, Michael Washington, Jeff Prosise(-2-), Xianzhong Zhu, Nigel Sampson, Martin Krüger, WindowsPhoneGeek, Vinit Yadav, András Velvárt, and Alex Sorokoletov. Above the Fold: Silverlight: "Response.MVVM is now available via NuGet!" András Velvárt WP7: "BounceBall - XNA Farseer Magic" Vinit Yadav Lightswitch: "LightSwitch Online Ordering System" Michael Washington Shoutouts: Cigdem Patlak has a post up about the ROCK! event beginning next weekend in LA: Microsoft ...
Normal 0 false false false EN-GB X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; ...
This is a lesson that did not come easy but it sure was helpful to discover. When creating an Azure deployment package as a developer because you will hand-off to a deployment group within IT, pretty much you published your Azure component to generate the package and configuration files. When deploying to enable RDP, in my conversation with many developers the concern in the end was, I have to do the deployment through Visual Studio to enable those options. The answer is both Yes and No. The items ...
I dont know about you, but last year I suffered from MVVM overdose. I literally felt sick having to go through the rote task of building the same old Prism modules and building the same old ViewModel to abstract my Model, setup my bindings in my view .... again and again and again and again .... ad nausium. Now that I've had a break from client side information system dev, I can think about it from a different perspective. I've leveraged and investigated the following technologies. 1) Cinch from ...
I recently did some training for a client and one of the topics that came up was upgrading existing 2007 code to SharePoint 2010 Projects. I just wanted to share some of the issues that came up and the discussion that might be usefull to others. If you developed customizations for SharePoint 2007 you either Visual Studio 2005/2008 VSeWSS 1.1/1.2/1.3 or you used WSPBuilder. A lot of fellow SharePoint MVP's and experienced SharePoint Developers used WSPBuilder. I personally prefered it over the VSeWSS ...
Are you looking for Unlocked Windows Phone 7? Are you being nagged by someone who is looking for one? Wondering where your update to Windows Phone 7 is finally coming? You are in luck, read on! As many of you are aware there is been a slight delay in the first minor update to Windows Phone 7… So I am going to use some strong language here, because it needs to be said. Why? Because we all want more customers acquiring more Windows Phone 7 devices and downloading many and many applications. Everyone ...
Our 13 sessions are now available in english on : Nos 13 sessions sont maintenant disponibles en anglais sur : CHANNEL 9 !!!! Bonjour à tous, l'événement "Bridging the Gap Between Developers and Testers Using Visual Studio 2010" sera également présentées LIVE le samedi 14 Mai 2011 à Québec. Toute une journée de contenu "Real Life" gratuite, présentée par Etienne Tremblay et moi même en personne et EN FRANÇAIS. Pour plus d'informations ou pour vous inscrire, veuillez vous référer au site de DevTeach ...
(these are lifted verbatim from Microsoft here, here and here and are presented below only because it’s convenient to have them lumped altogether…) Getting Started with Windows Phone Windows Phone development platform supports both XNA Framework and Silverlight. This unit takes you through the step-by-step creation of your first Windows Phone Silverlight application. Hands-On Labs · Hello Windows Phone This lab intends to be the classic "Hello World" application, introducing you to the tools and ...
At TechEd India 2011 I presented on HTML5 Development with Visual Studio 2010 SP1. I wanted to cover the aspects that were discussed in my session. HTML5 1. HTML5 is the emerging but promising trend in web development 2. Some of the standards have got green signal i.e. they are candidate recommendations. 3. Some others are still work in progress. 4. IE9 implements standardized HTML5 specifications. Visual Studio 2010 and HTML5 Visual Studio 2010 Service Pack 1 comes from basic HTML5 support. Having ...
UPDATE: Scott Hanselman has a NuGet package to automate many of these steps and you should check it out, http://www.hanselman.com/bl... This is in continuation with Part 1 of the article, so you may want to check it out before reading this, in case you haven’t already. Next, we need to enable the Global.asax. We will open up the Global.asax and add the following two references in the namespaces ...
UPDATE: Scott Hanselman has a NuGet package to automate many of these steps and you should check it out, http://www.hanselman.com/bl... Today, at Tech Ed India 2011, I delivered this session – Web Forms vs. MVC choosing the right one for web development. Although its a tricky topic, it was worth clarifying some of the patterns to decide between Web Forms and MVC. One of the demo scenarios I took ...
Let me start with this disclaimer: this is not a supported environment. You may/will run into problems and then you’re on your own. Microsoft will not help you here. If you want to develop for Surface (v1, that is, since that’s the only one available at this time of writing) you will have to use Windows Vista 32bit and Visual Studio 2008 Pro or higher. So, that’s out of the way. Let’s return to the real world. I am, of course, running Windows 7 Ultimate (64bit) and Visual Studio 2010 Ultimate. After ...
First entry in a new neighbourhood . Whether it be cheating or whatever I’m giving Windows Live Writer a try as an editor interface for this new blog. In the process I’ll also give these plug-ins a try: Source Code Formatter Amazon Book Linker Insert Code for Windows Live Writer Syntax4Writer For Alex Gorbatchev’s SyntaxHighlighter Paste As Visual Studio Code Twitter Notify ...

There are two new SVN packages for Windows:

If you are using SVN for source control these provide a freeware package for Visual Studio users.

In this Issue: Ollie Riches, Damon Payne(-2-), Jesse Liberty(-2-), Shawn Wildermuth, John Papa, Beth Massi, Michael Crump, Mike Taulty(-2-), Jorge Peraza, and Peter Kuhn(-2-). Above the Fold: Silverlight: "Delay Binding Updates within a certain Context" Damon Payne Blend: "Phone Tools reaches Beta!" Shawn Wildermuth Blend: "Blend Bits 26–Use Libraries for Assemblies" Mike Taulty Shoutouts: If you're in the UK, Mike Ormond announced a new set of WP7 Workshops: New Windows Phone 7 Workshops I met Gregor ...
If you've been a loyal Reflector user, you've probably been exposed to the debacle surrounding RedGate's decision to no longer offer a free version. Since then, the race has begun for a replacement with a provider that would stand by their promises to the community. Mono has an ongoing free alternative, which has been available for a long time. However, other vendors are stepping up to the plate, with their own offerings. If Not Reflector, Then What? One of these vendors is Telerik. In their recent ...
Not too long ago, Microsoft released, NuGet, an automated package manager for Visual Studio. NuGet makes it easy to download and install assemblies, and their references, into a Visual Studio project. These assemblies, which I loosely refer to as packages, are often open source, and include projects such as LINQ to Twitter. In this post, I'll explain how to get started in using NuGet with your projects to include: installng NuGet, installing/uninstalling LINQ to Twitter via console command, and installing/uninstalling ...
My blog has been quiet recently, mainly because I've been spending a bunch of time putting together an iPhone app which talks to a set of RESTful WCF services hosted in Azure, backing onto SQL Azure for storage. This post is a technical walkthrough of that architecture and some of the learning experiences, but after this it will be back to normal. I have a couple of nice open-source projects which are coming soon, including a log4net appender which writes to Event Tracing for Windows (ETW), and a ...
Employee Info Starter Kit is an open source ASP.NET project template that is intended to address different types of real world challenges faced by web application developers when performing common CRUD operations. Using a single database table ‘Employee’, it illustrates how to utilize Microsoft ASP.NET 4.0, Entity Framework 4.0 and Visual Studio 2010 effectively in that context. Employee Info Starter Kit is highly influenced by the concept ‘Pareto Principle’ or 80-20 rule. where it is targeted to ...
Check out the Top Five most popular news at SilverlightShow for March 7-13, 2011. Here are the top 5 news on SilverlightShow for last week: SilverlightShow EcoContest Grand Prize Winner and First Runner-up Selected WCF RIA Services V1.0 SP1 Visual Studio 2010 enhancements Upcoming Silverlight Show Webinar: Switching on the Cloud for Silverlight 30+ Projects Will be at Open Source Fest at MIX11 Visit and bookmark SilverlightShow. Stay in the 'Light ...
Photo by parl, 'Risk.’ Under Creative Commons Attribution-NonCommercial-N... License This has been a busy week for Microsoft, and for me as well. On Monday, Microsoft launched Internet Explorer 9 at South by Southwest (SXSW) in Austin, TX. That evening I flew from New York to Seattle. On Tuesday morning, Microsoft launched Visual Studio LightSwitch, Beta 2 with a Go-Live license, in Redmond, and I had the privilege of speaking at the keynote presentation where the announcement was made. Readers ...
Visual Studio 2010 Service Pack 1 (SP1) is now available for general download for almost a week now. The Beta of SP1 came couple of months back and it did a lot of performance enhancements, added support for HTML5 tags and few other stuff related to web development. Now, the final release of SP1 is available. The good part is that, if you had installed the SP1 beta, you don’t have to remove the Beta and start all over again. You can apply the final release on top of the Beta and it works like a charm. ...
LightSwitch Beta 2 is out. That’s how all this started. All I wanted was to install it on my MBP’s Win7 Parallels VM. But as I’m finding with running a Win7 VM on a MBP, nothing is as easy as it should be. First my MBP froze during the SP1 installation. Not my VM crashing, the entire machine freezing…no mouse, nothing. Had to do a hard reset. BLECH. Then we’re back and I try to re-install SP1 (since the first try obviously failed). I get met with a dialog asking me where silverlight_sdk.msi was. ...
MVPs are well known for their good heart (like the GeekGive initiative shows) and Client App Dev MVP Gregor Biswanger is no exception. At the latest MVP summit (beginning of March 2011), he took over a DVD about WPF 4 and Silverlight 4 and asked a few Microsoft superstars to sign it. Read the rest of this entry » ...
Hey guys, I am living in the CeBIT's hometown, the beautiful city Hanover. So I am visiting this exhibition since 2002 and I've seen a lot of changes during all this time. But this time, it was the most boring fair I've ever seen. Lets start with the first halls: "The same procedure as every year"- directly behind the entrance are the exhibitioners from far east (China, Taiwan...). In the past, they've shown a lot of nice toys. But this time, they got very serious, the only great gimmick was the ...
In this Issue: András Velvárt, WIndowsPhoneGeek(-2-), Jesse Liberty(-2-), Victor Gaudioso, Kunal Chowdhury, Jeremy Likness, Michael Crump, and Dhananjay Kumar. Above the Fold: Silverlight: "Application Library Caching in Silverlight 4" Kunal Chowdhury WP7: "Handling WP7 orientation changes via Visual States" András Velvárt Shoutouts: Joe McBride gave a MEF Head User Group presentation and has posted How to Become a MEF Head – Slides & Code From SilverlightCream.com: Handling WP7 orientation changes ...
A new release of Microsoft All-In-One Code Framework is available on March 8th. Download address: http://1code.codeplex.com/r... You can download individual code samples or browse code samples grouped by technology in the updated code sample index. If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read this Microsoft News Center article http://www.microsoft.com/pr... or watch the ...
Like most developers, I prefer to not have to pick up the mouse if I don’t have to. I use the Executor launcher for almost everything so it’s extremely rare for me to ever click the “Start” button in Windows. I also use shortcuts keys when I can so I don’t have to pick up the mouse. By now most people know that the Package Manager Console that comes with NuGet is PowerShell embedded inside of Visual Studio. It is based on its PowerConsole predecessor which was the first (that I’m aware of) to embed ...
Employee Info Starter Kit is an open source project that is highly influenced by the concept ‘Pareto Principle’ or 80-20 rule, where it is targeted to enable a web developer to gain 80% productivity with 20% of effort with respect to learning curve and production. It is intended to address different types of real world challenges faced by web application developers when performing common CRUD operations. Using a single database table ‘Employee’, the current release illustrates how to utilize Microsoft ...
Recently I have been doing quite a bit of testing on different means to deploy the Azure SDKs and such. After a very successful couple of systems, I started running into issues last night. Here is the problem, if I go to the Windows Azure Website, and go to Develop, then click on the SDK and Tools, then Get Tools & SDK, it launches the Web Platform Installer. All seems well at that point, except it will go through the initial process, will find the SDK files for 1.4, but since the tools for Visual ...
Ever wanted to have a simple jQuery menu bound with ASP.NET web site map file? Ever wanted to have cool css design stuffs implemented on your ASP.NET data bound controls? Ever wanted to let Visual Studio generate logical layers for you, which can be easily tested, customized and bound with ASP.NET data controls? If your answers with respect to above questions are ‘yes’, then you will probably happy to try out latest release (v5.0) of Employee Starter Kit, which is intended to address different types ...
I was very excited when Microsoft released the Internet Explorer 9 Release Candidate. As far as I was concerned, this was another nail in the coffin for IE6 and step in the right direction for us .NET web developers as our base camp was finally starting to support the latest and greatest future-web standards. Unfortunately, my celebration was short lived as I soon hit a snag while loading up an HTML5 site I was building in Visual Studio 2010. The Mystery After updating Internet Explorer, I ran my ...
Introduction Now that the dust has settled and everyone has downloaded and installed Visual Studio 2010 Service Pack 1, its time to talk about a new feature included that will help Silverlight Developers profile their applications. Let’s take a look at what the official documentation says about it: Performance Wizard for Silverlight – taken from VS2010 SP1 KB. Visual Studio 2010 SP1 enables you to tune the Silverlight application performance by profiling the code. A traditional code profiler cannot ...
Here is a quick notes about using regular expressions in the VS2010 Find Replace dialog. 1. To create a backreference, use curly braces (“{“ and “}” ) instead of regular parentheses. 2. To use the captured backreference, use \1\2 etc, where \1 is the first captured value, \2 is the second captured value, etc. Example: I want to find*: info.setFieldValue(param1, param2); and replace it with: SetFieldValue(info, param1, param2); To do this, I can use the following find/replace values: Find what: {[a-zA-Z0-9]+}.setFieldValu... ...
*Moved to: Installing Visual Studio 2010 Service Pack 1As has become customary when the product team releases a new patch, SP or version I like to document the install. This post seams almost redundant as I had no problems, but I think that is as valuable to other thinking of installing the Service Pack as all the problems that we sometimes get. Read more about Installing Visual Studio 2010 Service Pack 1 on my new blog on http://blog.hinshelwood.com... more...Follow my new blog on http://blog.hinshelwood.com ...
Last week I was fortunate enough to spend time in Redmond on Microsoft’s campus for the 2011 Microsoft MVP Summit. It was great to hang out with a number of old friends and get the opportunity to talk tech with the various product teams up at Microsoft. The weather wasn’t exactly sunny but Microsoft always does a great job with the Summit and everyone had a blast (heck, I even got to run the bases at SafeCo field) While much of what we saw is covered under NDA, there a ton of great things in the ...