Tag | Visual Studio Posts

Intro If you want to test the internals of a productive assembly you must mark the assembly with the InternalsVisibleTo-attribute. This attribute has only one constructor which needs the name of the testing assembly. http://msdn.microsoft.com/e... So this looks like: [assembly: InternalsVisibleTo("Unlinke... Visual Studio and 3rd party plugins uses the string to mark referencing ...
I am playing more with the Windows Developer Preview and simply love the backward compatibility it has for applications that used to work in Windows 7. And one of the applications critical to my day-to-day life is Visual Studio. Visual Studio 2010 with SP1 and ASP.NET MVC 3 Tools is my everyday requirement. Windows Developer Preview when installed from the MSDN Center has two flavors. One with the Developer Tools which I would assume, most of us developers would want and the other one, which is simply ...
If you, like me, have ever looked over the MSDN documentation and though how nice it would be to have that type of documentation for your codebase, SandCastle is the tool you’ve been looking for. SandCastle is a Codeplex project initiated by Microsoft in order to provide MSDN-esque documentation for .NET projects or asssemblies. The documentation can come in several formats such as CHM files or a website. GhostDoc and SandCastle Help File Builder To get started with SandCastle for documentation, ...
Today's 50% off deal from O'Reilly at http://shop.oreilly.com/pro... is Coding Faster: Getting More Productive with Microsoft® Visual Studio® "Expert advice to help you work smarter and increase your productivity with Visual Studio. Take a detailed look into Visual Studio—and learn practical techniques to help you work more efficiently. This fully revised and expanded version of Visual Studio Tips: 251 Ways to Improve Your Productivity includes a comprehensive collection of tips ...
UPDATED Jul 3rd 2013: Added Art of Unit Testing Version 2 UPDATED Apr 11th 2013: Added Instant TFS 2012 and Project Server 2012 Integration How-to UPDATED Jan 12th 2013: Added Prof TFS Server 2012, TFS 2012 Starter, Pro ALM with VS 2012 and VS 2012 Cookbook UPDATED Dec 8th 2011: Added Kanban book by David Anderson “Send me a list of books to read” – that is what I am often asked. No more, as this list is an answer to those request! I have divided it into different subject areas, and each area hold ...
“Because everyone wants to kick their database, but sometimes kicking your database is a good thing!” Many would not argue that you should version your code, and few would argue against versioning your code in a way that can lead back to a specific point in source control history. However, most people don’t really think of doing the same thing with your database. That’s where RoundhousE (RH) comes in. I have been working on RH for over two years now and people always wander what it is, why and what ...
Just in line with the release of the Visual Developer Preview and the availability of the Visual Studio Developer Preview 11 ALM virtual machine, now we have access to the Developer Preview Training kit. Download the Training kit here: http://www.microsoft.com/do... ...
Next month is Prairie Dev Con Winnipeg. This is the first time the conference has come to Winnipeg and I'm really excited to be a part of it again. I've spoken at both of the previous PrDC's in Regina, and have 2 slots at the Winnipeg conference. The conference is Nov 21-22 and there are still registrations available, so if you haven't registered yet I encourage you to do so: http://www.prairiedevcon.com/ Here's some details on the 2 sessions I'm hosting: Evolve Your Code: Fundamental Design Principles ...
Today the Microsoft announced that the In-Place Upgrade feature had had some improvements. The major one would be, now the user could be able to change the VM Size by In-Place Upgrade, without redeploying the whole service. What We Did Before Before this improvement, since the VM Size was defined in the CSDEF file, we have to redeploy the service to change the VM Size property. This means we would remove the existing roles and VMs and then ask the Windows Azure to reallocate the new VMs with the ...
For (almost) all developers, there’s no greater feeling, then knowing your source code is (relatively) safe. The same counts for T-SQL script. Especially if you know that you need the same code next year (argh). So first thing I did after the initial release of scripts, was looking for a way to check-in T-SQL from SQL Server Management Studio (SSMS). So a colleague of mine, Dries (Blog | Twitter), dropped by with a solution: TFS MSSCCI Provider 2010 from the Visual Studio Gallery. It’s a free plugin ...
Today's $10 Deal of the day book from APress at http://www.apress.com/97814... is Introducing .NET 4.0 With Visual Studio 2010 "You may know what's happening in C#, but what about the Azure cloud? How is that going to affect your work? What are the limitations of the pLINQ syntax? Introducing .NET 4.0: with Visual Studio 2010 guides you through the innovations that matter and helps you to seize new opportunities confidently and quickly. " ...
In this Issue: Michael Crump, Kevin Dockx, Ollie Riches, Shawn Wildermuth, Kunal Chowdhury, Beth Massi, Joost van Shaik, Colin Eberhardt, Tony Champion, David Catuhe, Igor, Jeremy Likness, and Dhananjay Kumar. Above the Fold: Silverlight: "SL5 PivotViewer Custom DetailPaneStyle" Tony Champion WP7: "Taking screenshots with Windows Phone 7 applications using a video feed" Joost van Schaik LightSwitch: "“I Command You!” - LightSwitch Screen Commands Tips & Tricks" Beth Massi Metro/WinRT/Windows8: ...
Everyone, Thursday, all day there is an MSDN webcast on building Windows Phone 7.5 apps. If you haven’t tried your hand at developing for the WP platform, I highly recommend watching this either live, or when they become available as individual streaming downloads. You may not own a Windows Phone, and that’s cool and all, but being a .NET developer puts you in a great spot to make applications or games that can reach millions. The great part is, if you don’t have a phone, YOU DON’T NEED ONE to write ...
If you are planning to deploy your application with SQL CE as your application backend then here are the steps you need to perform. If you’re planning to deploy your application with SQL Server, than please read this post, How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment" I assume that you have your ASP.NET MVC 3 application ready to be deployed with SQL CE 4.0 and EF 4.1. But make sure you have add assembly and for SQL CE 4.0 using NuGet. I recommend you to use NuGet here ...
In this Issue: Michael Washington, Ollie Riches, Jesse Liberty, Peter Torr, Jeremy Likness, Derik Whittaker, WindowsPhoneGeek, Morten Nielsen, Michael Crump, Asim Sajjad, Andrej Tozon, Dhananjay Kumar, Laurent Bugnion, and Avi Pilosof. Above the Fold: Silverlight: "Using Visual States to Set Focus on a Control" Jeremy Likness WP7: "Background Agents" Jesse Liberty Metro/WinRT/Windows8: "Adding an Application Bar to your XAML Metro Applications." Michael Crump Metro/WinRT/Windows8: "Using The Silverlight ...
UPDATE The below sample just showcases the locality sample. The complete set of attributes exposed which include PostalCode, CountryRegion, Address etc., are available at http://msdn.microsoft.com/e... This is the third in the series of posts I am doing on HTML5 for ASP.NET Developers Geolocation is one of the popular features of HTML5 that’s being touted as a favorite for building location aware applications. It helps to a great extent not just for Web Applications that run ...
This would be the first in the series of posts I plan to do for HTML5 for ASP.NET Developers The first thing that everyone would have experienced is the HTML5 header tag. The regular header tag that Visual Studio creates for ASP.NET Webforms is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml... This would be the header tag present in the Master Page or the actual ASPX Page when you don’t inherit from a Master Page. Till HTML5 specifications ...
HTML5 for ASP.NET Developers is my attempt to learn HTML5 myself being an ASP.NET Developer. I am planning to post a series of posts on how ASP.NET Developers can leverage some of the HTML5 features in their applications. To begin with, I plan to post a few samples on the following 1. Markup Enhancements that every ASP.NET Developer should know 2. Using HTML5 Geolocation API 3. Using HTML5 Local Storage in ASP.NET Applications 4. Making HTML5 Video work with IIS Express 5. HTML5 Boilerplate template ...
Sorry for the tardiness of this post, but I was out of state on family business. If you are looking for Silverlight Developers, I am in contact with developers looking for work, so I can make the introductions for you. In this All-Submittal Issue: Oscar Agreda, Michael Washington(-2-), Gill Cleeren(-2-), goldytech, Michael Crump, Ollie Riches, Colin Eberhardt, and David Catuhe. Above the Fold: Silverlight: "Silverlight Toolkit (September 2011) for Silverlight 5–What’s new?" David Catuhe WP7: "How ...
With TechEd Africa starting in two days time I thought I would briefly blog about two useful extensions I use for VS2010 when presenting. They are Presentation Zoom by Chris Granger ZoomEditorMargin by Benjamin Gopp The Presentation Zoom extension creates a global zoom level so that if you zoom a single window, all editor instances will be updated to that zoom level. Before I had this extension I had a few circumstances where I was not aware of the resolution restrictions of the projector until 5 ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US 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:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; ...
Hi Everyone, The only and main purpose of this blog is to educate all .NET pre-Beginners, who love to do .NET Programming but don't know where, what and how to do. Now you have a place to share and ask for that little thing that is holding you to move on your development. I was in your place 2 years ago, dont know anything about it, doesnt know where to start. I did googled(Bing'd) a lot, found so may articles, blogs about .NET and got very excited about it. Now I wanted to get all that information ...
Soon, the latest ASP.NET MVC will be launched. I cant wait to try as whole. This is the preview of this new product- Web Platform Installer – Installs the MVC4 Project Templates.- Nuget package – perfect for upgrading an existing MVC3 project- Stand Alone Installer- Installs the MVC4 Project Templates. This is the cool design with new features In addition to CSS design there is improved functionality in the new template. The template support technique called adaptive rendering to support theme on ...
Here are a bunch of links for BUILD material related to Game Dev. Go Nuts, Be Awesome. Downloads: Windows 8 Developer Preview Visual Studio 11 Developer Preview MSDN: Direct3D 11.1 DXGI 1.2 WDDM 1.2 Feature Level 11.1 DirectXMath Channel9: Direct3D PLAT-751T 3D Graphics for Metro Style Apps and Games PLAT-752T Tuning GPU usage for any form factor HW-218T: Understanding the Windows 8 graphics driver model TOOL-761T: A lap around DirectX game development tools XINPUT PLAT-754T: From touch to gamepads: ...
Introduction We are all familiar with the Application Bars in Windows Phone 7… It can be achieved with a few lines of code as shown below: <phone:PhoneApplicationP... <shell:ApplicationBar> <shell:ApplicationBarIco... IconUri="/icons/download.png" IsEnabled="True" /> <shell:ApplicationBarIco... IconUri="/icons/settings.png" IsEnabled="True" /> <shell:ApplicationBar.Me... <shell:ApplicationBarMen... x:Name="mnuReturnToHome" Text="return ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US 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:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; ...
Recently I was copying a composite property which I will just have to refer to as Team. (This was on client's code so I have to change all the names) In class A, Team looked like: return this.Tom + "-" + this.Dick + "-" + this.Harry; In class B, Tom, Dick and Harry were called UncleTom, UncleDick and UncleHarry. When I copied the composite property from class A to class B, highlighted Tom in this.Tom and pressed control-J, ReSharper went straight to this.UncleTom - "clever" ReSharper! Really I should ...
I have dabbled in async programming in the past but never put any real effort into understanding how things worked. With the new async features in .Net 5 I thought I would give it a look. Here is a quick example of one of the features you can expect in the new framework and how it can make our life easier. The best way to illustrate this is to make a simple WPF application as follows… In the past If we had the following small WPF application with just one window / form… The XAML code for the window ...
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; ...
When you make a service available external to your corporate network sometimes SSL isn’t secure enough. If you really want to limit the users who can access a service they need to tied to credentials. One of the most common credentials to tie to is a Windows account. What if you are the consumer of these services. When you add a service reference to a Visual Studio 2010 project it does not give you a chance to set credentials. The following example is how you can apply credentials to a service reference. ...
“If only there was some way to quickly and silently install applications and tools on my windows machine.” Chocolatey is kind of like an apt-get, but for Windows. It is a machine level package manager that is built on top of NuGet command line and the NuGet infrastructure. Jason Jarrett recently described it as the free/OSS windows app store. What that means for you is that you can install and update software (applications and tools) on your machine with a few keystrokes and chocolatey does the rest! ...
While the development server in Visual Studio 2010 is great for most work, it does have 1 shortcoming in that if you start adding content types that are not part of the base set of known Mime types built in, you won’t affect the proper header response that is emitted to the client/browser. For example MP4 files, out of the box the development web server emits application/octet-stream or something like that. What we really need is video/mp4. Now, with IIS Express, you can easily switch over to use ...
OpenXML SDK 2.0: Export a DataTable to Excel Very good article and download project http://lateral8.com/article... The DocumentFormat.OpenXml.dll is registered in the GAC when the SDK is installed so it doesn't physically copy it to your project's output folder by default when you build the application. If you select the option to Show All Files in Visual Studio (Project | Show All Files), you'll see a References node appear in your VB.NET project ...
Windows Azure AppFabric ofrece servicios en dos areas distintas. La primera la forman servicios de middleware como Service Bus, Access Control, Caching e Integration. La segunda está formada por un servicio para contener aplicaciones AppFabric, un gestor de estas aplicaciones que se ofrece desde el portal de la plataforma y herramientas para el desarrollo de este tipo de aplicaciones. La segunda area, Windows Azure AppFabric Applications, está en CTP desde Junio pasado y es el motivo de este post. ...
Welcome to my new blog on this site. My current blog is still on: http://hassanfad001.blogspo... and will be moved soon to this site. Stay tuned for all information about: - Visual Studio (VS) - Team Foundation Server (TFS) & Team Foundation Service (Hosted TFS) - Visual Studio Application Life Cycle Management (ALM) - Microsoft Test Manager (MTM) - SharePoint (SP) - Community & MVP Program related staff and Microsoft Technologies at all. - ....ect Thanks. Hassan ...
In this Issue: Damian Schenkelman, Dave Campbell, Laurent Bugnion, Pete Brown, Asim Sajjad, Daniel Egan, Kunal Chowdhury, Joost van Shaik, Jeff Wilcox, Cristian Merighi, and Avi Pilosof. Above the Fold: Silverlight: "Silverlight 5 in Action Book Excerpt: Using the Accelerometer from Silverlight 5 via Native Extensions" Pete Brown WP7: "A note about remote URIs in Windows Phone secondary tiles" Jeff Wilcox Metro/WinRT/Windows 8: "Quick tip: Select the correct INotifyPropertyChanged in Windows 8 / ...
Nuget is an easy and fast way to get the latest updates of an open source project. All the time consuming integration work into your visual studio project is done nearly automatically. The upcoming service release 2 (SR2) of SharpBox 1.1 will support Nuget as a new distribution platform by default. Feel free to try it out with our pre-release of the SR2 and if you like it, vote for it to give us a little bit more visibility. Our Nuget package can be found here: http://nuget.org/List/Packa... ...
First we would like to thank each and every one of you who have supported Visual WebGui in the nominations for DevProConnections and Windows IT Pro. We appreciate all of our customers and friends of Gizmox for being with us each step of the way in our efforts to bring our unique products to the forefront of code trans-positioning and migration. Without further ado - Congratulations to our 3 big winners! Gevorg Horomyan Marcin Pytel Ugur Yildirim Please contact us at your earliest convenience at marketing@gizmox.com ...
Today, we reached a new milestone of Microsoft All-In-One Code Framework. It gives me great pleasure to announce our newest Microsoft All-In-One Code Framework Sample Browser - v4 available to the globe. With this release, we embrace the hope of giving global developers a completely new and amazing experience to enjoy over 700 Microsoft code samples. Compared with the previous version, this new version of Sample Browser is completely redesigned from tip to toe. We heard lots of users’ voices about ...
I was very optimistic when I first saw Metro style apps coded in C# on Windows 8, because for the most part they are not much different than the well known XAML/C# pair on Silverlight or WPF. This led me to brag a bit about probably having a port of MVVM Light ready “in a few days”. Of course I didn’t take in account that I would have a great time the week after //build in Seattle, with fantastic weather and tons of friends to have dinner and conversations with. Needless to say, the few days turned ...
In this Issue: AfricanGeek, Andrea Boschin, Colin Eberhardt, Anoop Madhusudanan, Lee, Laurent Bugnion, Rudi Grobler, Xianzhong Zhu, Jesse Liberty, Asim Sajjad, Dhananjay Kumar, XAMLNinja, and Kunal Chowdhury. Above the Fold: Silverlight: "Develop a Flexible 2.5D Scene Editor Targeting Silverlight RPG Games - Part 2" Xianzhong Zhu WP7: "A Windows Phone 7.1 (Mango) MVVM Tombstoning Example" Colin Eberhardt Metro/WinRT/Windows 8: "Consuming WCF Service in Windows 8 XAML/C# metro application" AfricanGeek ...
In this Issue: Justin Angel, Kunal Chowdhury, Lazar Nikolov, Laurent Bugnion, Rudi Grobler, Asim Sajjad, Nikola, and Igor. Above the Fold: Silverlight: "Simulating rain in Silverlight Part 4 - Adding sound effects" Lazar Nikolov WP7: "The Fastest Way to Switch Free/Paid and NoDo/Mango App Build in Visual Studio" Nikola Metro/WinRT/Windows 8: "Reverse Engineering and Modifying Windows 8 Apps" Justin Angel Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's latest ...
First a big congratulations to all the new and renewed MVPs (October 1)! In this Issue: Rogier van der Hee, Laurent Bugnion, Andrej Tozon, András Velvárt, Rudi Grobler, Xianzhong Zhu, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, Charles Petzold, Nikola, XAMLNinja, and Ollie Riches. Above the Fold: Silverlight: "Connecting to FTDI devices using Silverlight 5 RC" Rogier van der Hee WP7: "Removing poly line from Bing Maps on WP7" Ollie Riches Metro/WinRT/Win8: "Metro Controls – Jump Viewer" ...
A couple of weeks ago as the whirlwind of news was coming from the BUILD Conference, a number of announcements were coming regarding Visual Studio 11 and TFS 11. Brian Keller made links available for the Demo VM, HOLs and Demo Scripts. This information can be found here: http://blogs.msdn.com/b/bri... ...
Recently I delivered a session at Virtual TechDays on why NuGet is so useful. As a part of the demonstration, I was showcasing how it automatically allows us to update some of the external reference libraries. Point in case, here is jQuery. Starting Visual Studio 2008 SP1, we have been shipping jQuery and intellisense for jQuery thereof. With Visual Studio 2010, out of the box, when we create a “File – New Project – ASP.NET Web Application” (which would create a Webforms application) it would automatically ...
Hi All, Visual Studio 2010 Feature Pack 2 having following features :- Use Microsoft Test Manager to capture and playback action recordings for Silverlight 4 applications. •Create coded UI tests for Silverlight 4 applications with Visual Studio 2010 Premium or Visual Studio 2010 Ultimate. •Edit coded UI tests using a graphical editor with Visual Studio 2010 Premium or Visual Studio 2010 Ultimate. •Use action recordings to fast forward through manual tests that need to support Mozilla Firefox 3.5 ...
In this Issue: Colin Eberhardt, Dennis Doomen, Lazar Nikolov, András Velvárt, Rudi Grobler, Jeremy Likness, Derik Whittaker, Morten Nielsen, Sumit Dutta, Asim Sajjad, Ollie Riches, Kunal Chowdhury, and Beth Massi. Above the Fold: Silverlight: "Simulating rain in Silverlight Part 3 - Adding wind effect" Lazar Nikolov WP7: "Developing Windows Phone 7 HTML5 apps with PhoneGap" Colin Eberhardt LightSwitch: "LightSwitch Community & Content Rollup–September" Beth Massi Metro: "Lighting up your C# Metro ...
Introduction Just the other day I blogged about “Enabling Frame Rate Counter for XAML Applications in Windows 8”. At the very end of that post, I reminded everyone that that method does not work for HTML / JS Metro Applications. But, we are in luck as Mathias Jourdain provided sample code for accomplishing this in HTML / JS in his Build talk. The only problem was that he didn’t describe how to hook this into a new application to actually use. That is going to be the focus of today’s blog post. Let’s ...
Hi All The number one tool you can download TODAY to give feedback on VS2010 and vNext is PerfWatson Please follow the URL: Visual Studio Gallery here: http://visualstudiogallery.... For mor Information please browse URL below http://blogs.msdn.com/b/zai... Thanks Abhishek ...
The time has come to begin the project. I am pleased to announce Card Roulette. All posts on the topic will include the tag "Card Roulette". The concept is fairly simple. One day, I was watching a biography of the man that invented the theory of card counting in Black Jack. While I was impressed with the math, I always felt that it was misleading. You're not really counting card, just keeping a few simple statistics. This nagged on me for a few weeks until I came up with the concept of playing Roulette ...