Lync Addin – Send SMS

Thursday, May 21, 2015

Many companies I work for are using Lync for communication inside and outside the company, unlike most IM tools Lync doesn’t allow offline messaging. Which means that when you try to send a message to a contact that is offline you’ll receive the following message: We couldn't send this message because User is unavailable or offline. So I decided to provide a workaround (no I’m not adding offline messaging to Lync) that allows me to send an SMS message to anyone directly from Lync (also pulling user name Mobile Number). * Sending SMS requires a server that supports that...

TFS Cleaner Tool

Thursday, December 11, 2014

I few weeks ago I wrote a post about Control\Reduce TFS DB Size after received a “There is not enough space on the disk” message. That post shows how to identify what Test Attachments types are taking so much space and using the MS Test Attachment Cleaner to remove them from TFS repository. Two things, first I don’t like using Command Line tool – I prefer UI, so using MS Test Attachment Cleaner isn’t my favorite. Second, there are other things beside Test Attachment what consume a lot of space in TFS. So I decide to create a...

Getting Started With Application Insights (AI)

Wednesday, November 26, 2014

Application Insights for Visual Studio Online lets you monitor your application by tracking events, exceptions, usage, counters and custom telemetry of your application.Currently AI is in preview and available only on VSO, but you can jump and start using it Today! Currently there is two versions of AI out there – the VSO version and Portal Version, if you’re using Visual Studio Update 3 or later, you’re probably using the portal version.As I wrote AI is currently in preview and doesn’t provide all the information this kind of service should provide - OS, Browser, GEO and more analytic data...

Super Simple Load Test From VSO

Wednesday, November 19, 2014

Brian Harry post about this new experience a few weeks ago so in case you haven't heard about it here a glimpse. First if you don’t have VSO (Visual Studio Online) account it’s free and simple right here - http://www.visualstudio.com/For more information on VSO check out my presentation on VSO - http://blogs.microsoft.co.il/shair/2014/10/30/sela-open-house-visual-studio-online-application-insights/ Microsoft calling it “Load Test” but I think the proper term is High Scale Availability Check, because you can only test one Url,  and you can’t add validations to the load so where there is not validations there is no Test. As the post title implies it’s...

Lifetime Dev Center Registration for Windows Phone 8 & Windows 8

Monday, September 22, 2014

A week ago Microsoft announce that she’s dropping her annual fee, Starting September 16, 2014, all Windows and Windows Phone developer accounts in Dev Center will transition to a one-time only Dev Center registration fee. Microsoft Announcement Each developer will still have to pay 19$ but this is for lifetime account, a company will have to 99$ (once), the new entrance will allow you to choose which dashboard you want to enter and from there everything is pretty much the same. Dropping of annual fees that is the big news for developers, pay 19$ for both Windows Phone 8 and Windows...
no comments

TFS API Part 55– Source Control Get History

Wednesday, September 10, 2014

This post will demonstrate how to retrieve Source Control Items, placing those items into TreeView with dynamic search for children items. Also I'll show how to query Server Item history. Download Demo Project I’ve created WPF Application and added the following assemblies into my project: Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common Microsoft.TeamFoundation.VersionControl.Client.dll Microsoft.TeamFoundation.VersionControl.Common Step 1: Connect TFS As always we need to connect TFS before doing anything. public bool Connect() { TeamProjectPicker tpp = new TeamProjectPicker(TeamProjectPickerMode.SingleProject, false); if (tpp.ShowDialog() == System.Windows.Forms.DialogResult.OK && tpp.SelectedProjects.Length > 0) { Tfs = tpp.SelectedTeamProjectCollection; ProjectInfo =...
no comments

TFS Performance Tips – Cache

Sunday, August 17, 2014

There is always a way to make thing work faster, my customer has two App Tiers controlled by NLB and DB Cluster and still there is ways to improved TFS Performance. I’ve wrote on DB Resizing and Management - Control\Reduce TFS DB Size I demonstrate how to clear IIS Logs - Clear IIS Logs Using Task Scheduler – Although some people prefer to disable log by Running the following command: (I don’t like it – If there is a problem disabling information will not help you solving the problem…..) %windir%\system32\inetsrv\appcmd set config -section:system.webServer/httpLogging /dontLog:"True"  /commit:apphost Separate I/O...
no comments

The number of requests for "Domain\User" has exceeded the maximum number allowed for a single user

Wednesday, July 9, 2014

I’m building a dashboard for a customer with a lot reports from SSRS, while working I’ve received the following message: To solve this you need to change SSRS config file located at - “C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config” Change “MaxActiveReqForOneUser” key From 20 to 100
no comments

Control\Reduce TFS DB Size

Sunday, June 29, 2014

Today I received an email from the company DBA saying that out TFS Backup failed because “There is not enough space on the disk”. First I’ve opened SSMS to understand how big is our TFS DB and I…….. What????? I knew that we’re getting bigger from day to day (more and more groups are joining to start working with TFS) but 633GB??? TFS DB Size growth usually comes from Attachments and Source Control, So I tried to understand which Team Projects are taking most of the space. I need to understand what type of attachments are taking all that space, again per...

Could not establish trust relationship for SSL/TLS secure channel

Thursday, June 26, 2014

Working with WebClient to fetch some data from a web service (HTTPS) return an error, now it’s fully understandable why this exception raised – the server certificate has expired and isn’t valid any more. But how I can still getting the data from the service although the certificate isn’t valid??? You just need to override the ServerCertificateValidationCallback property - Gets or sets the callback to validate a server certificate. System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; }; And you’re done!
no comments