DCSIMG
TECH,.NET - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » TECH » .NET (RSS)
מפגש ALM בנושא - All About Testing In Visual Studio 2012
ראשית תודה לכל מי שהגיע למפגש ALM שהתקיים במיקרוסופט רעננה, בהרצאה זאת דיברתי על היכולות השונות לבדיקות אוטומטיות ב – Visual Studio 2012: Unit Test ו- Fakes Coded UI Advanced Search Cross Browser Playback Web Performance Test Load Testing הורדת פרויקט דוגמא All about testing in visual studio 2012 from Shai Raiten
מפגש קבוצת ALM בנושא אוטומציה ב–Visual Studio 2012
בשנתיים האחרונות שאני שומע רק על Coded UI  ב – Visual Studio אבל יש עוד כ”כ הרבה מעבר, במפגש הקרוב אני אדבר על כל יכולות האוטומציה ב – Visual Studio 2012 עבור מפתחים ואנשי אוטומציה. נדבר על Unit Test ויכולת ה – Fakes החדשה שמגיעה עם Visual Studio 2012 (מחליף את Pex & Moles) ממשק Web Test Manager שמגיע עם Update 2, אשר מאפשר עבודה עם בדיקות ללא MTM. חידושים ודרכים יעילות לכתיבת Coded UI ועבודה עם דפדפנים שונים כגון FireFox ו – Chrome. Web Performance Test Load Testing בנוסף לא כדאי להפסיד...
הרצת בדיקות על דפדפנים שונים עם Coded UI Testing
לאחרונה נתקלתי במספר טענות שלא ניתן להריץ בדיקות Coded UI  על דפדפנים שונים למעט Internet Explorer, אז רק להבהיר – אכן אפשר! אתם צריכים את הדברים הבאים על מנת שהתוסף יעבוד ויאפשר לכם להריץ בדיקות Coded UI על דפדפנים שונים: Visual Studio 2012 Update 1 Chrome 21+ Firefox 15+ IE 9/10 Windows 7,8 and Server 2008 R2 SP1 במידה ואתם עובדים עם Visual Studio 2010 אין צורך לשדרג את השרת, רק להתקין Visual Studio 2012 שיכול לעבוד במקביל עם Visual Studio 2010. ראשית יש להוריד את Selenium components for Coded...
TFS API Part 49 – Delete Team Project
There are many improvements in TFS API for 2012 version, in my previous post I’ve talked about TFS API Part 48 – WorkItemControl And Bypass Work Item Rules that allow work item creation with bypass rule mode in WorkItemStore that allow you to create and change any field value without applying the WorkItem template rules. in this post I’ll show how to delete Team Project using TFS API, be aware Delete Team Project is unrecoverable! Download Demo Project Step 1: Connect TFS and Getting Team Projects...
Run Windows Store Apps From Desktop
When customers ask me how they can run Windows Store app from Desktop usually the answer is – You Can’t, but if you really want there is a way to do that. The reason I usually answer is You Can’t is because – In order to run Windows Store app from Desktop you need to install Windows App Certification Kit , this pack contains “ microsoft.windows.softwarelogo.appxlauncher.exe ” file that can run a Windows Store app by his application model id. So if you plan on publishing your app you can’t assume...
WinRT Toast Notification From Desktop Application
The post title maintained Toast Notification but after reading this post we'll be able to perform API calls to WinRT from your Desktop application. As you know WinRT exposing API’s for three developer languages: C#, C++ and JavaScript, this means that from each language you’ll be able to perform WinRT calls. The idea is based on Windows Metadata File (winmd) that expose those APIs that can be consumed across a variety of technologies and languages. Download Demo Project So why not using those...
How To: Compress Files In WinRT
Windows Store apps are aligned with PLM philosophy (Only active application will use device resources), and because of this most Windows Store apps needs to save their data locally until the next application execution. Windows Store apps can also use the Roaming folder to save files and settings that will be sync with the user Windows Live account, when saving settings or files to Roaming folder you need to make sure those files are not too big so Windows 8 will be able to sync the Roaming folder...
Windows.BackgroundTasks contract or is not installed
Yesterday I did some work on BackgroundTasks (CS) for customer application, while building the structure I faced an unfamiliar error and application crash when the Task was triggered. I’ve look into Windows Event Log and fond a error related to my application: Activation of app fcf446e9-4a89-4d56-b3ae-def1bab41ac2_d824bndbbbqn4!App failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information. So...
Windows 8 Metro – Code Behind
When I develop Windows 8 Metro App I usually use Windows Store app samples to see code examples features but sometimes you want more… For example I really want to know how “Mail” metro app works: How getting access to other email account, sending email and more. So in order to to that I had to gain access to “Mail” metro app… Let’s start the Hack: Problem: WindowsApps folder is blocked and by default you can’t open this folder. Solution : First open Windows Explorer and navigate into “C:\Program...
Using Live SDK in Windows 8 – C#
Tweet Live SDK provides a set of controls and APIs that enable applications to integrate single sign-on (SSO) with Microsoft accounts and access information from SkyDrive, Hotmail, and Windows Live Messenger on Windows Phone and Windows 8. Live SDK support several platforms such as: iOS, Android and of course Windows Phone and Windows 8 applications using C# and JS. In this demo I’ll show how to use Live SDK with Windows 8, so in order to follow this article you need to have the following installed...
How To: Bing Maps Custom Tile Overlay - Google Maps
Tweet I got a question from a friend who wanted to replace Bing Maps Tiles with Google Maps Tiles . You might ask yourself why? If you want Google Tiles just replace Bing Control and work with Google Maps…..  In this case I want to work with Bing Map Control because the benefits I get in Metro Applications in Windows 8 for C#, C++, VB.NET and JavaScript.  And I also want Google Maps language support . Download Demo Project Currently Bing Maps doesn't support any language except English...
How To: Bing Maps For Windows 8 Metro Apps - JavaScript
In my last post I talked about Bing Map for C# , but you can also do the same of JavaScript projects using Bing Maps SDK. Download Demo Project Step 1: Maps Developer Account Before you can use Bing Sdk from Windows 8 Metro App you need Maps Developer Account, open http://www.bingmapsportal.com/ , create or enter with existing Windows Live account. Choose “ Create or view keys ” and create new Key for your application. Step 2: Create Bing Maps Metro Application Download the latest bits - Bing Maps...
How To: Bing Maps For Windows 8 Metro Apps - C#
Tweet Bing Maps SDK is available for Visual Studio 2012 RC and Windows 8 release preview, Bing Maps SDK is easy fast and cool control that you can use in your Metro App. Download Demo Project Step 1: Maps Developer Account Before you can use Bing Sdk from Windows 8 Metro App you need Maps Developer Account, open http://www.bingmapsportal.com/ , create or enter with existing Windows Live account. Choose “ Create or view keys ” and create new Key for your application. Copy and save that key, create...
TFS API Part 47 (VS11) – Manage Iterations Dates
Tweet Over the last posts I talked about “ TFS API Part 46 (VS11) – Team Settings ”, in this post I’ll show how to get and change Iteration Dates from TFS API. We’ll show all Teams under a specific Team Project and once you click on a Team you will see its Iterations and Dates. Download Demo Project Step 1: Create Project and Add Reference Create an WPF application and add the following references: First add reference for: Microsoft.TeamFoundation.Build.Client (11.0.0.0) Microsoft.TeamFoundation...
TFS API Part 46 (VS11) – Team Settings
Tweet In the previous posts “ TFS API Part 45 (VS11) – Modify Teams and Team Members ” I talked about Teams, from getting all team to modify and creating new Team using TFS API. Now, Teams are more than just a “Security Group”, they hold specific settings such as relevant Areas/Iteration for that Team. The “Team” can be assigned to Backlog Iteration (Set as Team’s backlog Iteration), this takes all paths under that iteration and add them to the team backlog. You can also change the Iteration backlog...
More Posts Next page »