Click here to Skip to main content
15,891,812 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Who else does this? (Everyone, right?) Pin
Sander Rossel12-Sep-19 2:32
professionalSander Rossel12-Sep-19 2:32 
GeneralRe: Who else does this? (Everyone, right?) Pin
Dan Neely12-Sep-19 2:35
Dan Neely12-Sep-19 2:35 
GeneralRe: Who else does this? (Everyone, right?) Pin
musefan12-Sep-19 3:11
musefan12-Sep-19 3:11 
GeneralRe: Who else does this? (Everyone, right?) Pin
Sander Rossel12-Sep-19 3:12
professionalSander Rossel12-Sep-19 3:12 
GeneralRe: Who else does this? (Everyone, right?) Pin
Ron Anders12-Sep-19 3:14
Ron Anders12-Sep-19 3:14 
GeneralRe: Who else does this? (Everyone, right?) Pin
Sander Rossel12-Sep-19 3:14
professionalSander Rossel12-Sep-19 3:14 
GeneralRe: Who else does this? (Everyone, right?) Pin
musefan12-Sep-19 3:24
musefan12-Sep-19 3:24 
GeneralRe: Who else does this? (Everyone, right?) Pin
#realJSOP12-Sep-19 3:50
mve#realJSOP12-Sep-19 3:50 
I re-use a LOT of code. New projects simply get references to older assemblies.

My most often used are:

- "Common", which contains object extensions, connection string handling, attributes, and otherwise universally usable code
- "DAL", which contains database access code (that also references "Common"
- "WpfCommon", which contains controls, converters, a base class that supports INotifyPropertyChanged and IDataError, and my WPF wizard control stuff

As I go, I add things to those three, but since they've all been in my library for at least 10 years, they're pretty stable. Today, I added some extension methods for strings that allow me to perform ToUpper() and ToLower() on the specified part of a string, as well as a method that performs a Replace for all instances of a substring (like when you have an unknown number of consecutive spaces, and you want to reduce it to just a single space).

As far as starting a project from scratch, I have a MVC template I use that includes a lot of stuff I always do.As I add stuff to that list of things always done, I update the template. It includes all of the NuGet packages I use, and adjustments to the various files.

I created a "super" template for work that supports our app development techniques, and it starts you off with a complete running app with user reg/login, layout, and database support. The generated app includes documentation regarding how to code in the eco-system and where to find stuff. To make it app-specific, you only have to change one variable in Globals.asax.cs. The template already references the "Common" and the "DAL" assemblies, as well as app-specific BLL assemblies.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Who else does this? (Everyone, right?) Pin
CodeWraith12-Sep-19 3:50
CodeWraith12-Sep-19 3:50 
GeneralRe: Who else does this? (Everyone, right?) Pin
Fever90512-Sep-19 3:59
professionalFever90512-Sep-19 3:59 
GeneralRe: Who else does this? (Everyone, right?) Pin
raddevus12-Sep-19 4:11
mvaraddevus12-Sep-19 4:11 
GeneralRe: Who else does this? (Everyone, right?) Pin
Sander Rossel12-Sep-19 4:22
professionalSander Rossel12-Sep-19 4:22 
GeneralRe: Who else does this? (Everyone, right?) Pin
kmoorevs12-Sep-19 5:11
kmoorevs12-Sep-19 5:11 
GeneralRe: Who else does this? (Everyone, right?) Pin
Jörgen Andersson12-Sep-19 5:54
professionalJörgen Andersson12-Sep-19 5:54 
GeneralRe: Who else does this? (Everyone, right?) Pin
Gary Wheeler12-Sep-19 7:13
Gary Wheeler12-Sep-19 7:13 
GeneralMessage Closed Pin
12-Sep-19 1:59
SteakhouseLuke12-Sep-19 1:59 
GeneralRe: How often do you like to compile? Pin
Sander Rossel12-Sep-19 2:06
professionalSander Rossel12-Sep-19 2:06 
GeneralCool discovery (MSDN archive) Pin
Nelek12-Sep-19 0:32
protectorNelek12-Sep-19 0:32 
GeneralRe: Cool discovery Pin
Sander Rossel12-Sep-19 2:17
professionalSander Rossel12-Sep-19 2:17 
GeneralRe: Cool discovery Pin
Nelek12-Sep-19 3:34
protectorNelek12-Sep-19 3:34 
GeneralRe: Cool discovery Pin
kmoorevs12-Sep-19 5:32
kmoorevs12-Sep-19 5:32 
GeneralRe: Cool discovery Pin
Nelek12-Sep-19 9:30
protectorNelek12-Sep-19 9:30 
GeneralRe: Cool discovery Pin
dandy7212-Sep-19 7:11
dandy7212-Sep-19 7:11 
GeneralRe: Cool discovery Pin
Nelek12-Sep-19 9:43
protectorNelek12-Sep-19 9:43 
GeneralRe: Cool discovery Pin
dandy7212-Sep-19 11:11
dandy7212-Sep-19 11:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.