Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Announcing Skype Beta for Windows Phone (including how to download), Group Me, and more exciting news

AddThis Social Bookmark Button
It has been quite an exciting past day and a half or so since the news broke about the availability of the Skype for Windows Phone Beta which is now available, as well as some other news and information regarding items such as: GroupMe and Skype Wifi, just to name a few. Now that the dust has settled a little bit on everything that took place yesterday, I thought I’d put together a quick recap of some of the Skype exciting news, resources, and info that I saw so that you could take advantage of it in case
you may have missed some of it. Skype for Windows Phone Beta On the 26th on the Skype “Big Blog,” the announcement of the availability of the Skype for Windows Phone Beta was posted.  In the post, they announced that effective immediately, you too can download and begin using the Skype for Windows Phone Beta on your Windows Phone. You can do this by navigating the the Windows Phone Marketplace or they even included a very handy code that you can scan directly on your phone to begin the install. To make it really easy for you,...(Read whole news on source site)

Oh no! My padding's invalid!

AddThis Social Bookmark Button
Recently, I've been doing some work involving cryptography, and encountered the standard .NET CryptographicException: 'Padding is invalid and cannot be removed.' Searching on StackOverflow produces 57 questions concerning this exception; it's a very common problem encountered. So I decided to have a closer look. To test this, I created a simple project that decrypts and encrypts a byte array: // create some random data byte[] data = new byte[100]; new Random().NextBytes(data); // use the Rijndael symmetric algorithm RijndaelManaged rij = new RijndaelManaged(); byte[] encrypted; // encrypt the data using a CryptoStream using (var encryptor = rij.CreateEncryptor()) using (MemoryStream encryptedStream = new MemoryStream()) using (CryptoStream crypto = new CryptoStream(
encryptedStream, encryptor, CryptoStreamMode.Write)) { crypto.Write(data, 0, data.Length); encrypted = encryptedStream.ToArray(); } byte[] decrypted; // and decrypt it again using (var decryptor = rij.CreateDecryptor()) using (CryptoStream crypto = new CryptoStream( new MemoryStream(encrypted), decryptor, CryptoStreamMode.Read)) { byte[] decrypted = new byte[data.Length]; crypto.Read(decrypted, 0, decrypted.Length); } Sure enough, I got exactly the same CryptographicException when trying to decrypt the data even in this simple example. Well, I'm obviously missing something, if I can't even get this single method right! What does the exception message actually mean? What am I missing? Well, after playing around a bit, I discovered...(Read whole news on source site)

Juice UI: Open source ASP.NET Web Forms components for jQuery UI widgets

AddThis Social Bookmark Button
This morning at MVP Summit, Scott Hunter just announced a new open source project from appendTo called Juice UI. Juice UI is a collection of Web Forms components which make it incredibly easy to leverage jQuery UI widgets in ASP.NET Web Forms applications. You can start using it right away by adding the JuiceUI NuGet package to your app, and you're welcome to go nuts with the source, which is dual licensed under MIT and GPL. What Juice UI does jQuery UI is a library that's built on top of jQuery. It's
got a lot of great widgets for common scenarios - things like date pickers, dialogs, and tabs - and they're all built on a really solid widget platform from some of the sharpest Javascript developers in the field. You've always been able to make use of these libraries using jQuery and jQuery UI, but the new Juice UI controls make it that much easier. Example: Gives you this: Included controls...(Read whole news on source site)

Custom MediaType Formatters in MVC 4 Web Api Error: 'Headers.ContentType' must be set before 'ObjectContent' can serialize its content

AddThis Social Bookmark Button
After upgrading to the MVC 4 Web Api a problem came up where the custom MediaTypeFormatters we were using were no longer functioning.You must now override, CanWriteType and CanReadType in your customer formatter, or it will return false by default.  'Headers.ContentType' must be set before 'ObjectContent' can serialize its content"vIdeally, some checks would be made here to determine if you truly can read or write the type..but for this example, return true.Throwing the following error: /// /// Determines whether this can serialize an
object of the specified type. /// /// The type of object that will be serialized. /// /// true if this can serialize an object of that type; otherwise false. /// protected override bool CanWriteType(Type type) { ...(Read whole news on source site)

Metro Style Site Directory for SharePoint Using EMCAScript

AddThis Social Bookmark Button
I’ve always been trying to come up with a useful and clever way to allow users to navigate around SharePoint sites. Recently I put together an “Application Directory” which basically displayed a menu system to navigate around apps. Using the JavaScript Class Library for SharePoint to pull values out of SharePoint I quickly put together something that normally would be a lot of C# code and a web part. The EMCAScript object model is powerful in that you can quickly pull data out of SharePoint sites and lists and make a pleasant user experience with just a little JavaScript, CSS, HTML,
and jQuery. It still will make a call back to the server to fetch the data but it’s done asynchronously so the perception to the user is almost seamless. This post walks you through building a site directory of sorts. It could be used as a landing page on a top level site collection or as a web part sitting on a team site (to show the contents below the site). It’s up to you but the net result is a nice navigation system (done with a little “Metro” styling) all done in a hundred lines of JavaScript. Here’s what we’re building: Let’s...(Read whole news on source site)

3 Common Pitfalls when Functional Testing a Web Application | Software Test Professionals Conference

AddThis Social Bookmark Button

1. JavaScript is bound to an input field and is disrupting your test's input to that field.
2. You're working with dynamic content where the element you need isn't yet loaded.
3. You're working with dynamic content where the content you need isn't yet loaded.

3 Common Pitfalls when Functional Testing a Web Application | Software Test Professionals Conference