|
|
|
... and continuing to argue about this point is an even bigger waste of time.
|
|
|
|
|
If you have the budget now, get TFS while you can. And make sure you get future maintenance in the recurring budget.
TFS supports a full Process. Investigate how you can adapt existing processes to TFS or simply adopt one of Microsoft's supported processes.
Subversion can always be tried at a later date.
It is more of a straight version control. You will have to integrate/adapt your processes to work with Subversion.
If you are at a University, you probably have a hodge podge of systems.
You might end up deploying Subversion on some unix box.
|
|
|
|
|
As he said, he needs to stick to MS solutions. FWIW, where I worked changed from VSS 6 to SVN, and SVN sucks. While I can use it, and have to, it is nowhere near as productive (i.e. less time consuming) as VSS2005. SVN seems to me to be an almost-there solution that was written for C programmers who each reside in their bunkers with nothing else to do but write code in vi or some other text editor.
I'd recommend VSS2005 at a minimum, perhaps while implementing and learning TFS to replace it.
|
|
|
|
|
Hi,
TFS comes with VS2010 when you buy an MSDN subscription (from Professional with MSDN upwards), which is a really good way of getting your hands on all this stuff... Look at the volume licensing though - far better value than retail!
Have a look at the charts here to see what you get: http://msdn.microsoft.com/en-gb/subscriptions/subscriptionschart.aspx[^]
Cheers,
Rob.
|
|
|
|
|
TFS also provides change control management with project templates supporting Agile development, and quite recently Scrum specifically. TFS requires SQL Server and to get the maximum benefit from TFS, especially to support change control, will require Analysis Services and Reporting Services, and if available, Sharepoint. TFS goes a long way to fully supporting ALM.
We have recently moved our source control from Subversion to TFS, and as well as moving change control to TFS with our upgrade of our MSDN subscription to VS 2010. We were pleasantly surprised at the capability of TFS.
|
|
|
|
|
|
Hi all,
How would I find out if a resource is localized for a given culture?
E.g.: For ResourceManager.GetString(String, CultureInfo) "if the resource is not localized for this culture, the lookup will fall back using the current thread's Parent property, stopping after looking in the neutral culture." (From MSDN)
But I don't want it to fall-back or look in neutral cultures, is there a way I could get a value returned if the resource is simply not localized?
|
|
|
|
|
What would you expect to be returned if the value hasn't been localized? I'm confused as to your requirements here.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
null or an empty string, perhaps? I need to know that resource is not localized. I don't want to get an alternative from another language returned.
|
|
|
|
|
Well, when you test it, don't have a fallback resource available. That should do it - basically, only have your localized version in place.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hmm.. true, that does seem like the only way.
Thanks Pete!
|
|
|
|
|
Hello all,
somebody knows how is possible to sign a message using the CMS Advanced Electronic Signatures (CADeS) instead of pkcs#7 with .net?
To sign in a pkcs#7 format we use the SignedCms and CmsSigner object. CADeS is a "member of the family" of CMS but we aren't able to find objects (or patterns) that allow to sign message with this
electronic signature format.
Thanks a lot for all the help.
Oscar
|
|
|
|
|
So, I decided that I would download Stylecop and see what sort of issues it took with my code. I found a couple of things surprising, one frustrating.
My frustration was that I'm not allowed to pad with spaces? For a long time now, I've enjoyed setting up Visual Studio to add spaces in empty parentheses, spaces in method calls etc. I've just found the code to be all the more readable. But, following Stylecop rules, I've got no extra room. I mean, this will please the people I work with, they don't like the spaces but I've come to like it.
<br />
if ( value < maximumValue )<br />
{<br />
}<br />
I've found to be more readable than;
<br />
if(value < maximumValue)<br />
{<br />
}<br />
My next surprise was that it was telling me to put my using statements inside my namespace. I've not seen this done before in code samples I've seen even from MS,and considering this tool comes out of Microsoft it took me by surprise. Can anybody explain this one to me?
I understand the idea of Stylecop and I'm willing to follow most. Is there a way of editing the rules?
|
|
|
|
|
I've never used it but a few comments on what you've found.
hammerstein05 wrote: pad with spaces
Screen space is a highly prized resource IMO. Extra spaces (horizontal especially as vertical can be conrtolled with collapsing sections/regions etc) drive me nuts when working on a laptop or smaller than ideal display.
hammerstein05 wrote: using statements inside my namespace
I never do this, but it makes sense as the usings only apply to objects inside that namespace.
DaveIf this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
|
|
|
|
|
DaveyM69 wrote: hammerstein05 wrote:
using statements inside my namespace
I never do this, but it makes sense as the usings only apply to objects inside that namespace.
I asked the StyleCop folks about this and that was their answer, to limit the using statements to apply only to the objects inside the namespace.
Their assumption is that you would only have one namespace per file, so I assume that there would also be a stylecop warning for multiple namespaces in a single file. Never tried it to validate this assumption though.
Mike Poz
|
|
|
|
|
Not questioning you, but the StyleCop folks: if they're assuming that you'll only have one namespace in a file, what does it matter if the usings are inside or outside the namespace?
|
|
|
|
|
Take a look at the document here[^]. In a nutshell:
There are subtle differences between placing using directives within a namespace element, rather than outside of the namespace, including:
1. Placing using-alias directives within the namespace eliminates compiler confusion between conflicting types.
2. When multiple namespaces are defined within a single file, placing using directives within the namespace elements scopes references and aliases.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
You can turn off some of Style Cops annoyances. Besides, you should be spending more time focusing on the logic and functionality of your code than the style. In fact, one of the first things I do in a contract that involves code reviews is insert an obvious error into my code for review. If this first comment about my code is style related I know that most people in the room are not playing for the right team. It is about code first.
|
|
|
|
|
You can selectively enable/disable most of the rules but there isn't a way to edit a rule. Putting using statements inside the namespace is recommended for the following reasons:
From http://www.thewayithink.co.uk/stylecop/sa1200.htm[^]
There are subtle differences between placing using directives within a namespace element, rather than outside of the namespace, including:
1. Placing using-alias directives within the namespace eliminates compiler confusion between conflicting types.
2. When multiple namespaces are defined within a single file, placing using directives within the namespace elements scopes references and aliases.
The spacing reccomendations are most likely due to screen space concerns. Anyway, the code you show would look like this to meet the StyleCop settings:
if (value < maximumValue)
{
}
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
hello
Need to Transfer big DataTable over WCF - any good WCF article on this subject you'd recommend (i.e. good ones you have read)
Thanks!
dev
|
|
|
|
|
Rethink your design.
The user is unlikely to want a whole lot of data all at once.
|
|
|
|
|
it's a financial app where user views huge (as much as tech possible) amount of data and client app is not permitted to contact db direct
you have a better suggestion or you actually knows how to wire data table down? Whether socket or WPF?
dev
|
|
|
|
|
I'm always amazed that people want to transfer DataTables over the wire. Remember that a DataTable is a structure that is specific to the .NET framework, so a whole lot of plumbing is required in none-MS applications to understand and work with them.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|