I heard that Mango will have a local database available. I'm a bit of a novice regarding this whole thing
Is it possible to use Silverlight data binding to connect to a database and automatically receive updates etc or is it something that takes a bit more work? Perhaps it is necessary to add helper functions that return lists from the database and you bind to those internal lists instead of directly to the database?
There is a msdn tutorial on how to build a MVVM application using a local database for windows phone 7 mango.
You may also take a look at MVVM Light Toolkit.
Related
I've looked through several questions but can't seem to find the exact answer I'm looking for. Perhaps I haven't done my search questions the right way! :)
I've set up a SQLite DB3 database for a Xamarin Forms test mobile app I'm developing. It works very well in a Xamarin Forms project.
I'd like to be able to access the same database through a Windows console app to do the "heavy lifting" of setting up the database for deployment - the mobile app is using it primarily as read only.
Is there any way to use SQLite.Net as a .NET console ORM? The implementation of things like SQLiteConnectionAsync appear to be mobile (PCL) based only. To set up the initial database, I did it through cumbersome SQL text commands. I would love to use the ORM to make adjustments and take advantage of things like LINQ extensions without the need to write a lot of SQL string code.
Have I missed something completely obvious? Thank you very much for your replies! :)
I'd recommend using Entity Framework as your ORM. SQLite is supported by Entity Framework Core: https://learn.microsoft.com/en-us/ef/core/providers/
This article might help:
https://elanderson.net/2017/04/entity-framework-core-with-sqlite/
I can't find much documentation on this and I haven't worked with Forms before. As I understand it, Forms 10 doesn't support ActiveX controls any longer.
Does that mean the controls won't work at all in WebForms or that Oracle just doesn't handle bugs on this issue any longer? Has anyone tried using ActiveX controls in Forms 10 and succeded? Can the controls be somehow wrapped in Java and work?
If it helps, I'm seeking to build an ActiveX control to communicate with hardware devices such as scanner and a photo camera, take pictures, process the images and then return them to a WebForms running server.
You are right using Active X and Oracle Forms when deployed on the web is not supported by Oracle.
Oracle recommend the use of Pluggable Java Components instead. The following paragraph is taken from here
I currently have a client-server application that uses an embedded
ActiveX control to communicate with an external device. How can I
maintain this functionality when I deploy the application on the Web?
Assuming that the device in question (for example, a Scanner) is
attached to each client machine, rather than the server, you will use
a Pluggable Java Component (PJC) to extend the capabilities of the
Forms Java Client and allow it to talk to the hardware in question.
JDeveloper 3.2 provides a Wizard to help you build such pluggable Java
Components.
Whether your Active X control will work or not, unfortunately the answer is that it might or it might not. If not you are on your own.
I agree that documentation is hard to find. The best place to start is the Forms Page on OTN Followed by the Forms 10g technical listings and the even older 9i and earlier docs.
I'm would like some advice on the best data persistence solution to use for an application that will run on the desktop (WPF) and on Windows Phone 7, sharing data between both applications. Ideally I would like to use the Entity Framework. I have considered the following technologies:
Sync Framework 4.0 - only CTP at the moment but has the big advantage of offline use. However it is an immature framework that does not allow me to use Entity Framework and seems not to be very mainstream, requiring a fair bit of a learning curve to get working.
WCF Data Service - has the advantage of allowing me to use Entity Framework. However there seems like a bit of a lag when retrieving data and off-line use is a problem.
SQL CE with syncing to centrally hosted database using Sync Framework 2.1 - will work for my WPF application but not sure about the phone.
There are so many technologies available it is difficult to "see the forest for the trees". I'd like to stay fairly mainstream if possible just to make it easier with getting help and finding code samples etc. I'm open to any suggestions or guidance.
Unfortunately, SQL CE is not currenlty supported on the phone so you'll need to use one of the other available databases there.
Although it's only in a CTP format I'd recommend giving Sync Framework a look. It your synchronization requirements are anything but trivial you should really avoid reinventing the wheel by writing the synchronisation service yourself.
Even if you did use the Sync Framework, I don't understand why that would stop you using Entity Framework on the desktop.
AFAIK there are currently no ORMs for the WP7 so you'll have to create your own DAL there.
I need to find a stand-alone (ie. no OpenOffice-based tools, for instance) Windows application that can present users with forms to enter records into an SQLite database. The goal is to migrate data from Excel sheets into a serverless, single-user database like SQLite.
As a bonus, the application would also have a somewhat-protected admin section so that I can also use it to CRUD data with the same app, but it's not a requirement.
There are a lot of applications listed on the official SQLite site: Can someone recommend one that is meant for end-users, either open- or closed-source?
Thank you.
Edit: the correct term I was looking for is "data entry form". Googling around didn't return a Windows application that makes it possible to easily write data entry forms to let end-users create/edit records, ie. with no direct access to the underlying tables.
I think FileMaker or Microsoft Infopath (May be with Sharepoint Services) could fulfill your needs completely. There are forms in both, validation, different available sources for keeping data, working over net. Both are very flexible and powerful. Infopath with Sharepoint Services can be installed and customized quite quickly.
I'm a junior VB.net developer with little application design knowledge. I've been reading a lot of material online regarding different design patterns, frameworks, and methodologies. It's become a bit confusing for me.
Right now I'm trying to decide on what language would be best suited to convert an existing VB6 application (with SQL server backend.) I need to update the UI and add more user functionality and reporting capabilities. Initially I was thinking of using WPF and attempting the MVVM model for this big project. Reports would be generated from SSRS.
A peer suggested using ASP.net and I don't have enough experience to determine what would be better. The senior programmers here are stuck on using VB6 and don't have any input on what to use. They are encouraging me to use the latest technologies.
This application would be for ~20 users in a central location. Ideally I would stick to a Microsoft .net language. Current interface is similar to a datagrid table where the user would click in to see the detail of each record. They would need to have multiple records open at any given time.
I look forward to all the advice I can get.
EDIT 2010/04/22 2:47 PM EST
What is your audience? Internal clients within an intranet
How complex are the interactions you expect to implement? not very... displaying data from SQL server to UI. Allow user updates to said data. Typically just one user modifying a record.
Do you require near real-time data updates? no
How often do you expect to update the application after the first release? twice/year
Do you expect a well-defined set of client platforms? Yes, windows xp environment, potentially upgrading to Win7. Currently in IE.6 moving to IE7 or 8 within a couple of months.
Do users need access from anywhere? No, just from their PC.
What would be wrong about building a simple ASP.Net application in VB.Net using Gridviews for allowing the data access and manipulation? Seems like a simple ADO.Net trial application if you aren't familiar with it in the beginning you will be by the end. CRUD applications are pretty common so it shouldn't be too hard to build it and then refine it as more requirements become apparent.
Sounds like you need to use a web-based solution--this eliminates alot of your potential distribution woes with multiple users. You could use silverlight, but if you are locked into SSRS, this might not be the way to go.