Originally posted by pjclarke
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: Embedded Database for Windows Forms App
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 "Embedded Database for Windows Forms App"
Collapse
-
Originally posted by DimPrawn View PostI'd just install MS SQL Express on a server and use that. Works really well and doesn't have any connection limit. 10GB per database which is plenty.
I've done a POC with SQLite and, once I figured out which package to get, I was impressed with its simplicity of installation, good integration with Vis Studio and its speed. Seems the way to go.
I think its going to stay single-user for now. If there's a demand for multi-user, it will become web-based and those asking can pay for me to learn web development
Leave a comment:
-
Originally posted by pjclarke View PostThey had me up to 'Pricing'.
Seriously, though, first three users free is a model I can work with. Thanks.
Leave a comment:
-
Originally posted by DimPrawn View PostIf you would like to use SQLite, but require multi-user, networked access to the data, one solution is:
cubeSQL » high performance DBMS based on sqlite database
Seriously, though, first three users free is a model I can work with. Thanks.
Leave a comment:
-
Originally posted by DimPrawn View PostIf you are using mutiple winform front ends (ie. multiuser on multiple machines) it isn't an embedded DB solution any longer, it's client server - You need a database server.
MS SQL (ie. Express), MySQL, Firebird, PostgreSQL etc.
Embedded file based DB drivers never work reliably across a network. You always end up with corruption and or locking issues. Trust me, had that pain.
Leave a comment:
-
If you would like to use SQLite, but require multi-user, networked access to the data, one solution is:
cubeSQL » high performance DBMS based on sqlite database
Leave a comment:
-
Originally posted by pjclarke View PostThere are things you can do, - splitting the front and back end, avoiding memo fields etc, that can reduce the likelihood, but even MS admit that corruption can occur in a networked environment. That's why they include a repair tool.
Moot, tho, cos I've ruled it out.
MS SQL (ie. Express), MySQL, Firebird, PostgreSQL etc.
Embedded file based DB drivers never work reliably across a network. You always end up with corruption and or locking issues. Trust me, had that pain.
Leave a comment:
-
Originally posted by EternalOptimist View PostSQLite obv
but if you using access and corrupting it, you are incompetent
Moot, tho, cos I've ruled it out.
Leave a comment:
-
SQLite obv
but if you using access and corrupting it, you are incompetent
Leave a comment:
-
Originally posted by MicrosoftBob View Post.Net CMS like Umbraco still use Windows CE heavily so it may not have a long future but it is still being used, and good enough for clients too tight to pay out for a proper license
I've not encountered issues using Visual Studio but most of my back end code is just ADO.Net hand written code, maybe all the gui stuff is starting to hate it ?
Everything SQL Server Compact: Comparison of SQL Server Compact, SQLite, SQL Server Express and LocalDB
Yes, the dataset designer in the latest VS is not compatible with CE and VS does not seem to recognise CE data connections when I open a 'legacy' project in the latest community edition VS. Not good omens.
Leave a comment:
-
.Net CMS like Umbraco still use Windows CE heavily so it may not have a long future but it is still being used, and good enough for clients too tight to pay out for a proper license
I've not encountered issues using Visual Studio but most of my back end code is just ADO.Net hand written code, maybe all the gui stuff is starting to hate it ?
Leave a comment:
-
The more I read around the topic, the more I like SQLite. MS want to push people onto SQL Server but have deprecated the Compact Edition, so I think if I wanted an MS multi-user solution would mean SQL Server Express which just feels like overkill for this app.
The Jet db seems to have been deprecated at v4, which is 32-bit only, which puzzled me as Access seems to be going strong as part of Office. However it seems the core RDBMS has been frozen and MS are just maintaining the driver (ACE) which enables 64 bit systems to access the db engine. Not sure I want to tie myself to a deprecated tech.
Leave a comment:
-
Originally posted by pjclarke View PostSo nobody has experience of using Jet for this kinda thing? It used to be the default database for .net not so long ago ISTR.
Leave a comment:
-
PS. If you want multi-user a browser front end with ASP.NET is a much better solution. You can use SQLite like I did on the webserver in that case no problem.
PPS. If you want to stick with a WinForms GUI and multi-user access, you should move to a client-server database. For small amounts of data just use SQL Server Express as the DB server.
The target market is mainly very small orgs with maybe 1/2 PCs in an office plus users who may want to use the app on a laptop. Little or no tech support. My skillset does not include webserver in any depth, so I'm sticking with what I know for now.
Thanks for all the answers, food for thought. So nobody has experience of using Jet for this kinda thing? It used to be the default database for .net not so long ago ISTR.
Leave a comment:
-
Originally posted by Boo View PostIf the db is entirely kept on the user workstation then SQLite is an obvious candidate. It compiles into your application as a bunch of C files (actually there is a single-file version too) so you may need to do some cross-language development if you are using another language for your application.
Boo
Leave a comment:
- 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: