Originally posted by MyUserName
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: C# architecture
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "C# architecture"
Collapse
-
Originally posted by eek View PostWhen discussing how things will play out long term remind them that for sanity purposes alone they need to keep upto date with the latest core version for rapid security fixes if nothing else.
Leave a comment:
-
Originally posted by MyUserName View Post
This is true. The strategy is to extract the core code into a separate submodule so the application can link to whichever version of the core code they want to use. This core stuff has been refactored so it is all under a sub-directory ready to be moved. Once this has been done and everything is settled, the rest of the code base will be split out until everything is separated.
When discussing how things will play out long term remind them that for sanity purposes alone they need to keep upto date with the latest core version for rapid security fixes if nothing else.
Leave a comment:
-
Originally posted by eek View Post
The more I think about it the more I think you may be going about this the wrong way. You don't have a project with a number of submodules, you really have a number of separate projects all of which require a submodule containing the core code base.
Leave a comment:
-
Originally posted by MyUserName View Post
I agree that normally this would be the best approach but we have to split the repos out as we are beginning to release multiple products on different schedules so having them all in one along with the core code is causing bigger issues.
The more I think about it the more I think you may be going about this the wrong way. You don't have a project with a number of submodules, you really have a number of separate projects all of which require a submodule containing the core code base.Last edited by eek; 6 July 2021, 09:48.
Leave a comment:
-
Originally posted by BlueSharp View PostIf you look to use a micro service architecture (especially if this is cloud/web based app) it may remove the need for tightly coupling the code base (you still need a deployment to fix a nuget package bug) and allow deployment of individual components as required.
Leave a comment:
-
Originally posted by d000hg View PostI'm tempted to say "you need to sort out the architectural issues in the code before you look at sub-modules Vs Nuget". Splitting what sounds like a single code-base (or tightly coupled mess of code-bases) can be done in one repo.
Leave a comment:
-
I would look to use Nuget if the code is shared across multiple repo's, the ability to pull in or lock to a a specific version is a great feature.
One thing that sprang to mind is when dealing with a monolithic code base that is being split into smaller repo's. Is the use of Sub Modules/Nuget the right choice? As your might really be trying to decouple in name and could be adding a an extra layer of complexity that is not justified.
If you look to use a micro service architecture (especially if this is cloud/web based app) it may remove the need for tightly coupling the code base (you still need a deployment to fix a nuget package bug) and allow deployment of individual components as required.
You could look to use a plugin architecture where the main program uses reflection to load the plugins from the sub project at run time. https://codeburst.io/dependency-inje...e-e579097c2f02Last edited by BlueSharp; 6 July 2021, 09:21.
Leave a comment:
-
Originally posted by MyUserName View PostWhere I work we have one large repo which I am trying to split into smaller repos that are linked together.
, the code from the submodules needs to be built with the code from the main repo (it is all very heavily coupled).
Leave a comment:
-
I'm tempted to say "you need to sort out the architectural issues in the code before you look at sub-modules Vs Nuget". Splitting what sounds like a single code-base (or tightly coupled mess of code-bases) can be done in one repo.
Leave a comment:
-
How to get nuget to use source files rather than binaries
Source Code Only NuGet Packages. NuGet Packages are the way how people… | by Attila Hajdrik | Medium
Leave a comment:
-
Not yet, I was trying git submodules.
My concern was that Nuget seemed to be a way of bringing in libraries after they were built.
I need to bring in the relevant version of code so it can all build together, be debugged together etc.
Can Nuget do this? Information seems conflicting over it but most seems to imply not.
Leave a comment:
-
Nuget is the way. I am not sure what your concern is, have you even tried this?
Leave a comment:
-
C# architecture
Where I work we have one large repo which I am trying to split into smaller repos that are linked together.
I was thinking of linking them using git submodules but that seems to cause other issues.
Someone suggested using Nuget but I am not sure that will quite work as, at least for the time being, the code from the submodules needs to be built with the code from the main repo (it is all very heavily coupled). Am I a misunderstanding? Is this a use case for Nuget?
Are there better technologies to use than git submodules for this?
Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Leave a comment: