Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

How to prevent automatic updates in #Windows 10?

AddThis Social Bookmark Button
If you are already using Windows 10 Technical Preview, you might noticed that, you can not selectively install Windows updates now. Microsoft forces the updates to push in your system by default, but this recently caused some issues to few people. Thus, Microsoft released a tool named “Show or Hide updates troubleshooter”, which will allow you to remove and/or block selective updates.   In case you are facing issues with any installed updates pushed via the Windows Update service, “Show or Hide updates troubleshooter” tool is just for you. It’s a CAB package named “wushowhide.diagcab” which will allow you to
selectively remove or prevent any specific update package from being installed in your system. The following file is available for download from the Microsoft Download Center: Download the "Show or hide updates" troubleshooter package * Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.  When you click on the download link, this will prompt you to open or save the CAB package file “wushowhide.diagcab”. The screenshot shown...(Read whole news on source site)

Office 365 Groups for Admins - managing Groups with PowerShell

AddThis Social Bookmark Button
One of the loudest complaints I hear from people when we talk about Groups is the lack of management features, so in this post in the Office 365 Groups for Admins series we will take a look at how you can manage your Unified Groups using PowerShell. In the previous post I actually already showed you how to use PowerShell to create Groups, but let's take a step back. Connecting PowerShell to Exchange Online To start working with the Unified Groups in PowerShell we need to connect to Exchange Online and we do that by establishing a
PowerShell session to a specific Uri, see code sample below, and then import that session to our local session. This means we do not have to install any PowerShell module or similar. This is how it should look like:# We need some credentials of course $UserCredential = Get-Credential # Create the session $Session = New-PSSession -ConfigurationName Microsoft.Exchange ` -ConnectionUri https://outlook.office365.com/powershell-liveid/ ` -Credential $UserCredential ` -Authentication Basic -AllowRedirection # Import the session Import-PSSession $Session # Do Stuff... # Kill the session Remove-PSSession $Session There is nothing you need to modify here, just enter your credentials when asked for. Note that I...(Read whole news on source site)

Debugging Lambda Expression in Visual Studio 2015 – Watch Windows, Immediate Windows and also in DataTips

AddThis Social Bookmark Button
Debugging  Lambda expression is one of the coolest feature of Visual Studio 2015 and that’s bring lot of productivity among developers during debugging and release lot of pain. Using lambda expression is pretty often in code, mostly when we writes lots of LINQ statements. Priory to Visual Studio 2015, there was no direct and easy way, [...]

User experience on the main path–get it or get lost

AddThis Social Bookmark Button
The background for this post: Recently I got an email from a startup founder about a service that they are offering. It so happened that this service matched something that I was actually considering doing, so I was very happy to try it out. I registered, and on two separate occasions I attempted to use the service for its intended purpose. I wasn’t able to do that. I got some errors, and I’m not sure if it was data validation or plain errors. After getting in touch with the founder in question, he pointed me to the
guide which (presumably) had step by step instructions on how to get things working. I commented that this shouldn’t be this hard and got a reply that this is just the way it is, anywhere, not just with this service. It was at that point that I gave up on the service entirely. A few things to note, this is a web based service (and I intentionally not revealing which one) that is supposed to allow collaboration in one –> many scenarios. I was trying to use it as a publisher. This experience jarred me, for a very simple...(Read whole news on source site)

Debugging Lambda Expression in Visual Studio 2015 – Watch Windows, Immediate Windows and also in Data Tips

AddThis Social Bookmark Button
Debugging  Lambda expression is one of the coolest feature of Visual Studio 2015 and that’s bring lot of productivity among developers during debugging and release lot of pain. Using lambda expression is pretty often in code, mostly when we writes lots of LINQ statements. Priory to Visual Studio 2015, there was no direct and easy way, [...]

Processing HBASE data with Rx

AddThis Social Bookmark Button
HBase is good at many things but adhoc querying is not one of them. You can query by key, or you can scan over a range of keys. Sometimes it is handy to be able to monitor a table and process rows as they are added. This kind of processing over a stream is what Reactive Extensions (Rx) is good at, so why not combine hbase querying with Rx Observables? I’ll be using the Microsoft Hbase client and an Azure HBase cluster. What I want is to convert an Hbase table into an Rx observable, so that I can
filter, transform, group and fold. Step 1 is to fetch my observable: var hotRows = HBaseToObservable.Build(new Uri("https://redacted.azurehdinsight.net"), "????", "??????", "tablename","start_key") .Select(r => new { key = Encoding.UTF8.GetString(r.key), data = r.values.ToDictionary( v => Encoding.UTF8.GetString(v.column), v=> Encoding.UTF8.GetString(v.data))}); hotRows is now an observable reading forward over the hbase table tablename from the key start_key. As new records are appended to the table they will be pushed through the observable. Why do we want an observable view of an hbase table? This is most useful for a table storing data such as timeseries data, where we want a live, forward-only stream. With an observable we can do things like: hotRows ...(Read whole news on source site)

The Morning Brew #1911

AddThis Social Bookmark Button
Software CSLA .NET version 4.6 just around the corner – Rockford Lhotka ReSharper 9.1.3 to the Rescue – Jura Gorohovsky – JetBrains Information Swapping type-safety for high performance using compiler directives & F# decompiled into C# – Scott Wlaschin "No such interface supported" in Visual Studio 2015 on Windows 10 – Charles Willis Win2D 0.0.23 […]

Ingredients for well-designed OWIN middleware components - Part 6

AddThis Social Bookmark Button
In the fifth post of this series I talked about some PowerShell tips to align the versions of all NuGet packages. In this sixth post, I'd like to show you how you can make your HTTP API much easier to use.

Ingredient 7: Swagger-enabled documentation
If your component exposes an HTTP API based on WebAPI, I would suggest you add support for Swagger documentation. Swagger has become the ad-hoc WSDL equivalent for HTTP-based API. Adding this to your WebAPI controllers is as easy as referencing the Swashbuckle NuGet package and attaching the following lines of code to
your HttpConfiguration.

private static void EnableSwagger(HttpConfiguration configuration)
{
  configuration.EnableSwagger(c =>
  {
    c.SingleApiVersion("v1", "Piercer; easily diagnose run-time assemblies and threads");
    c.RootUrl(req => SwaggerDocsConfig.DefaultRootUrlResolver(req) + "/api");
    c.IncludeXmlComments(GetXmlCommentsPath());
  }).EnableSwaggerUi();
}

private static string GetXmlCommentsPath()
{
  return Assembly.GetExecutingAssembly().CodeBase.ToLower().Replace(".dll", ".xml");
}

In the case of Piercer, starting the Test Host and browsing to http://localhost:12345/api/swagger/docs/v1returns the following JSON that you can use directly to generate code using swagger-codegen.

{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "Piercer; easily diagnose run-time assemblies and threads"
},
"host": "localhost:12345",
"basePath": "/api",
"schemes": ["http"],
"paths": {
"/piercer/assemblies": {
"get": {
"tags": ["Piercer"],
"summary": "Returns all the run-time assemblies of the host process.",
"operationId": "Piercer_GetAssemblies",
"consumes": [],
"produces": ["application/json",
"text/json",
"application/xml",
"text/xml"],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
},

CSLA .NET version 4.6 just around the corner

AddThis Social Bookmark Button
I am very excited about the upcoming CSLA .NET 4.6 release – just a few days away now. Thanks to Jason Bock we'll now have analyzers in Visual Studio 2015 to help you identify and fix some of the most common coding errors when building business classes. And of course we've added support for .NET 4.6, Universal Windows Platform, and the latest Xamarin iOS/Android versions. Here’s a list of the existing/planned changes.

Home