tfs

How to escape search strings in TFS Code Search

陌路散爱 提交于 2021-01-27 05:41:25
问题 Really loving the 'new' code search feature of TFS, but I am unable to guess how to escape " an . . I want to find places in my code where I am using "SOMESTRING." in my code, but when searching for this the search engine seems to strib " and . so that I get all results where SOMESTRING is used and that particular string that is a lot of results. I have tried with backslash eg. \"SOMESTRING.\" but same thing happens. ´strlit:SOMESTRING.` insures that I only get string literals in the results

Assembly not found during TFS Build

╄→尐↘猪︶ㄣ 提交于 2021-01-27 05:23:27
问题 Running into an issue were project compiles locally just fine, but TFS build is reporting that assemblies cannot be found. Log file will show: 2>C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1696,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "HtmlAgilityPack". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Builds\1\MyProj\MyProj-Dev

Find WorkItems that were assigned to X in the last 30 days

不问归期 提交于 2021-01-26 19:46:25
问题 I'm trying to find all WorkItems that were assigned to a person X in the last 30 days. The big problem I have is the "in the last 30 days"-part. I thought about using the "ever" or "asof" keywords, but couldn't find a good answer yet.. something like WHERE [Assigned To] = 'X' AND (([Assigned To] != 'X') asof '<30daysago>') . But this is still not a bulletproof solution. Any better ideas? Thanks & kind regards Simon 回答1: It appears that this is not possible using just WIQL, but you can get

PHP网站开发—网站架构优化性能概念

℡╲_俬逩灬. 提交于 2021-01-25 17:34:38
最开始的网站架构 最初业务量不大,访问量小,此时的架构,应用程序、数据库、文件都部署在一台服务器上,有些甚至仅仅是租用主机空间 1. 应用、数据、文件分离 将应用程序、数据库、文件各自部署在独立的服务器上,并且根据服务器的用途配置不同的硬件,达到最佳的性能效果。 2. 利用缓存改善网站性能 大部分网站访问都遵循28原则,即80%的访问请求,最终落在20%的数据上,所以我们可以对热点数据进行缓存,减少热点数据的访问路径,提高用户体验。缓存实现常见的方式是本地缓存、分布式缓存。当然还有CDN、反向代理。 2.1 本地缓存 本地缓存,顾名思义是将数据缓存在应用服务器本地,可以存在内存中,也可以存在文件,组件。本地缓存的特点是速度快,但因为本地空间有限所以缓存数据量也有限。 2.2 分布式缓存 分布式缓存的特点是,可以缓存海量的数据,并且扩展非常容易,在门户类网站中常常被使用,速度按理没有本地缓存快,常用的分布式缓存是Memcached、Redis。 2.3 反向代理 部署在网站的机房,当用户请求达到时首先访问反向代理服务器,反向代理服务器将缓存的数据返回给用户,如果没有缓存数据才会继续访问应用服务器获取,这样做减少了获取数据的成本。 2.4 CDN 假设我们的服务器都部署在杭州的机房,对于浙江的用户来说访问是较快的,而对于北京的用户访问是较慢的

网站架构优化性能

妖精的绣舞 提交于 2021-01-23 21:57:03
最开始的网站架构 最初业务量不大,访问量小,此时的架构,应用程序、数据库、文件都部署在一台服务器上,有些甚至仅仅是租用主机空间 1. 应用、数据、文件分离 将应用程序、数据库、文件各自部署在独立的服务器上,并且根据服务器的用途配置不同的硬件,达到最佳的性能效果。 2. 利用缓存改善网站性能 大部分网站访问都遵循28原则,即80%的访问请求,最终落在20%的数据上,所以我们可以对热点数据进行缓存,减少热点数据的访问路径,提高用户体验。缓存实现常见的方式是本地缓存、分布式缓存。当然还有CDN、反向代理。 2.1 本地缓存 本地缓存,顾名思义是将数据缓存在应用服务器本地,可以存在内存中,也可以存在文件,组件。本地缓存的特点是速度快,但因为本地空间有限所以缓存数据量也有限。OSCache就是常用的本地缓存。 2.2 分布式缓存 分布式缓存的特点是,可以缓存海量的数据,并且扩展非常容易,在门户类网站中常常被使用,速度按理没有本地缓存快,常用的分布式缓存是Memcached、Redis。 2.3 反向代理 部署在网站的机房,当用户请求达到时首先访问反向代理服务器,反向代理服务器将缓存的数据返回给用户,如果没有缓存数据才会继续访问应用服务器获取,这样做减少了获取数据的成本。反向代理有Squid,Nginx。 2.4 CDN 假设我们的服务器都部署在杭州的机房,对于浙江的用户来说访问是较快的

网站架构优化性能概念

核能气质少年 提交于 2021-01-23 20:38:34
最开始的网站架构 最初业务量不大,访问量小,此时的架构,应用程序、数据库、文件都部署在一台服务器上,有些甚至仅仅是租用主机空间 1. 应用、数据、文件分离 将应用程序、数据库、文件各自部署在独立的服务器上,并且根据服务器的用途配置不同的硬件,达到最佳的性能效果。 2. 利用缓存改善网站性能 大部分网站访问都遵循28原则,即80%的访问请求,最终落在20%的数据上,所以我们可以对热点数据进行缓存,减少热点数据的访问路径,提高用户体验。缓存实现常见的方式是本地缓存、分布式缓存。当然还有CDN、反向代理。 2.1 本地缓存 本地缓存,顾名思义是将数据缓存在应用服务器本地,可以存在内存中,也可以存在文件,组件。本地缓存的特点是速度快,但因为本地空间有限所以缓存数据量也有限。 2.2 分布式缓存 分布式缓存的特点是,可以缓存海量的数据,并且扩展非常容易,在门户类网站中常常被使用,速度按理没有本地缓存快,常用的分布式缓存是Memcached、Redis。 2.3 反向代理 部署在网站的机房,当用户请求达到时首先访问反向代理服务器,反向代理服务器将缓存的数据返回给用户,如果没有缓存数据才会继续访问应用服务器获取,这样做减少了获取数据的成本。 2.4 CDN 假设我们的服务器都部署在杭州的机房,对于浙江的用户来说访问是较快的,而对于北京的用户访问是较慢的

TFS 2017+, C#, set Default Area

自闭症网瘾萝莉.ら 提交于 2021-01-07 03:01:51
问题 I am working on creating a team in TFS using C# and the dll's provided. I'm having a hard time setting the default Area and could use some help. VssCredentials vc = new VssCredentials(true); TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(new Uri(TFS_CONNECTION_URL), vc); tpc.Authenticate(); TfsTeamService teamService = tpc.GetService<TfsTeamService>(); ProjectInfo projectInfo = cssService.GetProjectFromName(TEAM_PROJECT_NAME); TeamFoundationTeam team = teamService.CreateTeam

How to change work item icons in on-premise Azure DevOps 2019

本秂侑毒 提交于 2021-01-05 10:14:34
问题 As the title says, how can I change the icons of work items? Currently they are all a blue clipboard with a tick in it, and I would like to more easily distinguish between bugs, tasks, user stories when viewing certain lists in the project portal. The project collection was recently imported from TFS2012, if that makes a difference. I think they were originally "MSF for Agile" 5.0 or 6.2 processes. On a related note, how can I tell which process a particular project is using? And can it be

How to change work item icons in on-premise Azure DevOps 2019

六眼飞鱼酱① 提交于 2021-01-05 10:13:35
问题 As the title says, how can I change the icons of work items? Currently they are all a blue clipboard with a tick in it, and I would like to more easily distinguish between bugs, tasks, user stories when viewing certain lists in the project portal. The project collection was recently imported from TFS2012, if that makes a difference. I think they were originally "MSF for Agile" 5.0 or 6.2 processes. On a related note, how can I tell which process a particular project is using? And can it be

How to open two Solution in one Visual Studio IDE?

时间秒杀一切 提交于 2020-12-25 10:56:42
问题 I am working on two different solutions, say, Solution1 and Solution2 . As these two solutions are dependent upon each other, I have to open two separate Visual Studio while developing. It is really difficult to switch between these Visual Studio. I can't merge these two solutions into one as Solution1 is being used by other projects and all are part of Source Control. Just wondering, can I open both solutions in the same Visual Studio IDE? I searched a lot but no luck. Any suggestions on