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


Sharing assembly-level context across unit tests

AddThis Social Bookmark Button
Finally got around to implementing this for Xunit since I needed it for something (to be blogged soon too ;)). Copied from the project page. Enjoy! Install-Package xunit.assemblyfixture Provides shared state/fixture data across tests in the same assembly, following the design of class fixtures (rather than the more convoluted collection fixtures). To complement xUnit documentation style, I shamelessly copy its layout here. Shared Context between Tests Please read xUnit documentation on shared context and the various built-in options, which are: Constructor and Dispose (shared setup/cleanup code without sharing object instances) Class Fixtures (shared object instance across tests in a
single class) Collection Fixtures (shared object instances across multiple test classes To which this project adds: Assembly Fixtures (shared object instances across multiple test classes within the same test assembly) Assembly Fixtures When to use: when you want to create a single assembly-level context and share it among all tests in the assembly, and have it cleaned up after all the tests in the assembly have finished. Sometimes test context creation and cleanup can be very expensive. If you were to run the creation and cleanup code during every test, it might make the tests slower than you want....(Read whole news on source site)

Inject Custom Middleware into the ASP.NET Pipeline with OWIN -- Visual Studio Magazine

AddThis Social Bookmark Button
Inject Custom Middleware into the ASP.NET Pipeline with OWIN -- Visual Studio Magazine

While OWIN is a specification, Katana is the implementation of that specification.

The real beauty of OWIN is that it gives you direct access to the
ASP.NET pipeline in a relatively friction-free way. Things that
previously would have required creating HTTP modules and handlers can
now be simplified to actions passed to OWIN. And if you want to
self-host without IIS, even that is a lot easier than it was without

/>Writing middleware in OWIN is an easy way to insert functionality
into your application at a low level, and is a great place to deal with
cross-cutting concerns such as logging and authentication. Dependency
injection is now also an integral part of OWIN and can be used to inject
services into your middleware.

If you're interested in learning more about the concept of dependency
injection, check out my seven-part series on dependency injection
starting here.
...(Read whole news on source site)

How To Consume a WebAPI with RestSharp -- Visual Studio Magazine

AddThis Social Bookmark Button
How To Consume a WebAPI with RestSharp -- Visual Studio Magazine

At its core, communicating with an API simply involves creating and
sending an HTTP request to the API, and then doing something with the
response. Most modern APIs will return JSON, though you may run into
APIs that return only XML. Many also allow the caller to specify which
format they'd like to receive data in by specifying the preferred format
in the Accept header of the HTTP request.

Crafting an HTTP request can
be done in several ways, with the most
common way being the use of System.Net.Http.HttpClient or the simpler
System.Net.WebClient. System.Net.HttpWebRequest is also worth
mentioning, though it is flagged as obsolete and not recommended unless
you're doing something specific that requires lower-level access.

...(Read whole news on source site)

Visual Studio 2015 Update 1 CTP

AddThis Social Bookmark Button
Today we released Visual Studio 2015 Update 1 CTP. Included, you’ll find: Edit and Continue support for /BigObj in C++, which means you can now Edit and Continue while debugging Windows Store C++ projects. The C# interactive window in Visual Studio and the command-line C# REPL tool: Scripting APIs for C# and Visual Basic available on GitHub These APIs enable you to load and run C# and Visual Basic code as scripts in both the interactive window and REPL tool above. Pull requests in the Team Explorer window. Team Explorer now features a new Pull Requests hub where you can
see the list of pull requests that you’ve created, as well as the pull requests that others have assigned to them. We've also improved the Create Pull Request experience so you can publish branches and create pull requests in a single action. "Pull request required" work item policy. We now have a branch policy that requires associated work items for any pull request. Like the code reviewer and build policies, any code submitted to the branch must be submitted via pull request. When a pull request is created, the associated commits will be inspected for work item links, and if...(Read whole news on source site)

Atlanta MS BI Group September 28th Meeting

AddThis Social Bookmark Button
Come and join us on Monday, September 28th, for our next Atlanta MS BI Group meeting. The topic this time is "Enhancing Data Analysis and Predictive Analytics with NoSQL" delivered to you by RDA Consulting.
Presentation:Enhancing Data Analysis and Predictive Analytics with NoSQL  Level: IntermediateDate:Monday, September 28th, 2015Time6:30 – 8:30 PM ETPlace:South Terraces Building (Auditorium Room) 115 Perimeter Center Place Atlanta, GA 30346Overview:The pervasiveness of Big Data has created significant challenges for companies that have historically utilized relational database management systems to perform data analysis and predictive analytics. This presentation outlines the challenges
that stem from Big Data as it relates to deriving value from data, the types of NoSQL data stores available and how NoSQL can serve as a data platform that enhances the data analysis and predictive analytics capabilities of companies.Speaker:Cornell A. Emile is a Senior Software Engineer with RDA Corporation. Since 2001, he has designed, developed, and maintained a data-centric solutions within multiple industries such as Finance, Digital Marketing, State and Federal Government using Microsoft's BI stack. His main interests include database performance tuning, ETLs, Business Intelligence and NoSQL.Sponsor:RDA provides specific enterprise solutions that integrate software, managed services, and the...(Read whole news on source site)

SQL and R

AddThis Social Bookmark Button
There is plenty that is novel and perhaps foreign to a new R user, but it's no reason to abandon your hard-earned SQL skills! In this article, Casimir Saternos explains that not only can you easily retrieve data from SQL Sources for analysis and visualisation in R, but you can also use SQL to create, clean, filter, query and otherwise manipulate datasets within R, using a wide choice of relational databases.