I have a need for Multidimensional cube to fetch data from some C# APIs instead of a database.
So I have 2 questions:
How to create such APIs. For this, what type of project i need to create in visual studio 2010? And what all APIs do I need to provide.
How to create such datasource connection (in Connection Manager) in Visual Studio?
seems you are looking for SOA, and one of my bookmarked writeup: http://forums.trossenrobotics.com/tutorials/introduction-129/soa-using-c-and-wcf-2307/
Related
I am planning to create a windows forms application with standalone database.
When i tried to add a new database item in Visual Studio i can see a Dataset and Service-based Database. Could you please let me know which one should i use or is there any other db i can use.
You can use sqlite.net:
https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
It is pretty straight forward to use. You need to add the appropriate DLLs to your project.
How to embed a database to a WPF application?
scenario: this is our school project and we are required to create a
system with a database. now, i have done the fundamentals (create a
database, creating a layout and the c# code for programability) but
now, when we are to transfer the build onto a different computer, the
database seems to be lost.
I'm using Visual Studio 2015 with SQL Server for its database and that database is placed within the localdb of my computer. what i want is a portable system so that we can present the system anywhere without the hassle of bringing my desktop to school.
thanks in advance <3
EDIT: there are a ton of ways to connect a database to a wpf
application and i dont know what to choose. theres the ling-to-sql,
entity framework, data source etc. which of these methods will be the
best way for a portable application with the database in it.
my WPF app uses SQL Compact + Entity Framework (code first) + migrations, yo can find sources here https://github.com/tym32167/arma3beclient
All database-related things placed in this project https://github.com/tym32167/arma3beclient/tree/master/src/Arma3BE.Client.Libs
Data context here https://github.com/tym32167/arma3beclient/blob/master/src/Arma3BE.Client.Libs/Context/Arma3BEClientContext.cs
Migrations here https://github.com/tym32167/arma3beclient/tree/master/src/Arma3BE.Client.Libs/Migrations
I'm trying to develop a data source alike (visual studio). I have the interface all done already(easy part), but the trickies parts of this projects are:
1 - I need to populate the data source according to what the user has installed on his(her) computer, meaning that, if he doens't have Oracle, the tab won't show. -> That's the part I'm having difficult.
The binding part, I have a sketch, using ifs (or switchs) using the text in the data source field.
I'm using DevX in the interface !
Any ideas ?
Thanks
As there is no .NET API to get the list so you have to work with Windows registry to find the list.
Here is good tutorial on finding datasource name.......
I am developing an application in SQL Server using C#.
My database version is SQL Server 2005 Express edition, and .Net framework 2.0.
I want to make an updatable application.
e.g. whenever I do some changes in my application, then it should be available to update in all locations (like update in Mozilla Firefox).
But I also want that if I change some columns/stored procedures of the database, then those changes should be also updatable.
Please guide me how can I make that kind of setup.
Do you have any server or network share where you can distribute your application from?
If so, then you should take a look at ClickOnce which is available in any version of visual studio. it will automatically update the client each time you publish a new version. http://msdn.microsoft.com/en-us/library/t71a733d%28v=vs.80%29.aspx
As for the SQL updates, I'm not sure what you're asking for? if you use one database for many clients, then the only thing you will have to update is the client code which works with the database. in which case you will do the same thing as with any client update.
If you're having multiple instances of the database, you'll have to update each of them manually. You'll really want to keep track of each change you've made or use a comparsion tool for that. I'm using Red Gate SQL Compare, but I assume that there are also free tools.
First you need to decide on a setup tool which will create an EXE or MSI installer for your application. Perhaps this list will help: http://en.wikipedia.org/wiki/List_of_installation_software
After that, you can integrate an updater application into that installer. Here is a post with more details: What is the best way to auto update a windows application?
An installer takes care of the distribution and the updater takes care of your application updates.
I have the database mysql.
I need to access it via a desktop application with the ability to change does not have value.
in asp.net is there, this dynamic data filter, I need the same thing but in WPF.
Visual Studio has lots of easy tools to help you integrate your SQL Server into the application from using things like the DataGridView to the DataRepeater take a look at this article http://www.codeproject.com/KB/WPF/wpfviews.aspx it should help you get started. Using LINQ to assist in speed application development.
Another Great link: http://dotnetslackers.com/articles/wpf/WPFDataBindingWithLINQ.aspx