Tag | Visual Studio Posts

When you generate an MSI you need to set at least Product Version Product Code Package Code Upgrade code is not mandatory but in reality it is also a must or you will not be able to create upgrade msi packages. One interesting thing about ProductVersion is that you can choose to set a 4 digit version like 1.1.1.0 but MSI will only use the first three digits for version checking. Its format is major.minor.build. This is important if you decide to create a update or upgrade package. Have a look for ...
Among the new content in the release, is a set of ALM docs and labs. The ALM content referenced above is: o Using Code Analysis with Visual Studio 2010 to Improve Code Quality o Introduction to Exploratory Testing with Microsoft Test Manager 2010 o Introduction to Platform Testing with Microsoft Test Manager 2010 o Introduction to Quality Tracking with Visual Studio 2010 o Introduction to Test Planning with Microsoft Test Manager 2010 All ALM labs point to the latest version of the VS 2010 RTM VM. ...
A while back I decided to get back to speaking engagements and such. For the most part I had kept that to some local User Groups and some conferences like TechEd. I decided to sign up for the INETA Speaker program. Well my first gig came through. I will be speaking at the SharePoint Users of Ft. Wayne, Indiana meeting on July 14th. The topic is on Building Solutions for SharePoint using Visual Studio LightSwitch ...
This is the presentation I did June 29, 2011 at PHILLYNJ.NET. It is the first in a multi-part of a series on the Applied Design Patterns. The solution files are working code with design pattern notes in the comment blocks. After the overview and higher level discussions on Enterprise Design Patterns I reviewed the low level Database Access Library of code. With walk-throughs of the the code and unint test. After that we went through the ProductPhotoConsoleTest Application that performed intergration ...

Just found a few websites that show some Visual Studio tips that I haven't seen before, so I thought I'd share:

Read more at http://blog.danskingdom.com/visual-studio-tips-and-tricks/

It’s here – the brand new - Windows Phone SDK 7.1 Beta2. This time it has ability for your to Flash your Developer Unlocked phone to Mango Beta! How awesome is that? Mega-Ultra-Mango-Awesome!! The Windows Phone SDK includes the following Windows Phone SDK 7.1 (Beta2) Windows Phone Emulator (Beta2) Windows Phone SDK 7.1 Assemblies (Beta2) Silverlight 4 SDK and DRT Windows Phone SDK 7.1 Extensions for XNA Game Studio 4.0 Microsoft Expression Blend SDK Preview for Windows Phone 7.1 WCF Data Services ...
Binding file for WCF Adapter doesn't save the password no matter it is generated by "Add Generated Items..." wizard in Visual Studio or "Export Bindings..." in administration console. It is by design dut to the consideration of security, but it is very annoying especially when you import bindings which contain multiple WCF send ports. The way to aviod retyping password everytime after an import is to edit the binding file before import. Here is what needs to be done. 1. Find the following string: ...
Query Templates, Data Link, and Globalization I am sure you must have read Scott Guthrie’s blog post about jQuery support and officially supporting jQuery's templating, data linking and globalization, if not here it is: jQuery Templating Since we are an open source shop and use jQuery and jQuery plugins extensively to say the least, decided to look into the templating a bit and see what data linking is all about. For those not familiar with those terms here is the summary, plenty of material out ...
During my Edit and Continue session I received a message --------------------------- Microsoft Visual Studio --------------------------- Modifying a catch handler around an active statement will prevent the debug session from continuing while Edit and Continue is enabled. --------------------------- OK --------------------------- I would expect that Visual Studio give me option to edit, but stop Edit and Continue or Cancel, but it only disallow edit . I've posted the suggestion to MS Connect Related ...
If you need to explore big amount of another’s C# code, C# outline add-in may be helpful. It allow you to collapse statements between { and }. Here is a sample screenshot: This add-in available for Visual Studio 2010. Also, it’s not compatible with some other plugins like Presentation Zoom – outline nodes displaces, if both installed ...
If you have been using Ajax control toolkits a lot (which I will skip the parts on where to download and how to configure it in Visual Studio 2010), you might have encountered some bugs or limitations of the controls, or rather, some weird behaviours. I would call them weird behaviours though. Recently, I've been working on a Ajax numeric updown control, which i remember clearly it was working fine without problems. In fact, I use 2 numeric updown control this time. So I went on to configure it to ...
Those who are familiar with BizTalk 2006, should know about Development and Deployment modes in Visual Studio. Personally, I never questioned why it's not Debug and Release just like everything else in Visual Studio. Then everything changed in BizTalk 2010. BizTalk and Visual Studio 2010 now uses Debug and Release modes by default. When we upgraded BizTalk 2006 solution to 2010, Development and Deployment modes remained unchanged for all the projects, and code compiled without any issues. Soon, I ...
The Membership API came in .NET 2.0 and was a huge enhancement in building web applications with users, managing roles, permissions etc., The Membership API by default uses SQL Express and until Visual Studio 2008, it was available only through the ASP.NET Configuration manager screen (Website – ASP.NET Configuration) or (Project – ASP.NET Configuration) and for every application, one has to manually visit this place to start using the Security and other settings. Upon doing that the default SQL ...
If you try to add large FBX 3D model to the XNA project, and build it, you can get an OutOfMemoryException build error like following: Error 1 Building content threw OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Collections.Generic.... value) at System.Collections.Generic.... min) at System.Collections.Generic.... index, IEnumerable`1 collection) at Microsoft.Xna.Framework.Con... ...
One of the things that is keeping us busy is the Web Camps we are delivering across 5 cities. If you are a reader of this blog, and also attended one of these web camps, there is a good chance that you have seen me since I was there in all the places, so far. The topics that we cover include Visual Studio 2010 SP1, SQL CE, ASP.NET MVC & HTML5. Whenever I talk about SQL CE, the immediate response is that, people are wow that Microsoft has shipped a FREE compact edition database, which is an embedded ...
Most of us have seen the Windows 8 news regarding support for native HTML5/JavaScript applications. The press has pushed this as a potential threat to the .NET developer community because JavaScript and HTML5 were called "our new developer platform". The press release refers to "Web-connected and Web-powered apps built using HTML5 and JavaScript that have access to the full power of the PC.".Microsoft has also been hush on details related to these comments. Before we buy the hype and start worrying ...
At http://visualstudiogallery.... Microsoft have provided a tool for Visual Studio to provide reports on Visual Studio 2010 performance problems. The use of it has been discussed at http://blogs.msdn.com/b/vis... as follows: "Would you like Visual Studio 2010 to be even faster? Would you like any performance issue you see to be reported automatically without any hassle? Well now you can, with the new Visual ...
I have had the chance to talk at many conferences these past few years, and came up with a way to prepare them which works really well for me. Most importantly, it would make it quite easy to overcome an emergency (for example if my laptop would suddenly lose data). The whole code as well as the slides and other documents are in the cloud. I also use source control for my demos, so that I always have the latest and the greatest, but also a history of changes I made to my demos. Finally I have a system ...
Stylecop 4.5.20.0 is available is available at http://stylecop.codeplex.co... This is the StyleCop 4.5 RC8. "This release includes the very latest StyleCop for ReSharper plugin and will automatically uninstall previous versions of StyleCop. This updated release contains around 200 bug fixes since the 4.4 RTW release and includes 5 new rules. Support for the async CTP is also added. SA1125 - UseShorthandForNullableTypes SA1411 - AttributeConstructorMustNot... ...
Great! You have reached that point where you would like to extend TFS. The first step is to connect to TFS programmatically. Download: Working Demo - VS 2010 Working Demo - VS 2012In this blog post I’ll be showing you, How to connect to TFS programmatically using TFS 2010 SDK How to connect to TFS programmatically using TFS 2012 SDK DLL references required to connect to TFS programmatically Connectivity classes & scope How to establish a connection interactively How to establish a connection ...
Hopefully nothing. But if you have to do more than simple XCopy deployment and you need to support updates, upgrades and perhaps side by side scenarios there is no way around MSI. You can create Msi files with a Visual Studio Setup project which is severely limited or you can use the Windows Installer Toolset. I cannot talk about WIX with my German colleagues because WIX has a very special meaning. It is funny to always use the long name when I talk about deployment possibilities. Alternatively you ...
If you still didn’t explore Extension Manager under Tools in Visual Studio 2010 now it’s the time! VS2010 can be expended to include add-ons you wish to have. The Extension Manager list is pretty extensive, where most of them are ‘still work in progress’ tools but, at least, it is worth trying. Listed below are top ranked ones that should help to enhance your coding experience: · Productivity Power Tools – set of small gadgets: Auto Brace Completion, Quick Access, Column Guides, Align Assignments, ...
The Kinect is awesome. From day one, I’ve said this thing has got potential. After playing with several open-source Kinect projects, I am please to announce that Microsoft has released the official SDK beta on 6/16/2011. I’ve created this quick start guide to get you up to speed in no time flat. Let’s begin: What is it? The Kinect for Windows SDK beta is a starter kit for applications developers that includes APIs, sample code, and drivers. This SDK enables the academic research and enthusiast communities ...
Since the demo of Windows 8 given by Microsoft Vice President Julie Larson-Green at the recent D9 conference windows developers have been described in many articles as feeling "Horrified" "Worried" "Deeply Concerned". Why? From the demo it seems that the new Window’s 8 ‘immersive’ applications will be based on HTML5 and JavaScript – which means for experienced win devs who have invested years in learning windows development platforms, they will now have to ‘re-train’ if they want to create these ...
Motivation Kommen Ihnen diese Szenarien bekannt vor: der Build scheitert, weil ein Kollege ein 3rd Party Framework eingeführt hat und nur lokal auf seiner Maschine die benötigten Bibliotheken installiert sind der Build scheitert weil ein 3rd Party Framework auf einigen Maschinen in anderen Versionen vorhanden ist und sich damit die Datei-Versionen und -Funktionalitäten der Bibliotheken unterscheiden das Build-Ergebnis unterscheidet sich auf verschiedenen Maschinen weil jeweils andere Toolsets in ...
If you're like me, you've probably clicked/clacked, docked/undocked the window with the edmx file while you were working on it in visual studio without intending to--and now, the entity diagram is gone and you are unable to open the file again from the solution window! Luckily, the edmx file is just another visually displayed xml file. From the solution window, right click on the edmx file -- select "Open with..." -- choose Xml . Once you see the xml for the edmx file close it. Go back to the solution ...
MVC 3 is becoming hugely popular thanks to Razor and the Helpers that make building web applications much easier. One of the common requirements in web development, both with web forms as well as MVC based development, is the cascading dropdownlist. Now, for Web Forms, we can use a variety of options viz. server side programming, jQuery or using the AJAX Control Toolkit’s cascading dropdownlist control for accomplishing this. I saw a few samples on the internet that used the erstwhile Microsoft AJAX ...
In this Issue: Vikram Pendse(-2-), Christian Schormann, Pete Brown, Kunal Chowdhury, Andrea Boschin, SLMPerf, WindowsPhoneGeek, Jesse Liberty(-2-), and Michael Washington. Above the Fold: Silverlight: "Silverlight 5: Vector and Bitmap Printing for Reports and more" Pete Brown WP7: "New SketchFlow Template for WP7" Christian Schormann LightSwitch: "Integrating Visual Studio LightSwitch Application Into An Existing Website using IFrames" Michael Washington Shoutouts: Laurent Duveau presented on LightSwitch ...
When Visual Studio generates tests, for initial value for enums it uses enum constructor. MyClass.TracingMode tracingMode = new MyClass.TracingMode(); // TODO: Initialize to an appropriate value It looks strange. Is it worth to suggest in MS Connect to change the default ...
StyleCop 4.5 (build 4.5.19.0) has been released at http://stylecop.codeplex.co... For the last few versions, StyleCop has checked for a new version at the start-up of Visual Studio, so you can more easily keep up with the latest version. StyleCop's integration with Resharper (referred to as R# in the setup) continues to improve. I have recently finished Style-Copping the TimePeriod solution at http://www.codeproject.com/... The improved StyleCop / Resharper ...
Friday June 17th, 2011 there will be a Windows Phone Garage event. It will be held at Immedion at 78 Global Drive, Suite 100, Greenville, SC. There are only 40 spots, so register now at http://www.eventbrite.com/e... The idea behind the Windows Phone Garage is simple. Come out, install the tools, learn how to write a Windows Phone application, then build one. Best of all, it's free, and everyone is invited! The second half of the day is an open lab, and assistance will be available. ...
I just have to write about design data because it makes my life so much easier. More than I could imaging before I started to use it. There are two ways for creating design data; Either you let Expression Blend do it for you or you just write your own in visual studio. Basically it is a xml file representing your model. Creating The fast way: - Right click a view (or any xaml-file) in your project and choose "Open in Expresion Blend" - Click here: - Choose "Create sample data from class" and then ...
It is no big news that whatever the architecture you plan and implement, soon or later you'll start to see some code "bad smells". In the early phase of implementation you might do some team training and explain how your developer team should write code using the planned architecture and design (patterns). Despite this effort, you cannot expect people to just follow your implementation recommendations every time. At first, you might consider using gated-checkins or CI builds with VS code analysis. ...
In Visual Studio I’ve started the application with debugging(F5) and then tried to click url in one of the source code comments. After opening URL within VS I suddently start to receive dosens of messages like the following for each breakpoint that I have: --------------------------- Microsoft Visual Studio --------------------------- The following breakpoint cannot be set: At MyClass.cs, line 836 character 6 ('Namespace.MyClass.MyFunct... line 17) Unknown error. --------------------------- OK ...
A couple of years ago, I used 'something' to encrypt the connectionstring on a production server. But I never wrote anything down about it. And in the other projects I did later, I never had deploy to the production server. Yesterday, I had to use it again but I couldn't find it. Why? Because I never wrote about it. This blogpost is copy of Chirag Darji post about the encryption of the connectionstring in web.config. All credits to him! The most sensitive information stored in web.config file can ...
I wanted to get familiar with SharePoint 2010 because I have noticed how the market is starting to demand it. Also, most of the SharePoint 2010 guides on the net are outdated. They show everything from registry hacks/editing xml files to installing hot fixes/service packs. My guide uses the latest bits as of 6/7/11 to create a SharePoint 2010 server inside of an Virtual Machine. This will be more than enough to begin creating Silverlight Web Parts inside of SharePoint 2010. NOTE: I did not want to ...
If you were at TechEd 2011 in Atlanta, you likely heard or saw what is coming in the next release of the Visual Studio product line and technologies. Here is a summary of some of those items: Visual Studio Roadmap http://www.microsoft.com/vi... The Future of Microsoft Visual Studio Application Lifecycle Management Presentation from TechEd http://channel9.msdn.com/Ev... ...
Recently I was building a VM for a BizTalk 2006 R2 project. My VM configuration was : Windows 2003 R2 SQL 2005 with SP4 Visual Studio 2005 with SP1 BizTalk Server 2006R2 I installed the BizTalk Server 2006 R2 SP1 update from the Windows Update. Life was good so far. Next I got requirement to use WCF SQL adapter and there I went and started installing the pre-requisite for it. 1. WCF LOB Adapter SDK SP2 2. Microsoft BizTalk Adapter for SQL Server. After that I went and tried to Add the Adapter metadata ...
Workflow 4 State Machine – Distributed Tracking Visualization · Disclaimer: This post requires an understanding of WF 4.0.1 , WCF and WPF. · Before I explain the how, look at the following image for the what: I am debugging a REMOTE workflow STATEMACHINE instance, and from tracking information sent from server, I am able to highlight the current state in my client! Visual Workflow Tracking Sample – a Big Ball of Mud · Workflow 4 provides the System.Activities.Presentat... class which ...
This is a quick introduction to moving from our own internal assembly repository to using NuGet. It’s terse for a reason, just a note to self and those I work with: What we had One source of builds external to our code repository Didn’t check in external builds Used DVCS to share single feed Rake task to update and copy latest builds local checkout (this location is excluded from VCS) Automatic updates if changed in central repository and version not incremented Caused problems when changes were ...
As promised, here is a link to all of the applications from my session at CodeStock 2011: Entity Framework Profiler Studio Styles Reflector Telerik JustDecompile Beta dotfuscator CodePaste.NET Silverlight Spy WP7 Desktop Marketplace LINQPad Snippet Manager Browser Shots Snagit 10 7-Zip File Manager Code Converter CPU-Z Notepad2 SSDlife Free Regular Expression Library DLL-files.com Microsoft Web Platform Installer Visual Studio Gallery Search Everything Fiddler2 Paint.NET Microsoft Expression Blend ...
ReSharper by default does not recognize Contract.Requires as an annotation hint, that the proofed condition furthermore is true. So it comes to the effect, that using the following contract definition causes ReSharper to squiggle the next access and output a wrong hint: To suppress this behaviour ReSharper needs additional external annotations information. I followed in some points this thread: http://stackoverflow.com/qu... ...
In this Issue: Kunal Chowdhury(-2-), Nitya Ravi, Beth Massi, Xpert360, Andrea Boschin, WindowsPhoneGeek, Jesse Liberty(-2-), and John Papa. Above the Fold: Silverlight: "Managing Resources with Reactive Extensions" Jesse Liberty WP7: "New Addition to Windows Phone Quickstarts- Pivot and Panorama Controls" Nitya Ravi Jesse Liberty Shoutouts: Jeremy Likness has his materials posted for his CodeStock Presentation: Silverlight 5 for Line of Business Applications Koen Zwikstra has an update to his excellent ...
In two weeks, June 16, I will be hosting a First Look event at Centriq Training on Windows Azure. Although I will be talking about various things, such as 'what is cloud computing", "why Windows Azure", and the like, my intent will be to actually show you how to write code for Azure using Visual Studio 2010, how to use Windows Azure storage, and how to use Web and Worker Roles. I think you will enjoy attending this event. For more information, check out the Centriq Training website, www.centriq.com ...
Recently while performing a .Net unit testing on some .Net dll, I kept getting the below error - 'XXX is a strongly named assembly. It will need to be re-signed before it can be executed. Warning VSP2013 : Instrumenting this image requires it to run as a 32-bit process"...... A little of google revealed that since its a strongly named assembly and while performing unit testing it needed to be re-signed or I need to remove the 'strong name' all together... As I didn't had the orginal private key file ...
In this article I'm going to demonstrate how to create a simple sign-up form using ASP.NET MVC 3. So basically in this demo you will learn the following: How to insert data to the database with Entity Framework How to validate the Form using Data Annotations How to Authenticate users after sign up using FormsAuthentication Note that before you continue reading this article be sure that you have the basic understanding about ASP.NET MVC in general. You can refer the following links below to learn ...
LDAP is not Active Directory, though Active Directory is LDAP. As someone who drinks the Microsoft Kool-Aid, I found myself using LDAP for something other than Active Directory and I thought I should share what I have found. The problem domain was to connect a new MVC application to an existing Sun One LDAP Store. First off, authenticating an MVC application using forms mode authentication and the Membership providers is straight forward. Start with the ASP.NET MVC 2 Web Application Template that ...
I spent some time today summarising the new features in the Windows Azure AppFabric May CTP for SolidSoft consultants. Microsoft released the CTP a couple of weeks ago and has a second CTP coming out later this month. I might as well publish this here, although it has been widely blogged on already. There is nothing that you can’t glean from reading the release documents, but hopefully it will serve as a shorter summary. The May CTP is all about the AppFabric Service Bus. The bus has been extended ...
With thanks to Wriju for doing the work to pull these together. How to: Build a Windows Azure Application How to Configure Virtual Machine Sizes How to Configure Connection Strings How to Configure Operating System Versions How to Configure Local Storage Resources How to Create a Certificate for a Role How to Create a Remote Desktop Protocol File How to Define Environment Variables Before a Role Starts How to Define Input Endpoints for a Role How to Define Internal Endpoints for a Role How to Define ...
In early 2010 I “complained” about the way we were explaining the Windows Azure Platform on our web site and pointed at a (IMHO) much better way of doing it by one of our competitors. A lot has changed since early 2010 and we now have some great resources – one of the best being “the super-slidy Windows Azure Pricing Calculator”. It comes highly recommended Check out http://www.microsoft.com/wi... P.S. and well done to the folks who created it! Related Links Sign up to ...