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


PowerShell : A deep dive into remoting - part 7

AddThis Social Bookmark Button
second server may not have the required permissions to perform the action.
The problem is related to the way Windows PowerShell delegates the credentials from Server1 to Server2. During delegation, any script or command executed on Server2 will be executed as the user that is defined by the credential. By default delegation can only traverse one hop, that means Server2 does not have the permission to delegate the credential to Server3 and it uses the credential of the PowerShell process to execute the script/ command on Server3 resulting in the problem.

Download all your NuGet Package Licenses

AddThis Social Bookmark Button
The other day I was discussing the open source dependencies we had in a project with a lawyer. Forgetting my IANAL (I am not a lawyer) status, I made some bold statement regarding our legal obligations, or lack thereof, with respect to the licenses. I can just see her rolling her eyes and thinking to herself, "ORLY?" She patiently and kindly asked if I could produce a list of all the licenses in the project. Groan! This means I need to look at every package in the solution and then either open the package and look for the license URL in the
metadata, or I need to search for each package and find the license on If only the original creators of NuGet exposed the package metadata in a structured manner. If only they had the foresight to provide that information in a scriptable fashion. Then it dawned on me. Hey! I'm one of those people! And that's exactly what we did! I bet I could programmatically access this information. So I immediately opened up the Package Manager Console in Visual Studio and cranked out a PowerShell script...HA HA HA! Just kidding. I, being the lazy ass I am, turned to Google...(Read whole news on source site)

Using Stored Procedures in an ASP.Net MVC 5.0 application using Entity Framework 6.0

AddThis Social Bookmark Button
In this post I will be looking into EF 6.0 using the Code First Workflow and its support for stored procedures. I will be building a simple ASP.Net MVC 5.0 application that will be the client application that will consume the Entity Framework data access layer. I will be using Visual Studio 2013,C# 5.0 and LocalDb in this demo. While I am building this simple ASP.Net application I will point out to various tools and option in VS 2013 that make the completion of an application faster. I will be writing as less code as possible. I will be leveraging the scaffolding functionality as
much as possible.  I will also show you how to log  queries sent to the database by Entity Framework 6.0. With EF 6.0 we do have a mechanism to trace/profile everything EF sents to the data store. I will also demonstrate how you can install Entity Framework Power Tools that enables developers to visualise the POCO classes in an entity designer. We will create the ASP.NET Web Application with the MVC 5 Project Template. 1) Launch Visual Studio 2013 and click on the "New Project". Select the Web from the left pane and create the ASP.NET Web Application. Have a look at the picture below  2) Select...(Read whole news on source site)

The Characteristics of a Successful SPA Session Slide Deck and Demos

AddThis Social Bookmark Button
Last week I had the pleasure of delivering a session called “The Characteristics of a Successful SPA” in DevWeek 2015 conference. In the session I covered the following: The Road to Single Page ApplicationsWhat is a SPA?SPA Building BlocksCharacteristics of a Successful SPA I want to thank all the attendees who came to hear my […]

Bitmap types, Binary Resources and Westwind.Globalization

AddThis Social Bookmark Button
For most applications when it comes to localization, most of the tasks at hand have to do with string resource localization. However, resources in .NET also support binary resource streams so you can store images and other data in resource files. Part of the reason for this is that Resx resources serve more purposes than localization – they are also meant as a way to store reusable larger size content outside of the actual source code of an application. Behind the scenes .NET stores resources as files that are linked into Resx files as project relative paths and then sucked
into the actual satellite resource assembly when the project is compiled. The invariant/default resource assembly is merged into the main assembly while any other localized versions are stored externally in the bin folder with the appropriate locale extension like Inside of the actual .Resx file, when you open it with the plain XML editor in Visual Studio or a text editor from Windows you get: ..\Resources\Calendar.png.png;System.Drawing.Bitmap, System.Drawing,
Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
The strongly type property on the Resource then is...(Read whole news on source site)