Stories recently tagged with 'Snippet'

System.Diagnostics.Process and xcopy… why it doesn’t work?(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 2 years, 10 months ago

We spent 30 minutes on a spiny issue. We execute some commands directly from a C# program but we want to make sure that everything executed. We did unit test on some code and everything seemed to work. Today, we tried it live with some real case scenario where we execute some XCOPY. And then…. nothing. read more...

add a comment |category: |Views: 10

tags: another

Remove WWW. Prefix from URLs with URL Rewrite Module for IIS 7.0(nayyeri.net)

submitted by sharplifesharplife(4560) 3 years ago

A very good trick to eliminate www. prefix from your URLs using the new IIS 7.0 Rewrite Module. read more...

add a comment |category: |Views: 296

tags: another

Code Snippet: Filtering a list using Lambda without a loop(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 3 years ago

Quick code snippet to remove some loops inside your code and increase visibility inside your methods. read more...

add a comment |category: |Views: 15

tags: another

Snippet Designer 1.1 Released(blogs.msdn.com)

submitted by jemtsjemts(591) 3 years, 1 month ago

I just released Snippet Designer 1.1. This is not a major release but just some bug fixes and often requested changes to make the snippet designer more useful. Some of the most notable changes are: -Fixed some major bugs. -Many aspects of the plug in are now configurable through the options menu under Snippet Designer. -Several bug fixes to how the highlighting of replacements works and performance improvements with it also. read more...

add a comment |category: |Views: 11

tags: another

Snipt - Long-term memory for coders(snipt.net)

submitted by sharplifesharplife(4560) 3 years, 1 month ago

Snipt is a collection of frequently used commands or code snippets. You can browse though all snippets, find them by tags or login with your OpenID and add your own snippets. read more...

add a comment |category: |Views: 16

tags: another

Snippet Designer plugin for Visual Studio(codeplex.com)

submitted by JemmJemm(9604) 3 years, 2 months ago

"The Snippet Designer is a plugin which enhances the Visual Studio IDE to allow a richer and more productive code snippet experience. " With it you can export selected code as code snippets. read more...

add a comment |category: |Views: 16

tags: another

Showcase of C# VS2008 Snippets(mindstudies.psy.soton.ac.uk)

submitted by dmitridmitri(408) 3 years, 6 months ago

Why write snippets when you can generate them using C#? The advantage seems obvious: greater adaptability and a functionality similar to parameter passing - but with snippets. This project is precisely this - an attempt to have snippets with arity, permitting developers to, e.g., quickly generate fully-specified data structures of the size they choose, or to make plumbing code for executing precisely N processes in parallel. The possibilities are endless! read more...

add a comment |category: |Views: 99

tags: another

C# singleton snippet(sharpregion.com)

submitted by yoavsionyoavsion(345) 3 years, 9 months ago

I've decided to stop the copy-paste madness. Not that I use singletons so very often, but still - It never changes, so lets use a snippet. read more...

add a comment |category: |Views: 96

tags: another

C# singleton snippet(sharpregion.com)

submitted by yoavsionyoavsion(345) 3 years, 9 months ago

I've decided to stop the copy-paste madness. Not that I use singletons so very often, but still - It never changes, so lets use a snippet. read more...

add a comment |category: |Views: 96

tags: another

Restoring VS2005's 'prop' snippet in VS2008(john-sheehan.com)

submitted by rimsystemsrimsystems(6119) 3 years, 11 months ago

Automatic properties are nice, but sometimes they just won't do. Visual C# 2005 included a 'prop' code snippet for a full property with backing filed but 2008 changed the snippet to generate an automatic property. Here's how to restore the 2005 snippet. read more...

2 comments |category: |Views: 51

tags: another

Singleton C# code snippet(sharpregion.com)

submitted by AdrianAisembergAdrianAisemberg(1993) 4 years ago

A complete documented and attributed singleton C# code snippet. Highly recommended. 5 key-strokes for a singleton. read more...

add a comment |category: |Views: 171

tags: another

How to get the Folder Size in VB.NET(blogs.msdn.com)

submitted by itzrahulsoniitzrahulsoni(745) 4 years, 10 months ago

An application with code to find out how to get the Folder Size in VB.NET. read more...

add a comment |category: |Views: 362

tags: another

GotCodeSnippets.NET: THE online source for Visual Studio code snippets(gotcodesnippets.net)

submitted by jasper22jasper22(1320) 4 years, 11 months ago

GotCodeSnippets.NET was formulated by Microsoft Regional Director and Microsoft Most Valuable Professional (MVP), J. Michael Palermo IV, after having worked on several projects with Microsoft Visual Studio 2005 Beta 2 and leveraging every piece of productivity enhancement he could with the tool. Code snippets ended up being the most time saving mechanism for code generation and consistency across development teams. From simple stylistic snippets, to fully implemented design pattern snippets, they have proved to be most valuable. Michael also presented a highly-acclaimed Grok Talk at the TechEd 2005 conference which can be viewed online. read more...

add a comment |category: |Views: 41

tags: another

Convert any possible type to T in .Net 2005 (gaaton.blogspot.com)

submitted by HaGeverHaGever(915) 5 years, 2 months ago

Convert any possible type to T in .Net 2005 read more...

add a comment |category: |Views: 4

tags: another