DCSIMG
.NET 3.5,DEV - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » .NET 3.5 » DEV (RSS)
Email Confirmation - ASP.NET MVC Web Application
Tweet In my previous post on ASP MVC I showed How To Add Captcha to ASP MVC Web Application, but even if you use captcha you still want to make sure the user email is real and not just a fake one. In order to make sure the user has gave you his real email you need to use Email Confirmation mechanism to your site. ASP MVC is doing some of the work for us, when a user is register to your site is assign with a unique ID (Guid) property called -  ProviderUserKey I’ll use this value to verify the...
TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010
TFS API Part 25: Get TFS User List (Mail Sid, Account, Domain) – TFS 2010 One of my first posts on TFS API I showed how to obtain TFS User List ( TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) )m Couple of days ago I got a question how to perform the same thing on TFS 2010, This is very simple: In TFS 2008 the global user group were called = "Team Foundation Valid Users". Identity   SIDS = gss.ReadIdentity( SearchFactor .AccountName,   "Team Foundation Valid...
TFS API Part 24 – Get All Fields From TFS
TFS API Part 24 – Get All Fields From TFS I got an email regarding previous post ( TFS API Part 6: WorkItemStore - Get Fields From WorkItemType ) how to get Fields without regard to Work Item Type? This is very easy using Team System API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references:      Microsoft.TeamFoundation.WorkItemTracking.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio 10.0...
Expect The Unexpected
Expect The Unexpected The Microsoft Developer Platform Marketing team has launched a compelling new worldwide Microsoft® .NET Framework campaign at www.dotnetstories.com . Through online videos and written case studies featuring real developers who built amazing and diverse solutions on the .NET Framework, the campaign is intended to tell a clean and cohesive end-to-end story that is engaging and relevant to the developer community. What a great way to see some of the “ unexpected ” and powerful...
Working With Bluetooth Devices Using C# – Part 2 (OBEX)
Working With Bluetooth Devices Using C# – Part 2 ( OBEX) In my last post I talked about Working With Bluetooth Devices Using C# – Part 1 In this post I’ll show how to send file to bluetooth device. To send file to a bluetooth device we need to use WebRequest but with obex format. Download Demo Project OBEX is an acronym that stands for OB ject EX change, mostly used in the communications technology field as a communications protocol. Because the Infrared Data Association maintains OBEX, it is also...
Working With Bluetooth Devices Using C# – Part 1
Working With Bluetooth Devices Using C# – Part 1 32feet.NET is a shared-source project to make personal area networking technologies such as Bluetooth, Infrared (IrDA) and more, easily accessible from .NET code. Supports desktop, mobile or embedded systems. The project currently consists of the following libraries:- Bluetooth IrDA Object Exchange In this post I’ll show how to find Bluetooth devices using C# code. Download Demo Project First download 32Feet.net assemblies, the create new project and...
HttpWebRequest and the Expect: 100-continue Header Problem
HttpWebRequest and the Expect: 100-continue Header Problem Today I had an irritating problem when using the HttpWebRequest to POST form data over Proxy-Auth using HTTP 1.1. When sending this request over SSL every thing was fine, but when I used POST I got this error - X-Squid-Error: ERR_INVALID_REQ 0 from the server. After sniffing each request and drill down to understand the problem I found that not all web servers handle HTTP header "Expect: 100-Continue" correctly. Who Add this Header...
TFS API Part 19: Merge
TFS API Part 19: Merge In my last post about TFS API   TFS API Part 18: More Basic Stuff On Workspaces I demonstrate how to get / create and delete workspaces. In this post I’ll show how to perform Merge using TFS API . First add reference for      Microsoft.TeamFoundation      Microsoft.TeamFoundation.Client      Microsoft.TeamFoundation.Common.dll      Microsoft.TeamFoundation.VersionControl.Client.dll located...
The "BuildShadowTask" task failed
The "BuildShadowTask" task failed When Running tests Team System you got this error - ------------------------------------------------------------------------------------------------------ Error 8 The "BuildShadowTask" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.VisualStudio.TestTools.BuildShadowReferences.BuildShadowTask.Execute()    at Microsoft.Build.BuildEngine.TaskEngine...
Wit-It! 1.4 – New Features
Wit-It! 1.4 – New Features If you don’t know what is Wit-It! please read Wit-It! – Outlook Add-in for TFS Work Item Alerts I saw that lots of people are downloading Wit-It! and I get lots of feedbacks. Also I got a place on MSDN forums. It’s time for the next version of Wit-It! I fixed couple of performance problems, change the Design to some thing more friendly. Add couple new features to Wit-It! Download Wit-It! Today Here is the list: New Work Item Convert Email message to Work Item     ...
TFS API Part 16: Mapping Source Control Using VersionControlServer
TFS API Part 16: Mapping Source Control Using VersionControlServer In this post I’ll show how to use VersionControlServer class to map your Source Control. This post will be the basic start of how to use VersionControlServer class in TFS API. Download Demo First add reference for      Microsoft.TeamFoundation      Microsoft.TeamFoundation.Client      Microsoft.TeamFoundation.Common.dll      Microsoft.TeamFoundation.VersionControl...
Wit-It! – Outlook Add-in for TFS Work Item Alerts
Wit-It! – Outlook Add-in for TFS Work Item Alerts After a small talk with Guy Burstein he comes up with a Great Idea : use outlook form region to show Work Item from Team System. Then I remembered that working with Event Email in Team System are so  irritating. You can customize Event Emails to work with Team System Web Access but then you can’t open the work item in XML (sometimes you may need it) But then I noticed that not everyone have TSWA and even this sometimes can be irritating(slow...
TFS API Summary & My #200 Post
TFS API Summary & My #200 Post It’s been 4 months, 3 weeks(143 days) since my ..::: My #100 Post :::… and still having fun blogging in this great community. A month ago (12/01/09) I’ve stated posting about TFS API. In one month I had more then 450 downloads of my TFS API demos and over 3500 views. Also I got many email regarding TFS API problems, I can clearly say that knowledge in this area is needed! So be sure that I’ll keep posting about TFS API ! Here is a list of the last 15 posts on TFS...
TFS API Part 15: Import Work Item Definition + Validation
TFS API Part 15: Import Work Item Definition + Validation In my last post TFS API Part 14: Export Work Item Definition we saw how to export specific work item definition from TFS. In this post I’ll show how to import the work item definition to TFS and how to validate the definition.   Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program...
TFS API Part 14: Export Work Item Definition
TFS API Part 14: Export Work Item Definition In this post I’ll show how to Export work item definition using TFS API. This action can be used for Backups script or even for third party for Work Item definition editor . Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Add using...
More Posts Next page »