<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8444635706317751222</id><updated>2012-02-16T05:37:16.170-08:00</updated><category term='Hyper-V'/><category term='PowerShell'/><category term='['/><category term='scripts'/><category term='Cloud'/><category term='TFS'/><category term='batch'/><title type='text'>Tech In4mr</title><subtitle type='html'>Just another random geek-speak blog</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tech.in4mr.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default?start-index=26&amp;max-results=25'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3069870292106549349</id><published>2012-02-08T19:17:00.000-08:00</published><updated>2012-02-08T19:17:28.820-08:00</updated><title type='text'>Work Item Visualizer for TFS 2010 - Visual Studio Gallery</title><content type='html'>&lt;a href="http://visualstudiogallery.msdn.microsoft.com/a35b6010-750b-47f6-a7a5-41f0fa7294d2"&gt;Work Item Visualizer for TFS 2010 - Visual Studio Gallery&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a quick and clean way to visualize your work item hierarchy and task dependencies from within Visual Studio  2010.  &lt;a href="http://visualstudiogallery.msdn.microsoft.com/site/search?f[0].Type=User&amp;amp;f[0].Value=MikeParks" title="Mike Parks MSDN Profile"&gt;Mike Parks &amp;amp; Cory Cissell&lt;/a&gt;  leveraged examples from the source code of the Codeplex project &lt;a href="http://visualization.codeplex.com/" title="Work Item Visualization Project"&gt;Work Item Visualization&lt;/a&gt; to develop this handy VS2010 add-in.&lt;br /&gt;&lt;br /&gt;Work Item Visualization add-in screenshot follows:&lt;br /&gt;&lt;img src="http://visualstudiogallery.msdn.microsoft.com/site/view/file/28891/0" title="sample visualization" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3069870292106549349?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://visualstudiogallery.msdn.microsoft.com/a35b6010-750b-47f6-a7a5-41f0fa7294d2' title='Work Item Visualizer for TFS 2010 - Visual Studio Gallery'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3069870292106549349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2012/02/work-item-visualizer-for-tfs-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3069870292106549349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3069870292106549349'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2012/02/work-item-visualizer-for-tfs-2010.html' title='Work Item Visualizer for TFS 2010 - Visual Studio Gallery'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-8433862620625303673</id><published>2012-02-01T16:13:00.000-08:00</published><updated>2012-02-01T16:14:43.475-08:00</updated><title type='text'>Export All Assemblies From Sql Server</title><content type='html'>This script pulls all the assemblies from your Sql Server database and saves them locally.&lt;br /&gt;Standing on the shoulders of giants I used the core script found at http://social.msdn.microsoft.com/Forums/en/sqlnetfx/thread/1e00e656-f322-45ec-b4e0-83db748fa97a as posted by Jian Kang&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- ===========================================================================&lt;br /&gt;-- Author: D.R.Bowden&lt;br /&gt;-- Create date: 20120201&lt;br /&gt;-- Description: Export All Assemblies From Sql Server Database&lt;br /&gt;-- ============================================================================&lt;br /&gt;execute sp_configure 'show advanced options', 1;&lt;br /&gt;go&lt;br /&gt;reconfigure;&lt;br /&gt;go&lt;br /&gt;execute sp_configure 'Ole Automation Procedures', 1;&lt;br /&gt;go&lt;br /&gt;-- set the output path --&lt;br /&gt;declare @LocalPath as varchar (max),&lt;br /&gt;@SQL as varchar (max);&lt;br /&gt;&lt;br /&gt;select @LocalPath = 'C:\temp\build',&lt;br /&gt;@SQL = '';&lt;br /&gt;&lt;br /&gt;-- ignore the microsoft.sqlserver.types.dll --&lt;br /&gt;select @SQL = @SQL + '&lt;br /&gt;&lt;br /&gt;SELECT @IMG_PATH = content FROM sys.assembly_files WHERE assembly_id = ' + cast (assembly_id as varchar (255)) + '&lt;br /&gt;&lt;br /&gt;EXEC sp_OACreate ''ADODB.Stream'', @ObjectToken OUTPUT&lt;br /&gt;EXEC sp_OASetProperty @ObjectToken, ''Type'', 1&lt;br /&gt;EXEC sp_OAMethod @ObjectToken, ''Open''&lt;br /&gt;EXEC sp_OAMethod @ObjectToken, ''Write'', NULL, @IMG_PATH&lt;br /&gt;EXEC sp_OAMethod @ObjectToken, ''SaveToFile'', NULL, ''' + @LocalPath + '\' + REPLACE([name], '.dll', '') + '.dll'', 2&lt;br /&gt;EXEC sp_OAMethod @ObjectToken, ''Close''&lt;br /&gt;EXEC sp_OADestroy @ObjectToken&lt;br /&gt;&lt;br /&gt;PRINT ''EXPORTED ASSEMBLY: ' + [name] + ' to ' + @LocalPath + '\' + REPLACE([name], '.dll', '') + '.dll''&lt;br /&gt;'&lt;br /&gt;from sys.assembly_files&lt;br /&gt;where assembly_id &gt; 1;&lt;br /&gt;&lt;br /&gt;set @SQL = 'DECLARE @ObjectToken INT, @IMG_PATH VARBINARY(MAX)&lt;br /&gt;' + @SQL;&lt;br /&gt;&lt;br /&gt;execute (@SQL);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-8433862620625303673?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://support.google.com/blogger/bin/answer.py?hl=en&amp;answer=41469' title='Export All Assemblies From Sql Server'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/8433862620625303673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2012/02/export-all-assemblies-from-sql-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/8433862620625303673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/8433862620625303673'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2012/02/export-all-assemblies-from-sql-server.html' title='Export All Assemblies From Sql Server'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-8295763025015828699</id><published>2011-05-04T13:07:00.001-07:00</published><updated>2011-05-04T13:07:33.788-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripts'/><category scheme='http://www.blogger.com/atom/ns#' term='batch'/><category scheme='http://www.blogger.com/atom/ns#' term='TFS'/><title type='text'>Simple TF.exe example to add, checkin and delete a file in TFS from the commmand line</title><content type='html'>&lt;p&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;    Normal   0           false   false   false     EN-US   X-NONE   X-NONE                         MicrosoftInternetExplorer4                             &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;                                                                                                                                                                                                                                                                                       &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;&lt;style&gt; /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin:0in;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman","serif";}&lt;/style&gt;&lt;![endif]--&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a name="_MailOriginal"&gt;&lt;span style="color: #1f497d;"&gt;I was asked a question earlier today and I thought it might be useful to share the answer.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;&lt;span style="color: #1f497d;"&gt;&amp;ldquo;&lt;/span&gt;.. I am trying to find a way to check in artifacts into TFS via command line utilities.&amp;nbsp; I have found a ton of documents on &amp;ldquo;tf&amp;rdquo;, but can not seem to locate that binary, any quick thoughts&amp;rdquo;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;&amp;nbsp;Below are the contents of a quick example bat file: &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;@Echo OFF&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;REM My root workspace is c:\-x-\&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;_TFS_&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;set tfPath = "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;cd c:\-x-\&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;_TFS_&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;\Test\&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;dir ..\..\*.* &amp;gt;&amp;gt; &lt;/span&gt;&lt;span style="color: #1f497d;"&gt;test&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;.txt&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" add &lt;/span&gt;&lt;span style="color: #1f497d;"&gt;test&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;.txt /lock:none&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" checkin /comment:"just a demo of tf.exe" /noprompt .\&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;test&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;.txt &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" delete &lt;/span&gt;&lt;span style="color: #1f497d;"&gt;test&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;.txt /lock:none&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;span style="color: #1f497d;"&gt;"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" checkin /comment:"just cleaning up a demo of tf.exe"&amp;nbsp; .\&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;test&lt;/span&gt;&lt;span style="color: #1f497d;"&gt;.txt&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-8295763025015828699?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/8295763025015828699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2011/05/simple-tfexe-example-to-add-checkin-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/8295763025015828699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/8295763025015828699'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2011/05/simple-tfexe-example-to-add-checkin-and.html' title='Simple TF.exe example to add, checkin and delete a file in TFS from the commmand line'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3101084657713619215</id><published>2011-03-23T06:39:00.000-07:00</published><updated>2011-03-23T07:40:57.316-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='['/><title type='text'>Incremental SQL Deploy: When a schema change might cause data in a table to be lost</title><content type='html'>&lt;div class="WordSection1"&gt;&lt;h1&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14pt;"&gt;Why does a SQL table change in a VS2010 DB Project raise the “The schema update is terminating because data loss might occur” deployment error? &lt;/span&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;This question has come up a lot lately…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt; &lt;h3 style="color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Get acquainted with the “&lt;span class="label"&gt;Block incremental deployment if data loss might occur”&lt;/span&gt;&lt;/h3&gt;&lt;h3 style="color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; SQL deployment property&lt;/h3&gt; &lt;div class="listnum" style="mso-list: l2 level1 lfo8;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;“When you deploy changes to an existing database, some changes could cause data loss. If a change might cause data in a table to be lost, the deployment will be canceled if the &lt;span class="label"&gt;Block incremental deployment if data loss might occur&lt;/span&gt; check box is selected. By default, this check box is selected, but you can find it in the Properties window for your project. For more information, see &lt;span style="color: #1f497d;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa833291.aspx"&gt;&lt;span style="color: #1f497d;"&gt;An Overview of Database Project Settings&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;” &lt;i&gt;&lt;span class="bibliorefChar" style="font-size: xx-small;"&gt;&lt;span style="color: #1f497d;"&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html#biblio1"&gt;&lt;span style="color: #1f497d; text-decoration: none;"&gt;[1]&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;h3 style="color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Changes that can raise the “The schema update is terminating because data loss might occur.” error &lt;/h3&gt;&lt;div class="listnum" style="mso-list: l2 level1 lfo9;"&gt;&lt;span class="bibliorefChar"&gt;&lt;span style="font-size: 12pt; font-style: normal;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;“The following kinds of changes will cause data loss: if a table is dropped and recreated, if you change the size of a column (char(100) to char(50) or nchar(100) to char(100)), or if you change the collation of a column that has a character type.“ &lt;span style="font-size: xx-small;"&gt;&lt;i&gt;&lt;span class="bibliorefChar"&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html#biblio1"&gt;&lt;span style="color: windowtext; text-decoration: none;"&gt;[1]&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="bibliorefChar"&gt;&lt;span style="font-size: 12pt; font-style: normal;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="listnum" style="mso-list: l2 level1 lfo8;"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;“…, if you have renamed your objects or columns at the source you might incur data loss while updating the target.” &lt;span style="font-size: xx-small;"&gt;&lt;i&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html#biblio2"&gt;&lt;span style="color: windowtext; text-decoration: none;"&gt;[2]&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="bibliorefChar"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style="color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; &lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Avoiding &lt;/span&gt; the “The schema update is terminating because data loss might occur.” error &lt;/h3&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: .5in; margin-right: 0in; mso-list: l4 level1 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;span class="bibliorefChar"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; font-style: normal;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Table Renaming&lt;/span&gt;&lt;/b&gt;: When you use refactoring to rename a database object or to move a database object to another schema, the refactoring log file records that action. At deployment time, the information in the log file helps preserve the intent of your changes. For example, you might lose data if you renamed a table, because the table would be dropped and a table would be created with the new name. With the refactoring log file, the deployment script can instead rename the table, preserving your intent and your data. &lt;i&gt;&lt;span class="bibliorefChar" style="font-size: xx-small;"&gt;&lt;span style="color: #1f497d;"&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html#biblio1"&gt;&lt;span style="color: #1f497d; text-decoration: none;"&gt;[1]&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class="bibliorefChar"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; font-style: normal;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: .5in; margin-right: 0in; mso-margin-top-alt: 2.0pt;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Note: To perform an table renaming using database refactoring &lt;/span&gt;&lt;/i&gt;&lt;span class="bibliorefChar"&gt;&lt;span style="font-size: 9pt;"&gt;[In4mr]&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 2.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;select the table in the solution explorer &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;On the File Menu select Data &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: Wingdings; font-size: 11pt;"&gt;à&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt; Refactor &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: Wingdings; font-size: 11pt;"&gt;à&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt; Rename&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;3.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;This will update all non-dynamic SQL references in the project as well. Dynamic SQL will have to be updated manually or via find and replace&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="listnum" style="margin-top: 2.0pt; mso-list: l4 level1 lfo11;"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;&amp;nbsp;Script data before renaming columns:&lt;/b&gt; As long as your source has new objects there is nothing to worried about, but if you have renamed your objects or columns at the source you might incur data loss while updating the target. For example in the above schema comparison result image you can see the EmployeeID column has been renamed to BusinessEntityID, so while updating the target it will drop the EmployeeID column and add the BusinessEntityID column which will have no data even though the EmployeeID column has data in it. &lt;span style="font-size: xx-small;"&gt;&lt;i&gt;&lt;span style="color: #1f497d;"&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html#biblio2"&gt;&lt;span style="color: #1f497d; text-decoration: none;"&gt;[2]&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="listnum" style="mso-list: l4 level1 lfo11;"&gt;3.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;Column Renaming: &lt;/b&gt;Column renaming can be done by refactoring as well, but the process id slightly different. &lt;a href="http://tech.in4mr.com/"&gt;&lt;i&gt;&lt;span class="bibliorefChar" style="font-size: xx-small;"&gt;[in4mr]&lt;/span&gt;&lt;/i&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: .5in; margin-right: 0in; mso-margin-top-alt: 2.0pt;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Note: To perform an table renaming using database refactoring&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 2.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;At the top right corner of the Solution Explorer panel click the Schema View button.&lt;/span&gt;&lt;/i&gt; &lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-rR95srCnXuM/TYn47RCzn_I/AAAAAAAAADY/cLjxHzDndCA/s1600/SchemaView.button.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="https://lh6.googleusercontent.com/-rR95srCnXuM/TYn47RCzn_I/AAAAAAAAADY/cLjxHzDndCA/s1600/SchemaView.button.PNG" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Schema View (Far Right)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-margin-top-alt: 2.0pt; page-break-after: avoid;"&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Browse to the table containing the column&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;3.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Expand the columns node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;4.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Right click on the column to be renamed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;5.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Select Refactor &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: Wingdings; font-size: 11pt;"&gt;à&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt; Rename&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: 1.0in; margin-right: 0in; mso-list: l4 level2 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;6.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;This will update all non-dynamic SQL references in the project as well. Dynamic SQL will have to be updated manually or via find and replace&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="margin-bottom: 2.0pt; margin-left: .5in; margin-right: 0in; mso-list: l4 level1 lfo11; mso-margin-top-alt: 5.0pt; text-indent: -.25in;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;4.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Adding Columns: &lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Adding a column to a table's existing column list will not cause data loss. &lt;a href="http://tech.in4mr.com/"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;i&gt;[infmr]&lt;/i&gt;&lt;/span&gt;&lt;/a&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="listnum" style="mso-list: none; text-indent: 0in;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;h1 style="margin-top: 0in;"&gt; References&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="mso-list: l6 level1 lfo1; text-indent: -.25in;"&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html" name="biblio1"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;An Overview of Database Build and Deployment &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://msdn.microsoft.com/en-us/library/aa833165.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa833165.aspx&lt;/a&gt; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSDN , July 2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="mso-list: l6 level1 lfo1; text-indent: -.25in;"&gt;&lt;a href="http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html" name="biblio2"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Schema Compare in VS 2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://www.mssqltips.com/tip.asp?tip=2089"&gt;http://www.mssqltips.com/tip.asp?tip=2089&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Arshad Ali , 8/12/2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;I hope this is helpful,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;In4mr&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;my@in4mr.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3101084657713619215?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3101084657713619215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3101084657713619215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3101084657713619215'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2011/03/incremental-sql-deploy-when-schema.html' title='Incremental SQL Deploy: When a schema change might cause data in a table to be lost'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-rR95srCnXuM/TYn47RCzn_I/AAAAAAAAADY/cLjxHzDndCA/s72-c/SchemaView.button.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3792125813735276455</id><published>2011-03-17T16:23:00.000-07:00</published><updated>2011-03-17T21:31:38.786-07:00</updated><title type='text'>Marcus Aurelius played first edition D&amp;D</title><content type='html'>Imagine playing Dungeons and Dragons in the 2nd century or as Anais put it playing D&amp;amp;D in the time of D&amp;amp;D. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-zC9jc1C71T8/TYLgHo6hYlI/AAAAAAAAADU/BG-Bd-DTCRE/s1600/d20circa170.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" r6="true" src="https://lh6.googleusercontent.com/-zC9jc1C71T8/TYLgHo6hYlI/AAAAAAAAADU/BG-Bd-DTCRE/s320/d20circa170.jpg" width="310" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://www.christies.com/Lotfinder/lot_details.aspx?intObjectID=4205385"&gt;A ROMAN GLASS GAMING DIE | CIRCA 2ND CENTURY A.D. | Christie's&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3792125813735276455?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.christies.com/Lotfinder/lot_details.aspx?intObjectID=4205385' title='Marcus Aurelius played first edition D&amp;D'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3792125813735276455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2011/03/marcus-aurelius-played-first-edition-d.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3792125813735276455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3792125813735276455'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2011/03/marcus-aurelius-played-first-edition-d.html' title='Marcus Aurelius played first edition D&amp;D'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-zC9jc1C71T8/TYLgHo6hYlI/AAAAAAAAADU/BG-Bd-DTCRE/s72-c/d20circa170.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3341283514537582326</id><published>2011-03-07T10:10:00.000-08:00</published><updated>2011-03-07T10:21:21.350-08:00</updated><title type='text'>"Execute As" clause with a CLR based procedure</title><content type='html'>If you have ever tried to write a file to a network share from sql server with a clr procedure using EXECUTE AS  '&lt;domain\windows account login&gt;' then you have learned true frustration.&lt;br /&gt;Almost undocumented is that the only domain accounts that will actually be used for CLR pass trhough impersonation are CALLER, OWNER, and SELF. &lt;br /&gt;To use these the dbo itself must be the account being used for access.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.sqlmonster.com/Uwe/Forum.aspx/sql-server-security/3909/Execute-As-clause-with-a-CLR-based-procedure"&gt;&amp;quot;Execute As&amp;quot; clause with a CLR based procedure&lt;/a&gt; &lt;br&gt;&lt;br&gt; The other option is to use windows impersonation inside of your CLR class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3341283514537582326?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sqlmonster.com/Uwe/Forum.aspx/sql-server-security/3909/Execute-As-clause-with-a-CLR-based-procedure' title='&quot;Execute As&quot; clause with a CLR based procedure'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3341283514537582326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2011/03/execute-as-clause-with-clr-based.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3341283514537582326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3341283514537582326'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2011/03/execute-as-clause-with-clr-based.html' title='&quot;Execute As&quot; clause with a CLR based procedure'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-7034721340849779516</id><published>2010-12-01T23:07:00.000-08:00</published><updated>2010-12-01T23:26:40.875-08:00</updated><title type='text'>Delete those pesky orphan SQL Server Jobs</title><content type='html'>&lt;style&gt;&lt;!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; font-size:11.0pt; font-family:"Calibri","sans-serif";}.MsoChpDefault {font-family:"Calibri","sans-serif";}.MsoPapDefault {margin-bottom:10.0pt; line-height:115%;}@page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;}div.WordSection1 {page:WordSection1;}--&gt;&lt;/style&gt; &lt;div class=WordSection1&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;CREATEPROCEDURE [dbo].[sputil_DeleteJobsLike_lite] (@jobnameVarchar(255),@jobsdeleted int =null output)&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;  AS&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                --============================================================================&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                --Author:                            drb&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                --Create date: 12/01/2009&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                --Description:   deletes jobs that names match a string&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                --Note: @dbName includes the schema&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                /*USAGE&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                DECLARE@_deleted int&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                SET@_deleted =0&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                EXECUTE[sputil_DeleteJobsLike_lite] @jobname='QRY_7_',@jobsdeleted=@_deleted output&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                SELECT@_deleted [Jobs Deleted]&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                */&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                --============================================================================&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;  BEGIN&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                DECLARE@SQL VARCHAR(MAX)&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                SET@SQL = '' &lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                SELECT@jobsdeleted = ISNULL(COUNT(1),0)  FROM msdb.dbo.sysjobs (nolock) where namelike '%'+@jobname+'%'&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                SELECT@SQL = &lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                                                                @SQL+ 'EXEC msdb..sp_delete_job @job_name = N'''+[name]+''';&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                                                                '+CHAR(10)+CHAR(13)  &lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                FROM                   msdb.dbo.sysjobs&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                WHERE                 namelike '%'+@jobname+'%'&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                &lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                IF(RTRIM(@SQL)&amp;lt;&amp;gt;'')&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;                EXEC(@SQL)&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;&amp;nbsp;&lt;/p&gt;&lt;p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'&gt;END&lt;/p&gt;&lt;/div&gt;This is the "lite" version. The full version has contextual logging, verbosity level, parent transaction tracking and a WhatIf mode.&lt;br&gt;If that sounds interesting let me know and I will put up that framework.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-7034721340849779516?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/7034721340849779516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/12/delete-those-pesky-orphan-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7034721340849779516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7034721340849779516'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/12/delete-those-pesky-orphan-sql-server.html' title='Delete those pesky orphan SQL Server Jobs'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3568726006119422628</id><published>2010-10-14T20:59:00.001-07:00</published><updated>2010-10-14T21:12:12.595-07:00</updated><title type='text'>Hubris, humility and data modelling</title><content type='html'>Humility is similar to weight loss in that  sometimes you have to convince yourself it exists before it will.&lt;br/&gt;&lt;br/&gt;Sometimes you have to assume you are wrong even when you don't think you are in order to see what you missed. This can be tough as all of us live in firmly developed personal paradigms. Extricating ourselves from these to view the known as if it were unknown, or another known, is rarely some thing we consider without the assistance of a strong catalyst. &lt;br/&gt;&lt;br/&gt;Today I had to step back and consider all the possible reasons for a group of intelligent people to design a data warehouse in a manner that went against all my personal experience. I had up until now  believed that I was missing a peice of the puzzle which they possessed. Try as I might though I could not see beyond my own world definitions.&lt;br/&gt;&lt;br/&gt; Biting my tongue and hubris I began my research. Beginning with the architecture reference sited for the design, Kimball. Here I found the source, not the solution, of the differences in approach that first caught my eye. You see I was raised and spoonfed Inmon models as a sophmore data waterhouse designer at intel. This strange unfamiliar design most definately rooted in kimball's methodology.  &lt;br/&gt;&lt;br/&gt;  This does not begin to address the irregularities and what appeared to be contrary patterns in the dimensional model I had seen. It does however indicate that both approaches are valid and not only that, but equally so. &lt;br/&gt;Exhibit 1. &lt;a href="http://bennyaustin.wordpress.com/2010/05/02/kimball-and-inmon-dw-models/" &gt; kimball and inmon dw models&lt;/a&gt;&lt;br/&gt;To be cont...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3568726006119422628?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://bennyaustin.wordpress.com/2010/05/02/kimball-and-inmon-dw-models/' title='Hubris, humility and data modelling'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3568726006119422628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/10/hubris-humility-and-data-modelling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3568726006119422628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3568726006119422628'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/10/hubris-humility-and-data-modelling.html' title='Hubris, humility and data modelling'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-2390820077490941539</id><published>2010-10-06T00:58:00.000-07:00</published><updated>2010-10-06T01:03:02.890-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TFS'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><title type='text'>TFS Deployer in TFS 2010</title><content type='html'>This configuration took a while to put together and debug, but once in place it is an incredibly powerful and flexible system.&lt;br /&gt;What follows is the core workflow I implemented for build quality driven deployment.&lt;br /&gt;&lt;br /&gt;The process works like this:&lt;br /&gt;1. A “solutions” directory is placed in the root of the team project and a &amp;lt;projectname&amp;gt;.&amp;lt;environment&amp;gt;.tfsbuild.sln (i.e. qmail.dev.tfsbuild.sln) is placed in it.&lt;br /&gt;2. A BuildPrep (or PreBuild) and a PostBuild project are added to the .tfsbuild.sln. These handle preparation and cleanup tasks.&lt;br /&gt;3. A continuous integration build is configured for this solution file.&lt;br /&gt;4. A check in takes place&lt;br /&gt;5. The solution’s BuildPrep project kicks off the following steps:&lt;br /&gt;a. The latest Common.dll and Common.Providers.dll are copied from &lt;a href="file://mytfs/common"&gt;file://mytfs/common&lt;/a&gt; to the projects ReferenceAssemblies folder&lt;br /&gt;b. Updates a SharedAssemblyVersion file with a Major.Minor.Build.Rev formatted and incremented build number. Then copies it to each project in the solution. This keeps grouped DLLs on the same version number.&lt;br /&gt;6. The projects are compiled&lt;br /&gt;7. If this is a release build then the DLLs are StrongNamed&lt;br /&gt;8. The build output is copied to &lt;a href="file://mytfs/TFS/Builds"&gt;file://mytfs/TFS/Builds&lt;/a&gt;&lt;br /&gt;9. A build notification is sent out to the &lt;a href="mailto:TFSSubscribers@mydom.com"&gt;TFSSubscribers@mydom.com&lt;/a&gt; distribution list.&lt;br /&gt;10. At this time the Build Quality is “Unassigned”&lt;br /&gt;11. A Developer or BuildMaster reviews the build and assigns a Build Quality. Typically the first assignment is “Ready for Initial Test”.&lt;br /&gt;12. This change fires a BuildQualityChange Event that TFSDeployer is notified of.&lt;br /&gt;13. TFS Deployer then Checks out the BuildProcessTemplates\Deployment scripts for the build that fired the event. These include the DeploymentMappings.xml and the various PowerShell task automation scripts. &lt;br /&gt;14. The event is processed by using rules laid out in the DeploymentMappings.xml document attached. (snippet below)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;lt;Mapping BuildDefinitionPattern="^Dev\.PEKContentService.*$"&lt;br /&gt;Computer="myTFS"&lt;br /&gt;OriginalQuality="*"&lt;br /&gt;NewQuality="Ready for Initial Test"&lt;br /&gt;Script="Dev.PEKContentService-Any2RFIT.ps1"&lt;br /&gt;RunnerType="PowerShell"&lt;br /&gt;NotificationAddress="&lt;/span&gt;&lt;a href="mailto:TFSSubscribers@mydom.com"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;TFSSubscribers@mydom.com&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;"&amp;gt;&lt;br /&gt;&amp;lt;ScriptParameter name="DevelopmentServerName" value="myWEB.myDOM.COM" /&amp;gt;&lt;br /&gt;&amp;lt;ScriptParameter name="DevelopmentServerIP" value="10.101.244.106" /&amp;gt;&lt;br /&gt;&amp;lt;ScriptParameter name="QAServerName" value="MWEB.myDOM.COM" /&amp;gt;&lt;br /&gt;&amp;lt;ScriptParameter name="QAServerIP" value="10.101.244.174" /&amp;gt;&lt;br /&gt;&amp;lt;ScriptParameter name="ProdServerName" value="HOSA-P-WEB01-CD" /&amp;gt;&lt;br /&gt;&amp;lt;ScriptParameter name="ProdServerIP" value="10.180.28.50" /&amp;gt;&lt;br /&gt;&amp;lt;/Mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;15. Based on the DeploymentMappings rules and the BuildQualityChange event properties the designated powershell script is run. In this case that is “Dev.PEKContentService-Any2RFIT.ps1” (snippet below)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;if ($DevelopmentServerName -eq "myWeb") { Write-Output "Script parameter received! Publishing Common.dll to &lt;/span&gt;&lt;a href="file://$developmentservername/Common/"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;file://$developmentservername/Common/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;" ; }&lt;br /&gt;#get build variables&lt;br /&gt;$tproj = $TfsDeployerBuildDetail.TeamProject&lt;br /&gt;$bquality = $TfsDeployerBuildDetail.Quality&lt;br /&gt;$dloc = if($TfsDeployerBuildDetail){$TfsDeployerBuildDetail.DropLocation}else{""}&lt;br /&gt;...&lt;br /&gt;#initialize build log&lt;br /&gt;$TFSDEployerLog = "&lt;/span&gt;&lt;a href="file://mytfs/TFSBUILDS/Log.txt"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;file://mytfs/TFSBUILDS/Log.txt&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;"&lt;br /&gt;$date = ( get-date ).ToString('yyyyMMdd hh:mm:ss') &lt;br /&gt;#write Release Notes&lt;br /&gt;"This is a build notification that a $tproj build has been upgraded to (Ready For Initial Test) on..." &amp;gt;&amp;gt; $TFSDeployerLog&lt;br /&gt;#Register Destination Variables&lt;br /&gt;$Destination = "&lt;/span&gt;&lt;a href="file://$developmentservername/wwwroot.dev/"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;file://$developmentservername/wwwroot.dev/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;"&lt;br /&gt;$DestinationPEKWebsiteBin = "&lt;/span&gt;&lt;a href="file://$developmentservername/wwwroot.dev/PekContentService/bin/"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;file://$developmentservername/wwwroot.dev/PekContentService/bin/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;"&lt;br /&gt;$DestinationPEKWebsiteBin = "&lt;/span&gt;&lt;a href="file://$developmentservername/wwwroot.dev/PekContentTestHarness/"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;file://$developmentservername/wwwroot.dev/PekContentTestHarness/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;"&lt;br /&gt;...&lt;br /&gt;#Register Source Variables&lt;br /&gt;$SourceDlls = "$dropLocation\*.dll"&lt;br /&gt;...&lt;br /&gt;$Source="$dropLocation\_PublishedWebsites\"&lt;br /&gt;#publish files and directory structure&lt;br /&gt;Get-ChildItem -Path $Source &lt;br /&gt;Copy-Item -Destination $Destination -Recurse -Force&lt;br /&gt;Get-ChildItem -Path $dropLocation\actn.Lib.Security.dll &lt;br /&gt;Copy-Item -Destination $DestinationPEKWebsiteBin -Force&lt;br /&gt;...&lt;br /&gt;#zip up test form&lt;br /&gt;Get-ChildItem -Path $dropLocation\*.TestForm* &lt;br /&gt;Copy-Item -Destination $DestinationTestHarness -Force&lt;br /&gt;Get-ChildItem -Path $dropLocation\ComponentSpace* &lt;br /&gt;Copy-Item -Destination $DestinationTestHarness -Force&lt;br /&gt;dir DestinationTestHarness &lt;br /&gt;add-Zip $dropLocation\PursuitListTestHarness.zip&lt;br /&gt;#configuration and other follow-up tasks are scripted here…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;16. When this script completes the code has been deployed to Dev and can be tested for integration issues by the developers.&lt;br /&gt;17. Then they are comfortable the Developers, a buildmaster, a QA person or a Business Analyst can update the build quality to "Initial Test Passed"&lt;br /&gt;18. This will trigger another event, and the TFSDeployer rules engine will invoke the corresponding script which then deploys and configures the application in the associated environment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-2390820077490941539?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/2390820077490941539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/10/tfs-deployer-in-tfs-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/2390820077490941539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/2390820077490941539'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/10/tfs-deployer-in-tfs-2010.html' title='TFS Deployer in TFS 2010'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-4120424269389118068</id><published>2010-07-11T07:28:00.000-07:00</published><updated>2010-07-11T07:28:00.667-07:00</updated><title type='text'>My favorite time tracker just hit #1</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;a href='http://blog.toggl.com/2010/07/toggl-is-number-1/?utm_source=rss&amp;amp;utm_medium=rss&amp;amp;utm_campaign=toggl-is-number-1'&gt;Toggl Blog » Toggl is number 1! :)&lt;/a&gt;&lt;br/&gt;Freelanceswitch just &lt;a target='_blank' onclick='javascript:_gaq.push([&amp;apos;_trackEvent&amp;apos;,&amp;apos;outbound-article&amp;apos;,&amp;apos;freelanceswitch.com&amp;apos;]);' href='http://freelanceswitch.com/productivity/cool-pc-apps-the-top-50-pc-applications-for-freelancers/'&gt;published a blogpost on top50 applications for PC users&lt;/a&gt;. Toggl was positioned as #1. Yay!&lt;br/&gt;&lt;br/&gt;Don't forget... It has IPhone and Android Apps&lt;br/&gt;&lt;blockquote/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=767dcc5f-3c4b-82cd-86a5-b71f780a2d8d' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-4120424269389118068?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/4120424269389118068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/07/my-favorite-time-tracker-just-hit-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/4120424269389118068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/4120424269389118068'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/07/my-favorite-time-tracker-just-hit-1.html' title='My favorite time tracker just hit #1'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-7052968137923391916</id><published>2010-02-17T10:08:00.000-08:00</published><updated>2010-02-17T10:08:55.970-08:00</updated><title type='text'>WCF 4.0 Runtime Endpoint Discovery</title><content type='html'>&lt;h1&gt;WCF 4.0 Runtime Endpoint Discovery&lt;/h1&gt;&lt;br /&gt;Based on WS-Discovery it supports both Managed (centralized service registration) and add-hoc (via udp milti-casting) models. The add-hoc model interested me because of its use of UDP multi-casting.&lt;br /&gt;Essentially  a Service broadcasts &lt;span style='font-weight: bold;'&gt;Hello &lt;/span&gt;and &lt;span style='font-weight: bold;'&gt;Bye &lt;/span&gt;messages announce availability , while Clients can broadcast &lt;span style='font-weight: bold;'&gt;Probe &lt;/span&gt;and &lt;span style='font-weight: bold;'&gt;Resolve &lt;/span&gt;messages which are used to query available services. In WCF 4.0 the broadcasting is done  via a Service Behavior using a UdpDiscoveryEndPoint() and a UdpAnnouncementEndPoint()&lt;span style='font-family: monospace;'&gt;, &lt;/span&gt;an abstraction from the UDP multi-cast messaging implementation.  &lt;br /&gt;As always with multicasting there is the concern of increased network chatter, fortunately the message definitions are terse by design. &lt;br /&gt;See this simple and direct article courtesy of Jesus Rodriguez MVP for more detail : &lt;a href='http://weblogs.asp.net/gsusx/archive/2009/02/13/using-ws-discovery-in-wcf-4-0.aspx'&gt;Using WS-Discovery in WCF 4.0 - Jesus Rodriguez's WebLog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-7052968137923391916?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://weblogs.asp.net/gsusx/archive/2009/02/13/using-ws-discovery-in-wcf-4-0.aspx' title='WCF 4.0 Runtime Endpoint Discovery'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/7052968137923391916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/02/wcf-40-runtime-endpoint-discovery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7052968137923391916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7052968137923391916'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/02/wcf-40-runtime-endpoint-discovery.html' title='WCF 4.0 Runtime Endpoint Discovery'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3276152114185720358</id><published>2010-02-17T09:56:00.000-08:00</published><updated>2010-02-17T10:03:26.435-08:00</updated><title type='text'>well known TCP Ports</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;h1&gt;below is a list of well known TCP Ports&lt;/h1&gt;If you are ever curious , or find yourself needing an open port to map, the &lt;a href='http://www.iana.org/assignments/port-numbers' target='_blank'&gt;Internet Assigned Numbers Authority definitive port list&lt;/a&gt; is an excellent reference.&lt;br/&gt;&lt;br/&gt;TCP port numbers &lt;span style='font-weight: bold;'&gt;between 1 and 1023 are considered Well Known&lt;/span&gt;, ports numbered&lt;span style='font-weight: bold;'&gt; between 1,024 and 49,151 are publicly Registered&lt;/span&gt; and finally &lt;span style='font-weight: bold;'&gt;ports 49152-65535 are dynamic&lt;/span&gt;. &lt;br/&gt;For more information on Registered TCP Ports see the &lt;a href='http://www.iana.org/assignments/port-numbers' target='_blank'&gt;Internet Assigned Numbers Authority definitive port list&lt;/a&gt; .&lt;br/&gt;&lt;blockquote&gt;&lt;br/&gt;&lt;table class='wikitable'&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Port&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1/TCP,UDP&lt;/td&gt;&lt;td&gt;TCP Port Service Multiplexer&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2/TCP,UDP&lt;/td&gt;&lt;td&gt;Management Utility&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3/TCP,UDP&lt;/td&gt;&lt;td&gt;Compression Process&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4/TCP,UDP&lt;/td&gt;&lt;td&gt;Unassigned&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;5/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Remote_Job_Entry' title='Remote Job Entry'&gt;Remote Job Entry&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;6/TCP,UDP&lt;/td&gt;&lt;td&gt;Unassigned&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;7/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Echo_protocol' title='Echo protocol'&gt;Echo&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;8/TCP,UDP&lt;/td&gt;&lt;td&gt;Unassigned&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;9/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/DISCARD' title='DISCARD'&gt;Discard&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;11/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/w/index.php?title=Active_Users&amp;amp;action=edit&amp;amp;redlink=1' class='new' title='Active Users (page does not exist)'&gt;Active Users&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;13/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/DAYTIME' title='DAYTIME'&gt;DAYTIME&lt;/a&gt; – (&lt;a href='http://tools.ietf.org/html/rfc867' class='external mw-magiclink-rfc'&gt;RFC 867&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;17/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/QOTD' title='QOTD'&gt;Quote of the Day&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;18/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Message_send_protocol' title='Message send protocol'&gt;Message Send Protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;19/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/CHARGEN' title='CHARGEN'&gt;Character Generator&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;20/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/File_transfer_protocol' title='File transfer protocol' class='mw-redirect'&gt;FTP&lt;/a&gt; – data&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;21/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/File_transfer_protocol' title='File transfer protocol' class='mw-redirect'&gt;FTP&lt;/a&gt;—control (command)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;22/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Secure_Shell' title='Secure Shell'&gt;Secure Shell&lt;/a&gt; (SSH)—used for secure logins, &lt;a href='/wiki/File_transfer' title='File transfer'&gt;file transfers&lt;/a&gt; (&lt;a href='/wiki/Secure_copy' title='Secure copy'&gt;scp&lt;/a&gt;, &lt;a href='/wiki/SSH_file_transfer_protocol' title='SSH file transfer protocol'&gt;sftp&lt;/a&gt;) and port forwarding&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;23/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Telnet' title='Telnet'&gt;Telnet&lt;/a&gt; protocol—unencrypted text communications&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;25/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Simple_Mail_Transfer_Protocol' title='Simple Mail Transfer Protocol'&gt;Simple Mail Transfer Protocol&lt;/a&gt; (SMTP)—used for e-mail routing between mail servers&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;34/TCP,UDP&lt;/td&gt;&lt;td&gt;Remote File (RF)—used to transfer files between machines&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;35/TCP,UDP&lt;/td&gt;&lt;td&gt;Any private &lt;a href='/wiki/Print_server' title='Print server'&gt;printer server&lt;/a&gt; protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;35/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='http://www.qms.com/' class='external text' rel='nofollow'&gt;QMS&lt;/a&gt; &lt;a href='http://printer.konicaminolta.net/support/current_printers/mc2_sup.htm#Printer_Specific_Document/#Printer_Specific_Document' class='external text' rel='nofollow'&gt;Magicolor 2&lt;/a&gt; &lt;a href='/wiki/Print_server' title='Print server'&gt;printer server&lt;/a&gt; protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;37/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/TIME_protocol' title='TIME protocol'&gt;TIME protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;39/TCP,UDP&lt;/td&gt;&lt;td&gt;Resource Location Protocol&lt;sup id='cite_ref-1' class='reference'&gt;&lt;a href='#cite_note-1'&gt;&lt;span&gt;[&lt;/span&gt;2&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; (RLP)—used for determining the location of higher level &lt;a href='/wiki/Service_%28systems_architecture%29' title='Service (systems architecture)'&gt;services&lt;/a&gt; from &lt;a href='/wiki/Host_%28network%29' title='Host (network)'&gt;hosts&lt;/a&gt; on a &lt;a href='/wiki/Computer_network' title='Computer network'&gt;network&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;41/TCP,UDP&lt;/td&gt;&lt;td&gt;Graphics&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;42/TCP,UDP&lt;/td&gt;&lt;td&gt;nameserver, &lt;a href='/wiki/DARPA' title='DARPA'&gt;ARPA&lt;/a&gt; &lt;a href='/wiki/ARPA_Host_Name_Server_Protocol' title='ARPA Host Name Server Protocol'&gt;Host Name Server Protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;42/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Windows_Internet_Name_Service' title='Windows Internet Name Service'&gt;WINS&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;43/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/WHOIS' title='WHOIS'&gt;WHOIS&lt;/a&gt; protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;47/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/GRE' title='GRE'&gt;GRE&lt;/a&gt; protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;49/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/TACACS' title='TACACS'&gt;TACACS&lt;/a&gt; Login Host protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;52/TCP,UDP&lt;/td&gt;&lt;td&gt;XNS (&lt;a href='/wiki/Xerox_Network_Systems' title='Xerox Network Systems'&gt;Xerox Network Systems&lt;/a&gt;) Time Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;53/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Domain_Name_System' title='Domain Name System'&gt;Domain Name System&lt;/a&gt; (DNS)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;54/TCP,UDP&lt;/td&gt;&lt;td&gt;XNS (&lt;a href='/wiki/Xerox_Network_Systems' title='Xerox Network Systems'&gt;Xerox Network Systems&lt;/a&gt;) Clearinghouse&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;55/TCP,UDP&lt;/td&gt;&lt;td&gt;ISI-GL (&lt;a href='/w/index.php?title=ISI_Graphics_Language&amp;amp;action=edit&amp;amp;redlink=1' class='new' title='ISI Graphics Language (page does not exist)'&gt;ISI Graphics Language&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;56/TCP,UDP&lt;/td&gt;&lt;td&gt;XNS (&lt;a href='/wiki/Xerox_Network_Systems' title='Xerox Network Systems'&gt;Xerox Network Systems&lt;/a&gt;) Authentication&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;56/TCP,UDP&lt;/td&gt;&lt;td&gt;RAP (Route Access Protocol)&lt;sup id='cite_ref-2' class='reference'&gt;&lt;a href='#cite_note-2'&gt;&lt;span&gt;[&lt;/span&gt;3&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;57/TCP&lt;/td&gt;&lt;td&gt;MTP, &lt;a href='/wiki/Mail_Transfer_Protocol' title='Mail Transfer Protocol'&gt;Mail Transfer Protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;58/TCP,UDP&lt;/td&gt;&lt;td&gt;XNS (&lt;a href='/wiki/Xerox_Network_Systems' title='Xerox Network Systems'&gt;Xerox Network Systems&lt;/a&gt;) Mail&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;67/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Bootstrap_Protocol' title='Bootstrap Protocol'&gt;Bootstrap Protocol&lt;/a&gt; (BOOTP) Server; also used by &lt;a href='/wiki/Dynamic_Host_Configuration_Protocol' title='Dynamic Host Configuration Protocol'&gt;Dynamic Host Configuration Protocol&lt;/a&gt; (DHCP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;68/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Bootstrap_Protocol' title='Bootstrap Protocol'&gt;Bootstrap Protocol&lt;/a&gt; (BOOTP) Client; also used by &lt;a href='/wiki/Dynamic_Host_Configuration_Protocol' title='Dynamic Host Configuration Protocol'&gt;Dynamic Host Configuration Protocol&lt;/a&gt; (DHCP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;69/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Trivial_File_Transfer_Protocol' title='Trivial File Transfer Protocol'&gt;Trivial File Transfer Protocol&lt;/a&gt; (TFTP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;70/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Gopher_%28protocol%29' title='Gopher (protocol)'&gt;Gopher&lt;/a&gt; protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;79/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Finger_protocol' title='Finger protocol'&gt;Finger protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;80/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Hypertext_Transfer_Protocol' title='Hypertext Transfer Protocol'&gt;Hypertext Transfer Protocol&lt;/a&gt; (HTTP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;81/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Torpark' title='Torpark' class='mw-redirect'&gt;Torpark&lt;/a&gt;—&lt;a href='/wiki/Onion_routing' title='Onion routing'&gt;Onion routing&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;82/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Torpark' title='Torpark' class='mw-redirect'&gt;Torpark&lt;/a&gt;—Control&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;83/TCP&lt;/td&gt;&lt;td&gt;MIT ML Device&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;88/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt;—authentication system&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;90/TCP,UDP&lt;/td&gt;&lt;td&gt;dnsix (&lt;a href='/wiki/Dod' title='Dod' class='mw-redirect'&gt;DoD&lt;/a&gt; Network Security for Information Exchange) Securit Attribute Token Map&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;90/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Pointcast' title='Pointcast' class='mw-redirect'&gt;Pointcast&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;99/TCP&lt;/td&gt;&lt;td&gt;WIP Message Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;101/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/History_of_the_Internet#NIC.2C_InterNIC.2C_IANA_and_ICANN' title='History of the Internet'&gt;NIC&lt;/a&gt; &lt;a href='/wiki/Hostname' title='Hostname'&gt;host name&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;102/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/ISO' title='ISO' class='mw-redirect'&gt;ISO&lt;/a&gt;-&lt;a href='/wiki/TSAP' title='TSAP' class='mw-redirect'&gt;TSAP&lt;/a&gt; (Transport Service Access Point) Class 0 protocol&lt;sup id='cite_ref-3' class='reference'&gt;&lt;a href='#cite_note-3'&gt;&lt;span&gt;[&lt;/span&gt;4&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;104/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/American_College_of_Radiology' title='American College of Radiology'&gt;ACR&lt;/a&gt;/&lt;a href='/wiki/National_Electrical_Manufacturers_Association' title='National Electrical Manufacturers Association'&gt;NEMA&lt;/a&gt; &lt;a href='/wiki/Digital_Imaging_and_Communications_in_Medicine' title='Digital Imaging and Communications in Medicine'&gt;Digital Imaging and Communications in Medicine&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;105/TCP,UDP&lt;/td&gt;&lt;td&gt;CCSO name server protocol (CSO)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;107/TCP&lt;/td&gt;&lt;td&gt;Remote &lt;a href='/wiki/TELNET' title='TELNET' class='mw-redirect'&gt;TELNET&lt;/a&gt; Service&lt;sup id='cite_ref-4' class='reference'&gt;&lt;a href='#cite_note-4'&gt;&lt;span&gt;[&lt;/span&gt;5&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;109/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Post_Office_Protocol' title='Post Office Protocol'&gt;Post Office Protocol&lt;/a&gt; 2 (POP2)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;110/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Post_Office_Protocol' title='Post Office Protocol'&gt;Post Office Protocol&lt;/a&gt; 3 (POP3)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;111/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Sun_Microsystems' title='Sun Microsystems'&gt;Sun&lt;/a&gt; &lt;a href='/wiki/Open_Network_Computing_Remote_Procedure_Call' title='Open Network Computing Remote Procedure Call'&gt;Remote Procedure Call&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;113/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Ident' title='Ident'&gt;ident&lt;/a&gt;—user identification system, used by &lt;a href='/wiki/Internet_Relay_Chat' title='Internet Relay Chat'&gt;IRC&lt;/a&gt; servers to identify users&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;113/TCP,UDP&lt;/td&gt;&lt;td&gt;Authentication Service (auth)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;115/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Simple_File_Transfer_Protocol' title='Simple File Transfer Protocol'&gt;Simple File Transfer Protocol&lt;/a&gt; (SFTP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;117/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/UUCP' title='UUCP'&gt;UUCP&lt;/a&gt; &lt;a href='/wiki/UUCP#UUCPNET_and_mapping' title='UUCP'&gt;Path Service&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;118/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/SQL' title='SQL'&gt;SQL&lt;/a&gt; (Structured Query Language) Services&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;119/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Network_News_Transfer_Protocol' title='Network News Transfer Protocol'&gt;Network News Transfer Protocol&lt;/a&gt; (NNTP)—used for retrieving newsgroup messages&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;123/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Network_Time_Protocol' title='Network Time Protocol'&gt;Network Time Protocol&lt;/a&gt; (NTP)—used for time synchronization&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;135/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Distributed_Computing_Environment' title='Distributed Computing Environment'&gt;DCE&lt;/a&gt; &lt;a href='/wiki/Communication_endpoint' title='Communication endpoint'&gt;endpoint&lt;/a&gt; resolution&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;135/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Microsoft' title='Microsoft'&gt;Microsoft&lt;/a&gt; EPMAP (End Point Mapper), also known as DCE/&lt;a href='/wiki/Remote_procedure_call' title='Remote procedure call'&gt;RPC&lt;/a&gt; Locator service&lt;sup id='cite_ref-5' class='reference'&gt;&lt;a href='#cite_note-5'&gt;&lt;span&gt;[&lt;/span&gt;6&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;, used to remotely manage services including &lt;a href='/wiki/DHCP_server' title='DHCP server' class='mw-redirect'&gt;DHCP server&lt;/a&gt;, &lt;a href='/wiki/Domain_Name_System' title='Domain Name System'&gt;DNS&lt;/a&gt; server and &lt;a href='/wiki/Windows_Internet_Name_Service' title='Windows Internet Name Service'&gt;WINS&lt;/a&gt;. Also used by &lt;a href='/wiki/Distributed_Component_Object_Model' title='Distributed Component Object Model'&gt;DCOM&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;137/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/NetBIOS' title='NetBIOS'&gt;NetBIOS&lt;/a&gt; NetBIOS Name Service&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;138/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/NetBIOS' title='NetBIOS'&gt;NetBIOS&lt;/a&gt; NetBIOS Datagram Service&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;139/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/NetBIOS' title='NetBIOS'&gt;NetBIOS&lt;/a&gt; NetBIOS Session Service&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;143/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Internet_Message_Access_Protocol' title='Internet Message Access Protocol'&gt;Internet Message Access Protocol&lt;/a&gt; (IMAP)—used for retrieving, organizing, and synchronizing e-mail messages&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;152/TCP,UDP&lt;/td&gt;&lt;td&gt;Background File Transfer Program (BFTP)&lt;sup id='cite_ref-6' class='reference'&gt;&lt;a href='#cite_note-6'&gt;&lt;span&gt;[&lt;/span&gt;7&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;153/TCP,UDP&lt;/td&gt;&lt;td&gt;SGMP, &lt;a href='/wiki/Simple_Gateway_Monitoring_Protocol' title='Simple Gateway Monitoring Protocol'&gt;Simple Gateway Monitoring Protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;156/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/SQL' title='SQL'&gt;SQL&lt;/a&gt; Service&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;158/TCP,UDP&lt;/td&gt;&lt;td&gt;DMSP, Distributed Mail Service Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;161/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Simple_Network_Management_Protocol' title='Simple Network Management Protocol'&gt;Simple Network Management Protocol&lt;/a&gt; (SNMP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;162/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Simple_Network_Management_Protocol' title='Simple Network Management Protocol'&gt;Simple Network Management Protocol&lt;/a&gt; Trap (SNMPTRAP)&lt;sup id='cite_ref-7' class='reference'&gt;&lt;a href='#cite_note-7'&gt;&lt;span&gt;[&lt;/span&gt;8&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;170/TCP&lt;/td&gt;&lt;td&gt;Print-srv, Network &lt;a href='/wiki/PostScript' title='PostScript'&gt;PostScript&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;177/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/X_Display_Manager' title='X Display Manager' class='mw-redirect'&gt;X Display Manager&lt;/a&gt; Control Protocol (XDMCP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;179/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Border_Gateway_Protocol' title='Border Gateway Protocol'&gt;BGP&lt;/a&gt; (Border Gateway Protocol)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;194/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Internet_Relay_Chat' title='Internet Relay Chat'&gt;IRC&lt;/a&gt; (Internet Relay Chat)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;199/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/SMUX' title='SMUX' class='mw-redirect'&gt;SMUX&lt;/a&gt;, &lt;a href='/wiki/SNMP' title='SNMP' class='mw-redirect'&gt;SNMP&lt;/a&gt; Unix Multiplexer&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;201/TCP,UDP&lt;/td&gt;&lt;td&gt;AppleTalk Routing Maintenance&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;209/TCP,UDP&lt;/td&gt;&lt;td&gt;The Quick Mail Transfer Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;210/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/ANSI' title='ANSI' class='mw-redirect'&gt;ANSI&lt;/a&gt; &lt;a href='/wiki/Z39.50' title='Z39.50'&gt;Z39.50&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;213/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/IPX' title='IPX' class='mw-redirect'&gt;IPX&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;218/TCP,UDP&lt;/td&gt;&lt;td&gt;MPP, Message Posting Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;220/TCP,UDP&lt;/td&gt;&lt;td&gt;IMAP, Interactive Mail Access Protocol, version 3&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;256/TCP,UDP&lt;/td&gt;&lt;td&gt;2DEV "2SP" Port&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;259/TCP,UDP&lt;/td&gt;&lt;td&gt;ESRO, Efficient Short Remote Operations&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;264/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Border_Gateway_Multicast_Protocol' title='Border Gateway Multicast Protocol'&gt;BGMP&lt;/a&gt;, Border Gateway Multicast Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;311/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Mac_OS_X_Server' title='Mac OS X Server'&gt;Mac OS X Server&lt;/a&gt; Admin (officially AppleShare IP Web administration)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;308/TCP&lt;/td&gt;&lt;td&gt;Novastor Online Backup&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;318/TCP,UDP&lt;/td&gt;&lt;td&gt;PKIX TSP, &lt;a href='/wiki/Time_Stamp_Protocol' title='Time Stamp Protocol' class='mw-redirect'&gt;Time Stamp Protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;323/TCP,UDP&lt;/td&gt;&lt;td&gt;IMMP, Internet Message Mapping Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;350/TCP,UDP&lt;/td&gt;&lt;td&gt;MATIP-Type A, Mapping of Airline Traffic over Internet Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;351/TCP,UDP&lt;/td&gt;&lt;td&gt;MATIP-Type B, Mapping of Airline Traffic over Internet Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;366/TCP,UDP&lt;/td&gt;&lt;td&gt;ODMR, On-Demand Mail Relay&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;369/TCP,UDP&lt;/td&gt;&lt;td&gt;Rpc2portmap&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;370/TCP,UDP&lt;/td&gt;&lt;td&gt;codaauth2 – Coda authentication server&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;370/TCP,UDP&lt;/td&gt;&lt;td&gt;securecast1 – Outgoing packets to NAI's servers, &lt;a href='http://www.nai.com/asp_set/anti_virus/alerts/faq.as' class='external free' rel='nofollow'&gt;http://www.nai.com/asp_set/anti_virus/alerts/faq.as&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;371/TCP,UDP&lt;/td&gt;&lt;td&gt;ClearCase albd&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;383/TCP,UDP&lt;/td&gt;&lt;td&gt;HP data alarm manager&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;384/TCP,UDP&lt;/td&gt;&lt;td&gt;A Remote Network Server System&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;387/TCP,UDP&lt;/td&gt;&lt;td&gt;AURP, AppleTalk Update-based Routing Protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;389/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Lightweight_Directory_Access_Protocol' title='Lightweight Directory Access Protocol'&gt;Lightweight Directory Access Protocol&lt;/a&gt; (LDAP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;401/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Uninterruptible_power_supply' title='Uninterruptible power supply'&gt;UPS&lt;/a&gt; Uninterruptible Power Supply&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;402/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Altiris' title='Altiris'&gt;Altiris&lt;/a&gt;, Altiris Deployment Client&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;411/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Direct_Connect_network' title='Direct Connect network' class='mw-redirect'&gt;Direct Connect&lt;/a&gt; Hub&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;412/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Direct_Connect_network' title='Direct Connect network' class='mw-redirect'&gt;Direct Connect&lt;/a&gt; Client-to-Client&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;427/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Service_Location_Protocol' title='Service Location Protocol'&gt;Service Location Protocol&lt;/a&gt; (SLP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;443/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Hypertext_Transfer_Protocol' title='Hypertext Transfer Protocol'&gt;Hypertext Transfer Protocol&lt;/a&gt; over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt; (HTTPS)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;444/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Simple_Network_Paging_Protocol' title='Simple Network Paging Protocol'&gt;SNPP&lt;/a&gt;, Simple Network Paging Protocol (&lt;a href='http://tools.ietf.org/html/rfc1568' class='external mw-magiclink-rfc'&gt;RFC 1568&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;445/TCP&lt;/td&gt;&lt;td&gt;Microsoft-DS &lt;a href='/wiki/Active_Directory' title='Active Directory'&gt;Active Directory&lt;/a&gt;, Windows shares&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;445/UDP&lt;/td&gt;&lt;td&gt;Microsoft-DS &lt;a href='/wiki/Server_Message_Block' title='Server Message Block'&gt;SMB&lt;/a&gt; file sharing&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;464/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; Change/Set password&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;465/TCP&lt;/td&gt;&lt;td&gt;Cisco protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;465/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Simple_Mail_Transfer_Protocol' title='Simple Mail Transfer Protocol'&gt;SMTP&lt;/a&gt; over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;SSL&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;475/TCP&lt;/td&gt;&lt;td&gt;tcpnethaspsrv (&lt;a href='/wiki/Hasp' title='Hasp' class='mw-redirect'&gt;Hasp&lt;/a&gt; services, TCP/IP version)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;497/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Retrospect_%28software%29' title='Retrospect (software)'&gt;Dantz Retrospect&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;500/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Internet_Security_Association_and_Key_Management_Protocol' title='Internet Security Association and Key Management Protocol'&gt;Internet Security Association and Key Management Protocol&lt;/a&gt; (ISAKMP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;501/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/w/index.php?title=STMF&amp;amp;action=edit&amp;amp;redlink=1' class='new' title='STMF (page does not exist)'&gt;STMF&lt;/a&gt;, Simple Transportation Management Framework – DOT NTCIP 1101&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;502/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Modbus' title='Modbus'&gt;Modbus&lt;/a&gt;, Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;504/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Citadel/UX' title='Citadel/UX'&gt;Citadel&lt;/a&gt; – multiservice protocol for dedicated clients for the Citadel groupware system&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;510/TCP&lt;/td&gt;&lt;td&gt;First Class Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;512/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Remote_Process_Execution' title='Remote Process Execution'&gt;Rexec&lt;/a&gt;, Remote Process Execution&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;512/UDP&lt;/td&gt;&lt;td&gt;comsat, together with &lt;a href='/wiki/Biff_%28computing%29' title='Biff (computing)' class='mw-redirect'&gt;biff&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;513/TCP&lt;/td&gt;&lt;td&gt;Login&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;513/UDP&lt;/td&gt;&lt;td&gt;Who&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;514/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Remote_Shell' title='Remote Shell'&gt;Shell&lt;/a&gt;—used to execute non-interactive commands on a remote system&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;514/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Syslog' title='Syslog'&gt;Syslog&lt;/a&gt;—used for system logging&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;515/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Line_Printer_Daemon_protocol' title='Line Printer Daemon protocol'&gt;Line Printer Daemon&lt;/a&gt;—print service&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;517/UDP&lt;/td&gt;&lt;td&gt;Talk&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;518/UDP&lt;/td&gt;&lt;td&gt;NTalk&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;520/TCP&lt;/td&gt;&lt;td&gt;efs, extended file name server&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;520/UDP&lt;/td&gt;&lt;td&gt;Routing—&lt;a href='/wiki/Routing_Information_Protocol' title='Routing Information Protocol'&gt;RIP&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;524/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/NetWare_Core_Protocol' title='NetWare Core Protocol'&gt;NCP&lt;/a&gt; (NetWare Core Protocol) is used for a variety things such as access to primary NetWare server resources, Time Synchronization, etc.&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;525/UDP&lt;/td&gt;&lt;td&gt;Timed, &lt;a href='/wiki/Timeserver' title='Timeserver' class='mw-redirect'&gt;Timeserver&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;530/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Remote_procedure_call' title='Remote procedure call'&gt;RPC&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;531/TCP,UDP&lt;/td&gt;&lt;td&gt;AOL Instant Messenger, IRC&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;532/TCP&lt;/td&gt;&lt;td&gt;netnews&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;533/UDP&lt;/td&gt;&lt;td&gt;netwall, For Emergency Broadcasts&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;540/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/UUCP' title='UUCP'&gt;UUCP&lt;/a&gt; (Unix-to-Unix Copy Protocol)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;542/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Commerce' title='Commerce'&gt;commerce&lt;/a&gt; (Commerce Applications)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;543/TCP&lt;/td&gt;&lt;td&gt;klogin, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; login&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;544/TCP&lt;/td&gt;&lt;td&gt;kshell, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; Remote shell&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;545/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/w/index.php?title=OSIsoft&amp;amp;action=edit&amp;amp;redlink=1' class='new' title='OSIsoft (page does not exist)'&gt;OSIsoft&lt;/a&gt; PI (VMS), OSISoft PI Server Client Access&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;546/TCP,UDP&lt;/td&gt;&lt;td&gt;DHCPv6 client&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;547/TCP,UDP&lt;/td&gt;&lt;td&gt;DHCPv6 server&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;548/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Apple_Filing_Protocol' title='Apple Filing Protocol'&gt;Apple Filing Protocol&lt;/a&gt; (AFP) over &lt;a href='/wiki/Transmission_Control_Protocol' title='Transmission Control Protocol'&gt;TCP&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;550/UDP&lt;/td&gt;&lt;td&gt;new-rwho, new-who&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;554/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Real_Time_Streaming_Protocol' title='Real Time Streaming Protocol'&gt;Real Time Streaming Protocol&lt;/a&gt; (RTSP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;556/TCP&lt;/td&gt;&lt;td&gt;Remotefs, &lt;a href='/wiki/Remote_File_System' title='Remote File System'&gt;RFS&lt;/a&gt;, rfs_server&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;560/UDP&lt;/td&gt;&lt;td&gt;rmonitor, Remote Monitor&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;561/UDP&lt;/td&gt;&lt;td&gt;monitor&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;563/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/NNTP' title='NNTP' class='mw-redirect'&gt;NNTP&lt;/a&gt; protocol over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt; (NNTPS)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;587/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Mail_submission_agent' title='Mail submission agent'&gt;e-mail message submission&lt;/a&gt;&lt;sup id='cite_ref-8' class='reference'&gt;&lt;a href='#cite_note-8'&gt;&lt;span&gt;[&lt;/span&gt;9&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; (&lt;a href='/wiki/Simple_Mail_Transfer_Protocol' title='Simple Mail Transfer Protocol'&gt;SMTP&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;591/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/FileMaker' title='FileMaker'&gt;FileMaker&lt;/a&gt; 6.0 (and later) Web Sharing (HTTP Alternate, also see port 80)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;593/TCP,UDP&lt;/td&gt;&lt;td&gt;HTTP RPC Ep Map, &lt;a href='/wiki/Remote_procedure_call' title='Remote procedure call'&gt;Remote procedure call&lt;/a&gt; over &lt;a href='/wiki/Hypertext_Transfer_Protocol' title='Hypertext Transfer Protocol'&gt;Hypertext Transfer Protocol&lt;/a&gt;, often used by &lt;a href='/wiki/Distributed_Component_Object_Model' title='Distributed Component Object Model'&gt;Distributed Component Object Model&lt;/a&gt; services and &lt;a href='/wiki/Microsoft_Exchange_Server' title='Microsoft Exchange Server'&gt;Microsoft Exchange Server&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;604/TCP&lt;/td&gt;&lt;td&gt;TUNNEL profile&lt;sup id='cite_ref-9' class='reference'&gt;&lt;a href='#cite_note-9'&gt;&lt;span&gt;[&lt;/span&gt;10&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;, a protocol for &lt;a href='/wiki/BEEP' title='BEEP'&gt;BEEP&lt;/a&gt; &lt;a href='/wiki/Peer-to-peer' title='Peer-to-peer'&gt;peers&lt;/a&gt; to form an &lt;a href='/wiki/Application_layer' title='Application layer' class='mw-redirect'&gt;application layer&lt;/a&gt; &lt;a href='/wiki/Tunneling_protocol' title='Tunneling protocol'&gt;tunnel&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;623/UDP&lt;/td&gt;&lt;td&gt;ASF Remote Management and Control Protocol (ASF-RMCP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;631/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Internet_Printing_Protocol' title='Internet Printing Protocol'&gt;Internet Printing Protocol&lt;/a&gt; (IPP)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;636/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Lightweight_Directory_Access_Protocol' title='Lightweight Directory Access Protocol'&gt;Lightweight Directory Access Protocol&lt;/a&gt; over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt; (LDAPS)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;639/TCP,UDP&lt;/td&gt;&lt;td&gt;MSDP, &lt;a href='/wiki/Multicast_Source_Discovery_Protocol' title='Multicast Source Discovery Protocol'&gt;Multicast Source Discovery Protocol&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;641/TCP,UDP&lt;/td&gt;&lt;td&gt;SupportSoft Nexus Remote Command (control/listening): A proxy gateway connecting remote control traffic&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;646/TCP,UDP&lt;/td&gt;&lt;td&gt;LDP, &lt;a href='/wiki/Label_Distribution_Protocol' title='Label Distribution Protocol'&gt;Label Distribution Protocol&lt;/a&gt;, a routing protocol used in &lt;a href='/wiki/Multiprotocol_Label_Switching' title='Multiprotocol Label Switching'&gt;MPLS&lt;/a&gt; networks&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;647/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/DHCP' title='DHCP' class='mw-redirect'&gt;DHCP&lt;/a&gt; &lt;a href='/wiki/Failover' title='Failover'&gt;Failover&lt;/a&gt; protocol&lt;sup id='cite_ref-10' class='reference'&gt;&lt;a href='#cite_note-10'&gt;&lt;span&gt;[&lt;/span&gt;11&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;648/TCP&lt;/td&gt;&lt;td&gt;RRP (Registry Registrar Protocol)&lt;sup id='cite_ref-11' class='reference'&gt;&lt;a href='#cite_note-11'&gt;&lt;span&gt;[&lt;/span&gt;12&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;652/TCP&lt;/td&gt;&lt;td&gt;DTCP, Dynamic Tunnel Configuration Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;653/TCP,UDP&lt;/td&gt;&lt;td&gt;SupportSoft Nexus Remote Command (data): A proxy gateway connecting remote control traffic&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;654/TCP&lt;/td&gt;&lt;td&gt;AODV (&lt;a href='/wiki/Ad-hoc_On-demand_Distance_Vector' title='Ad-hoc On-demand Distance Vector' class='mw-redirect'&gt;Ad-hoc On-demand Distance Vector&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;655/TCP&lt;/td&gt;&lt;td&gt;IEEE MMS (&lt;a href='/wiki/IEEE' title='IEEE' class='mw-redirect'&gt;IEEE&lt;/a&gt; Media Management System)&lt;sup id='cite_ref-12' class='reference'&gt;&lt;a href='#cite_note-12'&gt;&lt;span&gt;[&lt;/span&gt;13&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;sup id='cite_ref-13' class='reference'&gt;&lt;a href='#cite_note-13'&gt;&lt;span&gt;[&lt;/span&gt;14&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;657/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/IBM' title='IBM'&gt;IBM&lt;/a&gt; RMC (Remote monitoring and Control) protocol, used by &lt;a href='/wiki/IBM_System_p' title='IBM System p'&gt;System p5&lt;/a&gt; &lt;a href='/wiki/IBM_AIX_%28operating_system%29' title='IBM AIX (operating system)' class='mw-redirect'&gt;AIX&lt;/a&gt; Integrated Virtualization Manager (IVM)&lt;sup id='cite_ref-14' class='reference'&gt;&lt;a href='#cite_note-14'&gt;&lt;span&gt;[&lt;/span&gt;15&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; and &lt;a href='/wiki/IBM_Hardware_Management_Console' title='IBM Hardware Management Console'&gt;Hardware Management Console&lt;/a&gt; to connect managed &lt;a href='/wiki/LPAR' title='LPAR'&gt;logical partitions (LPAR)&lt;/a&gt; to enable dynamic partition reconfiguration&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;660/TCP&lt;/td&gt;&lt;td&gt;Mac OS X Server administration&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;665/TCP&lt;/td&gt;&lt;td&gt;sun-dr, Remote Dynamic Reconfiguration&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;666/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Doom_%28game%29' title='Doom (game)' class='mw-redirect'&gt;Doom&lt;/a&gt;, first online &lt;a href='/wiki/First-person_shooter' title='First-person shooter'&gt;first-person shooter&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;674/TCP&lt;/td&gt;&lt;td&gt;ACAP (&lt;a href='/wiki/Application_Configuration_Access_Protocol' title='Application Configuration Access Protocol'&gt;Application Configuration Access Protocol&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;691/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Microsoft' title='Microsoft'&gt;MS&lt;/a&gt; &lt;a href='/wiki/Microsoft_Exchange_Server' title='Microsoft Exchange Server'&gt;Exchange&lt;/a&gt; Routing&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;692/TCP&lt;/td&gt;&lt;td&gt;Hyperwave-ISP&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;694/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Linux-HA' title='Linux-HA'&gt;Linux-HA&lt;/a&gt; High availability Heartbeat&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;695/TCP&lt;/td&gt;&lt;td&gt;IEEE-MMS-SSL (&lt;a href='/wiki/IEEE' title='IEEE' class='mw-redirect'&gt;IEEE&lt;/a&gt; Media Management System over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;SSL&lt;/a&gt;)&lt;sup id='cite_ref-15' class='reference'&gt;&lt;a href='#cite_note-15'&gt;&lt;span&gt;[&lt;/span&gt;16&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;698/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/OLSR' title='OLSR' class='mw-redirect'&gt;OLSR&lt;/a&gt; (&lt;a href='/wiki/Optimized_Link_State_Routing_protocol' title='Optimized Link State Routing protocol' class='mw-redirect'&gt;Optimized Link State Routing&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;699/TCP&lt;/td&gt;&lt;td&gt;Access Network&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;700/TCP&lt;/td&gt;&lt;td&gt;EPP (&lt;a href='/wiki/Extensible_Provisioning_Protocol' title='Extensible Provisioning Protocol'&gt;Extensible Provisioning Protocol&lt;/a&gt;), a protocol for communication between &lt;a href='/wiki/Domain_name_registry' title='Domain name registry'&gt;domain name registries&lt;/a&gt; and &lt;a href='/wiki/Domain_name_registrar' title='Domain name registrar'&gt;registrars&lt;/a&gt; (&lt;a href='http://tools.ietf.org/html/rfc4934' class='external mw-magiclink-rfc'&gt;RFC 4934&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;701/TCP&lt;/td&gt;&lt;td&gt;LMP (Link Management Protocol (&lt;a href='/wiki/Internet' title='Internet'&gt;Internet&lt;/a&gt;))&lt;sup id='cite_ref-16' class='reference'&gt;&lt;a href='#cite_note-16'&gt;&lt;span&gt;[&lt;/span&gt;17&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;, a protocol that runs between a pair of &lt;a href='/wiki/Node_%28networking%29' title='Node (networking)'&gt;nodes&lt;/a&gt; and is used to manage &lt;a href='/wiki/Teletraffic_engineering' title='Teletraffic engineering'&gt;traffic engineering&lt;/a&gt; (TE) &lt;a href='/wiki/Telecommunications_link' title='Telecommunications link'&gt;links&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;702/TCP&lt;/td&gt;&lt;td&gt;IRIS&lt;sup id='cite_ref-17' class='reference'&gt;&lt;a href='#cite_note-17'&gt;&lt;span&gt;[&lt;/span&gt;18&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;sup id='cite_ref-18' class='reference'&gt;&lt;a href='#cite_note-18'&gt;&lt;span&gt;[&lt;/span&gt;19&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; (Internet Registry Information Service) over &lt;a href='/wiki/BEEP' title='BEEP'&gt;BEEP&lt;/a&gt; (Blocks Extensible Exchange Protocol)&lt;sup id='cite_ref-19' class='reference'&gt;&lt;a href='#cite_note-19'&gt;&lt;span&gt;[&lt;/span&gt;20&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; (&lt;a href='http://tools.ietf.org/html/rfc3983' class='external mw-magiclink-rfc'&gt;RFC 3983&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;706/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/SILC_%28protocol%29' title='SILC (protocol)'&gt;SILC&lt;/a&gt;, Secure Internet Live Conferencing&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;711/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Cisco' title='Cisco' class='mw-redirect'&gt;Cisco&lt;/a&gt; &lt;a href='/wiki/TDP' title='TDP'&gt;TDP&lt;/a&gt;, Tag Distribution Protocol&lt;sup id='cite_ref-20' class='reference'&gt;&lt;a href='#cite_note-20'&gt;&lt;span&gt;[&lt;/span&gt;21&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;sup id='cite_ref-21' class='reference'&gt;&lt;a href='#cite_note-21'&gt;&lt;span&gt;[&lt;/span&gt;22&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;sup id='cite_ref-22' class='reference'&gt;&lt;a href='#cite_note-22'&gt;&lt;span&gt;[&lt;/span&gt;23&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;—being replaced by the &lt;a href='/wiki/MPLS' title='MPLS' class='mw-redirect'&gt;MPLS&lt;/a&gt; Label Distribution Protocol&lt;sup id='cite_ref-23' class='reference'&gt;&lt;a href='#cite_note-23'&gt;&lt;span&gt;[&lt;/span&gt;24&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;712/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/TBRPF' title='TBRPF' class='mw-redirect'&gt;TBRPF&lt;/a&gt;, &lt;a href='/wiki/Topology_Broadcast_based_on_Reverse-Path_Forwarding_routing_protocol' title='Topology Broadcast based on Reverse-Path Forwarding routing protocol' class='mw-redirect'&gt;Topology Broadcast based on Reverse-Path Forwarding routing protocol&lt;/a&gt; (&lt;a href='http://tools.ietf.org/html/rfc3684' class='external mw-magiclink-rfc'&gt;RFC 3684&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;712/UDP&lt;/td&gt;&lt;td&gt;Promise RAID Controller&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;720/TCP&lt;/td&gt;&lt;td&gt;SMQP, Simple Message Queue Protocol&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;749/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; administration&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;750/TCP&lt;/td&gt;&lt;td&gt;rfile&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;750/UDP&lt;/td&gt;&lt;td&gt;loadav&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;750/UDP&lt;/td&gt;&lt;td&gt;kerberos-iv, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; version IV&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;751/TCP,UDP&lt;/td&gt;&lt;td&gt;pump&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;751/TCP,UDP&lt;/td&gt;&lt;td&gt;kerberos_master, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; authentication&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;752/TCP&lt;/td&gt;&lt;td&gt;qrh&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;752/UDP&lt;/td&gt;&lt;td&gt;qrh&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;752/UDP&lt;/td&gt;&lt;td&gt;userreg_server, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; Password (kpasswd) server&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;753/TCP&lt;/td&gt;&lt;td&gt;Reverse Routing Header (rrh)&lt;sup id='cite_ref-24' class='reference'&gt;&lt;a href='#cite_note-24'&gt;&lt;span&gt;[&lt;/span&gt;25&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;753/UDP&lt;/td&gt;&lt;td&gt;Reverse Routing Header (rrh)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;753/UDP&lt;/td&gt;&lt;td&gt;passwd_server, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; userreg server&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;754/TCP&lt;/td&gt;&lt;td&gt;tell send&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;754/TCP&lt;/td&gt;&lt;td&gt;krb5_prop, &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; v5 slave propagation&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;754/UDP&lt;/td&gt;&lt;td&gt;tell send&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;760/TCP,UDP&lt;/td&gt;&lt;td&gt;ns&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;760/TCP,UDP&lt;/td&gt;&lt;td&gt;krbupdate [kreg], &lt;a href='/wiki/Kerberos_%28protocol%29' title='Kerberos (protocol)'&gt;Kerberos&lt;/a&gt; registration&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;782/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Conserver' title='Conserver'&gt;Conserver&lt;/a&gt; serial-console management server&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;783/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/SpamAssassin' title='SpamAssassin'&gt;SpamAssassin&lt;/a&gt; spamd daemon&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;829/TCP&lt;/td&gt;&lt;td&gt;CMP (Certificate Management Protocol)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;843/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Adobe_Flash' title='Adobe Flash'&gt;Adobe Flash&lt;/a&gt; &lt;a href='http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_04.html' class='external text' rel='nofollow'&gt;socket policy server&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;860/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/ISCSI' title='ISCSI'&gt;iSCSI&lt;/a&gt; (&lt;a href='http://tools.ietf.org/html/rfc3720' class='external mw-magiclink-rfc'&gt;RFC 3720&lt;/a&gt;)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;873/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Rsync' title='Rsync'&gt;rsync&lt;/a&gt; file synchronisation protocol&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;888/TCP&lt;/td&gt;&lt;td&gt;cddbp, &lt;a href='/wiki/CD_database' title='CD database' class='mw-redirect'&gt;CD DataBase&lt;/a&gt; (&lt;a href='/wiki/CDDB' title='CDDB'&gt;CDDB&lt;/a&gt;) protocol (CDDBP)—unassigned but widespread use&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;901/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Samba_software' title='Samba software' class='mw-redirect'&gt;Samba&lt;/a&gt; Web Administration Tool (SWAT)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='khaki'&gt;&lt;td&gt;901/TCP, UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/VMware' title='VMware'&gt;VMware&lt;/a&gt; Virtual Infrastructure Client (UDP from server being managed to management console)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;902/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/VMware' title='VMware'&gt;VMware&lt;/a&gt; Server Console (TCP from management console to server being Managed)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;902/UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/VMware' title='VMware'&gt;VMware&lt;/a&gt; Server Console (UDP from server being managed to management console)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;903/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/VMware' title='VMware'&gt;VMware&lt;/a&gt; Remote Console &lt;sup id='cite_ref-25' class='reference'&gt;&lt;a href='#cite_note-25'&gt;&lt;span&gt;[&lt;/span&gt;26&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;904/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/VMware' title='VMware'&gt;VMware&lt;/a&gt; Server Alternate (if 902 is in use, i.e. SUSE linux)&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;911/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Network_Console_on_Acid' title='Network Console on Acid'&gt;Network Console on Acid&lt;/a&gt; (NCA)—local &lt;a href='/wiki/Linux' title='Linux'&gt;tty&lt;/a&gt; redirection over &lt;a href='/wiki/OpenSSH' title='OpenSSH'&gt;OpenSSH&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;953/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Domain_Name_System' title='Domain Name System'&gt;Domain Name System&lt;/a&gt; (DNS) RDNC Service&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;981/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/SofaWare_Technologies' title='SofaWare Technologies' class='mw-redirect'&gt;SofaWare Technologies&lt;/a&gt; Remote HTTPS management for firewall devices running embedded &lt;a href='/wiki/Check_Point' title='Check Point'&gt;Check Point&lt;/a&gt; &lt;a href='/wiki/FireWall-1' title='FireWall-1' class='mw-redirect'&gt;FireWall-1&lt;/a&gt; software&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;989/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/FTPS' title='FTPS'&gt;FTPS&lt;/a&gt; Protocol (data): &lt;a href='/wiki/FTP' title='FTP' class='mw-redirect'&gt;FTP&lt;/a&gt; over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;990/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/FTPS' title='FTPS'&gt;FTPS&lt;/a&gt; Protocol (control): &lt;a href='/wiki/FTP' title='FTP' class='mw-redirect'&gt;FTP&lt;/a&gt; over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;991/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='http://www.ietf.org/rfc/rfc4707.txt' class='external text' rel='nofollow'&gt;NAS&lt;/a&gt; (&lt;a href='/wiki/Netnews' title='Netnews' class='mw-redirect'&gt;Netnews&lt;/a&gt; Administration System)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;992/TCP,UDP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Telnet' title='Telnet'&gt;TELNET&lt;/a&gt; protocol over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;993/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Internet_Message_Access_Protocol' title='Internet Message Access Protocol'&gt;Internet Message Access Protocol&lt;/a&gt; over &lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt; (IMAPS)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;995/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/Post_Office_Protocol' title='Post Office Protocol'&gt;Post Office Protocol&lt;/a&gt; 3 over &lt;a href='/wiki/Transport_Layer_Security' title='Transport Layer Security'&gt;TLS&lt;/a&gt;/&lt;a href='/wiki/Secure_Sockets_Layer' title='Secure Sockets Layer' class='mw-redirect'&gt;SSL&lt;/a&gt; (POP3S)&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;999/TCP&lt;/td&gt;&lt;td&gt;&lt;a href='/wiki/ScimoreDB' title='ScimoreDB'&gt;ScimoreDB&lt;/a&gt; Database System&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor='lightsteelblue'&gt;&lt;td&gt;1001/TCP&lt;/td&gt;&lt;td&gt;JtoMB&lt;/td&gt;&lt;td&gt;Unofficial&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1023/TCP,UDP&lt;/td&gt;&lt;td&gt;Reserved&lt;sup id='cite_ref-IANA_0-1' class='reference'&gt;&lt;a href='#cite_note-IANA-0'&gt;&lt;span&gt;[&lt;/span&gt;1&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;&lt;td&gt;Official&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=a515153d-4604-883a-9d15-fde80464f1f6' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3276152114185720358?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3276152114185720358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/02/well-known-tcp-ports.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3276152114185720358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3276152114185720358'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/02/well-known-tcp-ports.html' title='well known TCP Ports'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3703825300683186552</id><published>2010-01-13T11:46:00.000-08:00</published><updated>2010-01-13T11:46:00.898-08:00</updated><title type='text'>Using Optional Outlput Paramaters in a SQL Stored Procedure</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;h1&gt;Optional Outlput Paramaters in a SQL Stored Procedure&lt;/h1&gt;&lt;br/&gt;&lt;br/&gt;In the interest of re-usability I have spent plenty of time learning tricks to make my C#, VB.Net or Java classes integration friendly. This usually consists of providing extensibility points, web service wrappers, APIs,  methods overloads etc. On a typical project though about a third of my code is in SQL Stored Procedures. Typically these are usage specific. Meaning that they are going to be called from a web page or client, or will act as a helper procedure exclusively.&lt;br/&gt;&lt;br/&gt;So if I needed to implement similar logic in more than one of these scenarios multiple procedures needed to be developed.&lt;br/&gt;&lt;br/&gt;Below is another option.&lt;br/&gt;&lt;br/&gt;Providing your result as both an output parameter and a result set.&lt;br/&gt;** note the output parameter can also be a table variable for procedures with a non-scalar result&lt;br/&gt;&lt;div style='font-size: 1em; font-family: Consolas,Terminal,Arial;'&gt;&lt;br/&gt;&lt;br/&gt;-- =============================================&lt;br/&gt;-- Stored procedure with an OUTPUT parameter&lt;br/&gt;-- =============================================&lt;br/&gt;-- Drop stored procedure if it already exists&lt;br/&gt;IF EXISTS (&lt;br/&gt;  SELECT * &lt;br/&gt;    FROM INFORMATION_SCHEMA.ROUTINES &lt;br/&gt;   WHERE SPECIFIC_SCHEMA = N'dbo' AND &lt;br/&gt;   SPECIFIC_NAME = N'optional_output_parameter'&lt;br/&gt;     )&lt;br/&gt;   DROP PROCEDURE dbo.optional_output_parameter&lt;br/&gt;&lt;br/&gt;GO&lt;br/&gt;&lt;br/&gt;CREATE PROCEDURE dbo.optional_output_parameter&lt;br/&gt;	@test1 int = 0, &lt;br/&gt;	@test2 int OUTPUT&lt;br/&gt;AS&lt;br/&gt;	&lt;br/&gt;	set @test2 = 10 + @test1&lt;br/&gt;	&lt;br/&gt;	select @test2 [A: Procedure Result]&lt;br/&gt;	&lt;br/&gt;GO&lt;br/&gt;&lt;br/&gt;-- =============================================&lt;br/&gt;-- Execute the SP with an Output parameter&lt;br/&gt;-- =============================================&lt;br/&gt;DECLARE @test2 int&lt;br/&gt;&lt;br/&gt;SET @test2 = NULL&lt;br/&gt;&lt;br/&gt;EXEC dbo.optional_output_parameter 1 ,@test2 OUTPUT&lt;br/&gt;&lt;br/&gt;SELECT @test2 [A: test2 output]&lt;br/&gt;GO&lt;br/&gt;&lt;br/&gt;-- =============================================&lt;br/&gt;-- Add a NULL Default to the Output parameter&lt;br/&gt;-- Execute the SP without an Output parameter &lt;br/&gt;-- =============================================&lt;br/&gt;ALTER PROCEDURE dbo.optional_output_parameter&lt;br/&gt;	@test1 int = 0, &lt;br/&gt;	@test2 int = null OUTPUT&lt;br/&gt;AS&lt;br/&gt;&lt;br/&gt;	set @test2 = 10 + @test1&lt;br/&gt;&lt;br/&gt;	select @test2  [B: Procedure Result]&lt;br/&gt;&lt;br/&gt;GO&lt;br/&gt;&lt;br/&gt;-- =============================================&lt;br/&gt;-- Example to execute the stored procedure&lt;br/&gt;-- =============================================&lt;br/&gt;DECLARE @test2 int&lt;br/&gt;&lt;br/&gt;SET @test2 = NULL&lt;br/&gt;&lt;br/&gt;EXEC dbo.optional_output_parameter 1 &lt;br/&gt;&lt;br/&gt;SELECT @test2 [B: test2 output]&lt;br/&gt;GO&lt;br/&gt;&lt;br/&gt;DROP PROCEDURE dbo.optional_output_parameter&lt;br/&gt;&lt;br/&gt;GO&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3703825300683186552?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3703825300683186552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2010/01/using-optional-outlput-paramaters-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3703825300683186552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3703825300683186552'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2010/01/using-optional-outlput-paramaters-in.html' title='Using Optional Outlput Paramaters in a SQL Stored Procedure'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-6469608973464746763</id><published>2009-12-12T19:37:00.000-08:00</published><updated>2009-12-12T19:45:21.484-08:00</updated><title type='text'>IEnumerable.Except removes duplicates</title><content type='html'>&lt;style type="text/css" &gt;li{list-style-type:none; }&lt;/style&gt;&lt;br /&gt;&lt;h2&gt;Except: IEnumerable&amp;lt;T&amp;gt;.Except(IEnumerable&amp;lt;T&amp;gt;);&lt;/h2&gt;&lt;h3&gt;All duplicate Items in the IEnumerable&amp;lt;TSource&amp;gt; are removed as a result of the Except call.&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;List&amp;lt;string&amp;gt; MailingList= new List&amp;lt;string&amp;gt; () &lt;br /&gt;&lt;ul&gt;&lt;li&gt;{&amp;quot;daniel_bowden@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;my@in4mr.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;dr.catalyst@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;daniel@danielbowden.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;daniel_bowden@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;mure@hellokitty.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;vampireseyes96@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;daniel_bowden@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;heidilady@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;rachbu@yahoo.com&amp;quot;}&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;List&amp;lt;string&amp;gt; BannedEmails= new List&amp;lt;string&amp;gt; () &lt;br /&gt;&lt;ul&gt;&lt;li&gt;{&amp;quot;dr.cataclyst@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;heidilady@yahoo.com&amp;quot;,&lt;/li&gt;&lt;li&gt;&amp;quot;msg@4u2read.com&amp;quot;}&lt;/li&gt;&lt;/ul&gt;List&amp;lt;string&amp;gt; CleanMailingList = MailingList.Except(BannedEmails);&lt;br/&gt;String.Join("\n", CleanMailingList.Select(o =&gt; String.Format("&amp;lt;li&amp;gt;{0}&amp;lt;/li&amp;gt;", o)).ToArray()); &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;daniel_bowden@yahoo.com&lt;/li&gt;&lt;li&gt;my@in4mr.com&lt;/li&gt;&lt;li&gt;dr.catalyst@yahoo.com&lt;/li&gt;&lt;li&gt;daniel@danielbowden.com&lt;/li&gt;&lt;li&gt;mure@hellokitty.com&lt;/li&gt;&lt;li&gt;vampireseyes96@yahoo.com&lt;/li&gt;&lt;li&gt;rachbu@yahoo.com&lt;/li&gt;&lt;/ul&gt;&lt;hr/&gt;Results: The emails in MailingList that were in BannedEmail have been removed exactly as advertized...or is it?&lt;p&gt;Note the email &lt;b&gt;Daniel_Bowden@yahoo.com&lt;/b&gt; in our MailingList. &lt;br/&gt;It occurs three times in &lt;b&gt;MailingList&lt;/b&gt; and does not occur at all in &lt;b&gt;BannedEmails&lt;/b&gt;. Most importantly it only occurs once in the result of our Except TResult&lt;b&gt;CleanMailingList&lt;/b&gt;..&lt;/p&gt;&lt;b&gt;All duplicate Items in the IEnumerable&amp;lt;TSource&amp;gt; are removed as a result of the Except call.&lt;/b&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt; Pro:&lt;/b&gt; &lt;i&gt;Automatically remove duplicates from an IEnumerable of &amp;lt;T&amp;gt;&lt;/i&gt;&lt;br /&gt;&lt;b&gt;Con:&lt;/b&gt;&lt;i&gt; If you are not aware of this behavior then data can be lost and implementations may not produce the intended results.&lt;/i&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-6469608973464746763?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/6469608973464746763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/12/ienumerableexcept-removes-duplicates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/6469608973464746763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/6469608973464746763'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/12/ienumerableexcept-removes-duplicates.html' title='IEnumerable.Except removes duplicates'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-1286748833725799875</id><published>2009-11-01T03:40:00.000-08:00</published><updated>2009-11-01T03:42:12.177-08:00</updated><title type='text'>Use any font you want on your web page. (well almost)</title><content type='html'>&lt;h1&gt;All Major browsers currently support some form of web font embedding.&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;Webkit/Safari 3.1+, Opera 10+, Mozilla/Firefox 3.5+, Google Chrome 3.0+ all support TTF font linking through the use of the @font-face CSS attribute.&lt;br /&gt;&lt;br /&gt;Internet Explorer supports the .EOT format which can be created from a .TTF file format through the use of the TTF2EOT GNU General Public Licensed application.&lt;br /&gt;&lt;br /&gt;TTF2EOT can be found &lt;a href="http://ttf2eot.googlecode.com/files/ttf2eot-0.0.2-2.zip"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example Usage: C:\ttf2eot.exe c:\windows\fonts\arial.ttf c:\output.eot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Applying a crossbrowser approach to @font-face.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference the ".eot" first and IE will ignore the next src attribute due to the local() Syntax.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/* ---- Bradley Hand ITC ------------------------------------------ */&lt;br /&gt;@font-face&lt;br /&gt;{&lt;br /&gt;font-family: Bradley_Hand_ITC;&lt;br /&gt;src: url("Bradley_Hand_ITC.eot"); /* EOT file for IE */&lt;br /&gt;src: local("Bradley Hand ITC"),url("Bradley_Hand_ITC.ttf") format("truetype"); /* non-IE */&lt;br /&gt;}&lt;br /&gt;.Bradley_Hand_ITC&lt;br /&gt;{&lt;br /&gt;font-family: Bradley_Hand_ITC;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lets see it in action at, &lt;a href="http://www.in4mr.com/embed-a-font.htm"&gt;10 fonts go where I've never sent them before&lt;/a&gt;, on a Web Page.&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-1286748833725799875?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.in4mr.com/embed-a-font.htm' title='Use any font you want on your web page. (well almost)'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/1286748833725799875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/11/use-any-font-you-want-on-your-web-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/1286748833725799875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/1286748833725799875'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/11/use-any-font-you-want-on-your-web-page.html' title='Use any font you want on your web page. (well almost)'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-6982210361337580212</id><published>2009-10-27T16:17:00.001-07:00</published><updated>2009-11-01T19:38:18.869-08:00</updated><title type='text'>The Dude is back - *My Favorite Net Mapping Tool*</title><content type='html'>&lt;h1&gt;Network Mapping, Auto Discovery and Network Monitoring,  for free&lt;/h1&gt;Every developer has a bag of tricks comprised of their favorite apps and tools that make the job easier or make them more productive.&lt;br /&gt;&lt;a href="http://www.mikrotik.com/thedude.php"&gt;The Dude&lt;/a&gt; is my favorite network mapping tool. It's simple small and feature rich. It's auto discovery and diagram generation alone saved me from spending an hour or two today auditing servers for IP Address and configuration information. Now I can just post the automatically generated network map and report for review.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-6982210361337580212?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.mikrotik.com/thedude.php' title='The Dude is back - *My Favorite Net Mapping Tool*'/><link rel='enclosure' type='' href='http://www.mikrotik.com/thedude.php' length='0'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/6982210361337580212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/10/dude-is-back-view-capture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/6982210361337580212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/6982210361337580212'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/10/dude-is-back-view-capture.html' title='The Dude is back - *My Favorite Net Mapping Tool*'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-1881617670004421061</id><published>2009-09-26T12:46:00.000-07:00</published><updated>2009-11-01T19:47:16.093-08:00</updated><title type='text'>Deserializing XML with extra nodes using schema validation and xs:any</title><content type='html'>&lt;h1&gt;Design a flexible schema using xs:any&lt;/h1&gt;&lt;blockquote&gt;&lt;i&gt;&lt;br /&gt;Note: this can be abused, I recently had to reverse engineer a system where almost every document had multiple XS:any nodes. It becomes extremely difficult to determine what the intended design was.&lt;br /&gt;&lt;/i&gt;&lt;/blockquote&gt;&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;When you work on distributed systems the challenges are often domain specific and resulting solutions less than portable. &lt;br /&gt;However on the occasion that you find one it is very rewarding, what follows documents just such an occasion. &lt;br /&gt;&lt;br /&gt;&lt;u&gt;Challenge&lt;/u&gt;&lt;br /&gt;The format of an XML message between distributed or disconnected systems &lt;br /&gt;&lt;ul&gt;&lt;li&gt;A) needs to support dynamic content nodes &lt;/li&gt;&lt;li&gt;B) may change with little to no notice &lt;/li&gt;&lt;li&gt;C) has nodes that whose attributes are not managed or restricted&lt;/li&gt;&lt;/ul&gt;&lt;u&gt;Solution&lt;br /&gt;&lt;/u&gt;In this somewhat extreme example our shipping provider regularly send us messages with optional or custom order information direct from the manufacturers.&lt;br /&gt;When our shipping service deserialize these messages all we care about is the existence of an order node the rest of the nodes will be handled by downstream processes.&lt;br /&gt;the "xs:any namespace='##any' "  and "processContents='skip' " allows us to gather but not process the unmapped xml and still enforce our validation (the required Order element).&lt;br /&gt;XML/XSD fragment demonstrating xs:any :&lt;br /&gt;&lt;br /&gt;&amp;lt;xs:element name="Shipment"&amp;gt;&lt;br /&gt;      &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;         &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;           &amp;lt;xs:element name="OrderNo" type="xs:string"/&amp;gt;&lt;br /&gt;              &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;                &amp;lt;xs:any namespace="##any" minOccurs="0"&lt;br /&gt;                        maxOccurs="unbounded"&lt;br /&gt;                        processContents="skip" /&amp;gt;&lt;br /&gt;              &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;         &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;      &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;   &amp;lt;/xs:element&amp;gt;&lt;br /&gt;&lt;br /&gt; On the Obejct side:&lt;br /&gt;&lt;br /&gt;The .NET Framework includes two attributes that enable you to capture unknown XML elements and attributes:&lt;br /&gt;&lt;br /&gt;* XmlAnyElementAttribute is used to control how unknown elements are stored in an object.&lt;br /&gt;* XmlAnyAttributeAttribute is used to control how unknown attributes are stored in an object.&lt;br /&gt;&lt;br /&gt;XmlAnyElementAttribute&lt;br /&gt;is attached to a field, property, parameter, or return value and is&lt;br /&gt;essentially a "wild card" that is capable of converting to and from XML&lt;br /&gt;elements during serialization. You'll probably want to use it with an&lt;br /&gt;array of XmlNode objects, becaise each unknown element from the XML&lt;br /&gt;document will be placed into its own XmlNode object. If you use the&lt;br /&gt;attribute with a single XmlNode object, you'll lose data if multiple&lt;br /&gt;unknown elements are received. The XmlAnyElement attribute is typically&lt;br /&gt;used like this:&lt;br /&gt;&lt;br /&gt;C# Fragment demonstrating the [XmlAnyElement] attribute:&lt;br /&gt;&lt;br /&gt;XmlNode[] _openElements = null;&lt;br /&gt;[XmlAnyElement()]&lt;br /&gt;public XmlNode[] OpenElements{get;set;}&lt;br /&gt;&lt;br /&gt;XmlAnyAttribute&lt;br /&gt;can be used with an array of XmlAttribute or XmlNode (it can't be used&lt;br /&gt;with single objects of either type). It's typically used much like the&lt;br /&gt;XmlAnyElement, as shown in the code below:&lt;br /&gt;&lt;br /&gt;XmlNode[] _openAttributes = null;&lt;br /&gt;[XmlAnyAttribute()]&lt;br /&gt;public XmlNode[] OpenAttributes{get;set;}&lt;br /&gt;&lt;br /&gt;When&lt;br /&gt;you use XmlAnyElement and XmlAnyAttribute attributes, the serializer&lt;br /&gt;will not generate UnknownElement and UnknownAttribute events.&lt;br /&gt;&lt;hr&gt;&lt;i&gt;&lt;br /&gt;The inspiration for this post post came from the article:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.developer.com/net/article.php/10916_3396691_1/Using-Open-XML-Schema-with-NET.htm' target='_blank'&gt;&lt;b&gt;&lt;small&gt;&lt;small&gt;&lt;small&gt;Using Open XML Schema with .NET&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt; by &lt;a href='http://www.developer.com/author.php/65893/Mickey--Williams.htm'&gt;Mickey  Williams&lt;/a&gt;&lt;br /&gt;&lt;/i&gt;&lt;hr&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=162bd510-80a6-8a1a-9ae8-5d39d61adaca' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-1881617670004421061?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.developer.com/net/article.php/10916_3396691_1/Using-Open-XML-Schema-with-NET.htm' title='Deserializing XML with extra nodes using schema validation and xs:any'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/1881617670004421061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/09/deserializing-xml-with-extra-nodes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/1881617670004421061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/1881617670004421061'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/09/deserializing-xml-with-extra-nodes.html' title='Deserializing XML with extra nodes using schema validation and xs:any'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-2990334351023684314</id><published>2009-09-15T22:48:00.001-07:00</published><updated>2009-11-01T19:40:14.862-08:00</updated><title type='text'>SQL Reporting Services Security</title><content type='html'>&lt;H1&gt;SQL Reporting Services missing folders and tabs &lt;/H1&gt;&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;So you just installed SQL Reporting Services 2008 on your spiffy new Server 2008 or Vista PC. An you eagerly go to the familiar url http://localhost/reports or http://&lt;servername&gt;&amp;lt;servername&amp;gt;/reports and get a home page missing the "Site Settings" link. Actually it's pretty much missing everything except "Home", "My Subscriptions" and "Help" (which is anything but helpful).&lt;br /&gt;Whats wrong? Why can't I add a data source, you ask?&lt;br /&gt;I am guessing the Vista reference above gave away the big secret. &lt;br /&gt;&lt;br /&gt;&lt;a target='_blank' href='http://msdn.microsoft.com/en-us/library/bb630430.aspx'&gt;http://msdn.microsoft.com/en-us/library/bb630430.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;yep, you need to run IE in administrator mode....&lt;br /&gt;&lt;br /&gt;UAC strikes again.&lt;/servername&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=732b4b31-0794-8c47-92f1-c890a2efdb0f' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-2990334351023684314?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/2990334351023684314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/09/sql-reporting-services-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/2990334351023684314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/2990334351023684314'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/09/sql-reporting-services-security.html' title='SQL Reporting Services Security'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-973771172783791293</id><published>2009-09-05T18:35:00.000-07:00</published><updated>2009-09-06T01:49:57.627-07:00</updated><title type='text'>Clone a Hyper-V VM without SCVMM</title><content type='html'>&lt;h1&gt;&lt;font size="4"&gt;&lt;br /&gt;Clone a Hyper-V virtual machine without SCVMM&lt;/font&gt;&lt;/h1&gt;The following assumes that you have created a machine that you would like to use as a template. &lt;br /&gt;&lt;br /&gt;**Sysprepping this machine is not required, but if you will be making more than one copy I highly recommend it (sysprep instructions follow post).&lt;br /&gt;&lt;br /&gt;1. Right click on the template machine in Hyper-V Manager and choose Export (Do Not Start a Template)&lt;br /&gt;&lt;br /&gt;2. Choose the &amp;lt;HYPER-V_DIRECTORY&amp;gt;\&amp;lt;NEW_VM_NAME&amp;gt; directory for a destination&lt;br /&gt;&lt;br /&gt;3. Wait for the export to complete&lt;br /&gt;&lt;br /&gt;4.&amp;#160; Move the files and folders under &amp;lt;HYPER-V_DIRECTORY&amp;gt;\&amp;lt;NEW_VM_NAME&amp;gt;\_&amp;lt;TEMPLATE_NAME&amp;gt;_ up one level to&amp;#160; &amp;lt;HYPER-V_DIRECTORY&amp;gt;\&amp;lt;NEW_VM_NAME&amp;gt;&lt;br /&gt;&lt;br /&gt;5. Delete the folder &amp;lt;HYPER-V_DIRECTORY&amp;gt;\&amp;lt;NEW_VM_NAME&amp;gt;\_&amp;lt;TEMPLATE_NAME&amp;gt;_&lt;br /&gt;&lt;br /&gt;6. In Hyper-V Manager choose “Import a Virtual Machine” from the Action menu on the top right&lt;br /&gt;&lt;br /&gt;7. Import from the folder &amp;lt;HYPER-V_DIRECTORY&amp;gt;\&amp;lt;NEW_VM_NAME&amp;gt;&lt;br /&gt;&lt;br /&gt;8. You will now see two &amp;lt;_TEMPLATE_NAME_&amp;gt; Virtual Machines in Hyper-V Manager&lt;br /&gt;&lt;br /&gt;9. Right click the bottom one (it will have the most recent date) and rename it to your &amp;lt;NEW_VM_NAME&amp;gt;&lt;br /&gt;&lt;br /&gt;10. Right click the&amp;#160; &amp;lt;NEW_VM_NAME&amp;gt; Virtual Machine and choose “Settings” from the context menu&lt;br /&gt;&lt;br /&gt;11. On the left hand side click on the Hard Drive named &amp;lt;TEMPLATE_NAME&amp;gt; (it should be under IDE Controller 0)&amp;#160; ** image A**&lt;br /&gt;&lt;br /&gt;12. Click Remove&lt;br /&gt;&lt;br /&gt;13. Repeat steps 11 and 12 for all hard disks&lt;br /&gt;&lt;br /&gt;14. Close Settings&lt;br /&gt;&lt;br /&gt;15. Open Windows Explorer and Navigate to &amp;lt;HYPER-V_DIRECTORY&amp;gt;\&amp;lt;NEW_VM_NAME&amp;gt;\Virtual Hard Disks &lt;br /&gt;&lt;br /&gt;16. Rename &amp;lt;TEMPLATE_NAME&amp;gt;.vhd to &amp;lt;NEW_VM_NAME&amp;gt;.vhd&lt;br /&gt;&lt;br /&gt;17. Repeat step 15 for all remaining hard disks &lt;br /&gt;&lt;br /&gt;18. Close Windows Explorer&lt;br /&gt;&lt;br /&gt;19. In Hyper-V Manager right click the&amp;#160; &amp;lt;NEW_VM_NAME&amp;gt; Virtual Machine and choose “Settings” from the context menu&lt;br /&gt;&lt;br /&gt;20. On the left hand side click on IDE Controller 0 and select “Hard Disk” and click “ADD”&lt;br /&gt;&lt;br /&gt;21. Repeat for remaining Hard Disks &lt;br /&gt;&lt;br /&gt;a. If possible attach these to a SCSI Controller (this may have to be added via “Add Hardware” at the top of the page)&lt;br /&gt;&lt;br /&gt;22.&amp;#160;&amp;#160; Close Settings&lt;br /&gt;&lt;br /&gt;23. Right click the&amp;#160; &amp;lt;NEW_VM_NAME&amp;gt; Virtual Machine and choose “Start”&lt;br /&gt;&lt;br /&gt;24. Right click the&amp;#160; &amp;lt;NEW_VM_NAME&amp;gt; Virtual Machine and choose “Connect”&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;If your template machine had Sysprep run on it:&lt;/strong&gt;&amp;#160;&lt;br /&gt;&lt;br /&gt;25. The Virtual Machine’s screen will be grey for a while and then show what appears to be a Windows Server Setup Screen&lt;br /&gt;&lt;br /&gt;26. Choose next, Accept the Eula and Enter &amp;lt;NEW_VM_NAME&amp;gt; when you are prompted for a machine name&lt;br /&gt;&lt;br /&gt;27. Click next and the system will load for a while and then present you with the logon screen&lt;br /&gt;&lt;br /&gt;Sysprep: http://technet.microsoft.com/en-us/library/cc766514(WS.10).aspx&lt;br /&gt;&lt;br /&gt;Gotchas?: Make sure to read the links below if your going to sysprep a machine with Sql Server or Hyper-V&lt;br /&gt;Sysprep a Sql Server:  http://support.microsoft.com/kb/303774 &lt;br /&gt;Sysprep a Hyper-V Server:  Http://blogs.msdn.com/mikekol/archive/2008/03/25/hyper-v-installation-tricks-part-1-sysprep-and-hyper-v.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-973771172783791293?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/973771172783791293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/09/clone-hyper-v-vm-without-scvmm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/973771172783791293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/973771172783791293'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/09/clone-hyper-v-vm-without-scvmm.html' title='Clone a Hyper-V VM without SCVMM'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-7806653583849028256</id><published>2009-09-02T17:38:00.000-07:00</published><updated>2009-09-06T01:50:47.335-07:00</updated><title type='text'>Create VS2008 snippets by Right-Click, Export to Snippet</title><content type='html'>&lt;p&gt;&lt;font size="4"&gt;Create VS2008 Code Snippets inline simply and effectively.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Download &lt;a href="http://snippetdesigner.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=21335" target="_blank"&gt;Snippet Designer&lt;/a&gt; from CodePlex.&lt;/p&gt;&lt;p&gt;Highlight your code fragment in VS2008&lt;/p&gt;&lt;p&gt;&lt;strong&gt;“Right Click … Export to Snippet”&lt;/strong&gt;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160; &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:2004b647-b90f-4f38-a12d-914a2b0103ec" class="wlWriterEditableSmartContent"&gt;&lt;p&gt;&lt;img style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" height="196" src="http://lh6.ggpht.com/_cdSrYS9ARNo/Sp8dMH9aEzI/AAAAAAAAABY/Wy3gf5QmZJ8/s400/blog_snippet_designer.jpg" width="400"&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;It comes with a Snippet Explorer tool&amp;#160; to window to search snippets on your computer. &lt;/p&gt;&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:51CF81A4-8F44-4a2c-8837-198C090B9994:ee65bfc1-d01f-4853-b728-ea853aff42b0" class="wlWriterEditableSmartContent"&gt;Picasa Content&lt;/div&gt;&lt;p&gt;Gotcha?: You might find that your VS2008&amp;#160; IDE has no menu item for the built in Snippet Manager. This is a bug with VS2008 and not related to the snippet designer. &lt;/p&gt;&lt;p&gt;Workaround: (ctrl k + ctrl b) brings up the default Snippet Manager&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-7806653583849028256?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/7806653583849028256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/09/create-vs2008-snippets-by-right-click.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7806653583849028256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7806653583849028256'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/09/create-vs2008-snippets-by-right-click.html' title='Create VS2008 snippets by Right-Click, Export to Snippet'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_cdSrYS9ARNo/Sp8dMH9aEzI/AAAAAAAAABY/Wy3gf5QmZJ8/s72-c/blog_snippet_designer.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-7730324658758453480</id><published>2009-09-02T01:38:00.001-07:00</published><updated>2009-09-02T01:39:22.464-07:00</updated><title type='text'>Tortoise svn Global-Ignore for Visual Studio solutions files and folders</title><content type='html'>&lt;p&gt;I have wanted to do this for a while, and I guess my projects have hit the critical mass required to justify spending 30 minutes setting it up. &lt;/p&gt;  &lt;p&gt;To globally ignore folders and directories with Tortoise svn client.&lt;/p&gt;  &lt;p&gt;1. open %appdata%\subversion\config (this is a file with no extension)&lt;/p&gt;  &lt;p&gt;2. find the global ignore section under “[miscellany]”&lt;/p&gt;  &lt;p&gt;3. replace the following line with its successor:&lt;/p&gt;  &lt;p&gt;# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#333333"&gt;-with-&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;global-ignores = bin obj release compile debug *.bak *.user *.suo&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-7730324658758453480?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/7730324658758453480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/09/tortoise-svn-global-ignore-for-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7730324658758453480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7730324658758453480'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/09/tortoise-svn-global-ignore-for-visual.html' title='Tortoise svn Global-Ignore for Visual Studio solutions files and folders'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-6062616453469656759</id><published>2009-09-01T13:25:00.001-07:00</published><updated>2009-09-01T13:25:02.335-07:00</updated><title type='text'>!(HttpCookieCollection Class Provides a type-safe way to manipulate HTTP cookies.)</title><content type='html'>&lt;p&gt;Be forewarned utilizing the HttpCookieCollection Class to store a collection of newly created HTTPCookies , and casting them to HTTPCookie generates the following error: &lt;/p&gt;  &lt;p&gt;&lt;em&gt;Unable to cast object of type ‘System.String’ to type ‘System.Web.HttpCookie’;&lt;/em&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Stick with the List&amp;lt;HttpCookie&amp;gt; and you’re in the clear.&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;Example: &lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;var HttpCookies = new List&amp;lt;HttpCookie&amp;gt;( );&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;HttpCookie newHttpCookie1 = new HttpCookie &amp;quot;System_name1&amp;quot;, &amp;quot;MySystem&amp;quot;);&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000" size="2" face="Arial"&gt;HttpCookies.Add(newHttpCookie6);&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;font color="#000000"&gt;foreach (var c in HttpCookies)&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;{&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;c.Expires = DateTime.Now.AddYears(10);&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;c.Domain = &amp;quot;MyDomain.com&amp;quot;;&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;}&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-6062616453469656759?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/6062616453469656759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/09/httpcookiecollection-class-provides.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/6062616453469656759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/6062616453469656759'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/09/httpcookiecollection-class-provides.html' title='!(HttpCookieCollection Class Provides a type-safe way to manipulate HTTP cookies.)'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-1502313526040329318</id><published>2009-08-29T05:09:00.001-07:00</published><updated>2009-10-31T01:44:48.365-07:00</updated><title type='text'>Really “Super” Icons</title><content type='html'>&lt;h1&gt;&lt;font size="4" face="Arial"&gt;Homemade Superhero Icon set&lt;/font&gt;&lt;/h1&gt;&lt;p&gt;No I don’t know why anyone else would want them. Yes I did have a reason for making them. really…&lt;/p&gt;&lt;p&gt;&lt;img src="http://ecwgdw.bay.livefilestore.com/y1pOEjUzHOTETLz4lXDXA40BLMO7DxVSZYpBGBx_4ndVHdBCf5zFojNZkuDsad_vdpGSezyneUAYG7LRASZkRn30NSxW1WiYrak/Icons_index.jpg" width="415" height="303" /&gt; &lt;/p&gt;&lt;p&gt;We decided to name our Virtual Servers after Superheroes at the office. I had spent 12 hours configuring 4 servers and 2 templates, virtual networks , SQL Server etcetera and decided to take a break from code and configuration.&lt;/p&gt;&lt;p&gt;I fired up Google and did a few image searches. I Found some classic Marvel hero images and dropped them&amp;#160; Fireworks for editing, then saved them all as 90 x 120 and uploaded them to &lt;a title="http://www.convertico.com" href="http://www.convertico.com"&gt;http://www.convertico.com&lt;/a&gt;&amp;#160; to convert them to .ICO files. &lt;a title="http://www.convertico.com" href="http://www.convertico.com"&gt;http://www.convertico.com&lt;/a&gt;&amp;#160; is a website with a simple upload to convert to .ICO and right-click to save the result function,&lt;/p&gt;&lt;p&gt;Later I Made them into 256 pixel x 256 pixel vista icons using a free Icon Editor Application from &lt;a title="http://icofx.ro/" href="http://icofx.ro/"&gt;http://icofx.ro/&lt;/a&gt; which is nice and clean, and carries no spy/ad ware.&lt;/p&gt;&lt;p&gt;So without further ado….&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;a title="SuperheroIcons" href="http://cid-4585c3957e6ecb42.skydrive.live.com/self.aspx/Public/ICONS/MarvelHeroIcons.icl"&gt;Superhero Icon Library&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://cid-4585c3957e6ecb42.skydrive.live.com/browse.aspx/Public/ICONS"&gt;Individual Superhero Icons&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;Update: my 2008 R2 server Desktop &lt;br/&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_cdSrYS9ARNo/Suv4QUgcC7I/AAAAAAAAAB4/dmPA1g2rZXA/s400/server_desktop.png.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-1502313526040329318?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/1502313526040329318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/08/really-super-icons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/1502313526040329318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/1502313526040329318'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/08/really-super-icons.html' title='Really “Super” Icons'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_cdSrYS9ARNo/Suv4QUgcC7I/AAAAAAAAAB4/dmPA1g2rZXA/s72-c/server_desktop.png.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-7645158254901038127</id><published>2009-08-28T08:46:00.001-07:00</published><updated>2009-08-28T08:46:55.488-07:00</updated><title type='text'>Microsoft Hyper-V Best Practices</title><content type='html'>&lt;h1&gt;&lt;font size="4"&gt;Microsoft whitepapers outlining their best practices for implementing Hyper-V in a production environment&lt;/font&gt;&lt;/h1&gt;  &lt;p&gt;&lt;a href="http://cid-4585c3957e6ecb42.skydrive.live.com/self.aspx/Public/0428DeployingVMUsingHyperVTechnologyTCS.doc"&gt;Deploying VM Using HyperV Technology&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cid-4585c3957e6ecb42.skydrive.live.com/self.aspx/Public/SQL2008inHyperV2008.docx"&gt;SQL 2008 in HyperV 2008&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-7645158254901038127?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/7645158254901038127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/08/microsoft-hyper-v-best-practices.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7645158254901038127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/7645158254901038127'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/08/microsoft-hyper-v-best-practices.html' title='Microsoft Hyper-V Best Practices'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8444635706317751222.post-3883256666555736726</id><published>2009-08-27T18:22:00.000-07:00</published><updated>2009-08-27T18:33:24.149-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='Hyper-V'/><title type='text'>A Massive NetApp Hyper-V  Deployment</title><content type='html'>I ran across this truly massive virtualization project by &lt;a href="http://www.avanade.com/"&gt;Avanade&lt;br /&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;A quick summary...&lt;br /&gt;&lt;br /&gt;Production Environment&lt;br /&gt;&lt;br /&gt;Microsoft Hyper-V for Windows Server 2008, Core Installation, Enterprise Edition&lt;br /&gt;Configured as a four-node Hyper-V Cluster&lt;br /&gt;27 child partitions (virtual machines)&lt;br /&gt;Virtualized applications run under either the Windows Server 2003 or Windows Server 2008 guest operating system&lt;br /&gt;Virtualized Applications&lt;br /&gt;Team Foundation Server&lt;br /&gt;Systems Center Operations Manager 2007&lt;br /&gt;Microsoft Windows Server 2008 Terminal Services (both TS farm and TS Gateway)&lt;br /&gt;Servers and Storage&lt;br /&gt;Sun Fire X4150 servers, each with two quad core processors, 32GB RAM&lt;br /&gt;NetApp FAS3040 storage system configured with the iSCSI protocol&lt;br /&gt;Development and Test Environment&lt;br /&gt;&lt;br /&gt;Microsoft Hyper-V for Windows Server 2008, full installation, Enterprise Edition&lt;br /&gt;One 4-node cluster&lt;br /&gt;One 2-node cluster&lt;br /&gt;Three standalone servers&lt;br /&gt;Over 150 child partitions (virtual machines) across the dev and test Hyper-V hosts&lt;br /&gt;Virtualized Applications&lt;br /&gt;Varied, but includes applications in production&lt;br /&gt;Servers and Storage&lt;br /&gt;Dell 2950 servers, each with two quad core processors, 32GB RAM&lt;br /&gt;NetApp FAS3020 storage system configured with the iSCSI protocol&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8444635706317751222-3883256666555736726?l=tech.in4mr.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.netapp.com/us/communities/tech-ontap/avanade-hyperv.html' title='A Massive NetApp Hyper-V  Deployment'/><link rel='replies' type='application/atom+xml' href='http://tech.in4mr.com/feeds/3883256666555736726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech.in4mr.com/2009/08/massive-netapp-hyper-v-deployment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3883256666555736726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8444635706317751222/posts/default/3883256666555736726'/><link rel='alternate' type='text/html' href='http://tech.in4mr.com/2009/08/massive-netapp-hyper-v-deployment.html' title='A Massive NetApp Hyper-V  Deployment'/><author><name>dr. amnesia</name><uri>http://www.blogger.com/profile/02637532544794513272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-qADmESOJkJY/TbtMP2uPqQI/AAAAAAAAAD8/41L77X9f_LY/s220/hand160.png'/></author><thr:total>0</thr:total></entry></feed>
