I just watched a session of PDC09 about new features of Entity framework in .NET 4.
Video page: http://microsoftpdc.com/Sessions/FT10
in the video, (seek to minute 7) presenter used a database visualzation tool to open table and view data.
Does anyone know what's the name of it and where I can download?
It looks like Microsoft Quadrant. I believe he says it in the video as well.
Related
I've a LoB Silverlight 5 app running on Windows Azure. I developed that app with EF4 and RIA Services. I decided to update the model to EF5 with the latest RIA Services keeping it on .NET 4.
Short story:
after I've updated to EF5 and RIA Services 4.2, the app works locally in the emulator but it crashes on Azure.
Long Story:
App is divided in 4 projects: client, server (contains DbContext), model (contains edmx file), helpers.
When I decided to update, I started with the model project: deleted old references, deleted edmx, added new references (nuget), generated new edmx. It build correctly.
Then the server project: deleted old references, added new references (nuget), changed Domain Service files with DbContext and edited so it works with EF5. It build and the app worked locally (no azure emulator).
When I tested on the Azure emulator the response was a 501. I found somewhere (I post the link when I'll find it again) the solution is to add an app.config file containing the same runtime/assemblyBinding/dependentAssembly/assemblyIdentity section is in the web.config file that references Entity Framework.
Then I uploaded on a staging environment on Azure and the process WaBootstrapper keep cycling trying to install the server code while WaIISHost keep crashing.
Things I tried:
change name to app.config to the server assembly dll eg: AppName.Web.dll.config
delete System.Data.Entity (do not build at all.. that dll is needed);
migrate to .NET 4.5 to get rid of System.Data.Entity;
checking all references in every project and "Copy local" option;
migrate to Entity Framework 6 (RC1).. just trying.. I can't be blamed for it;
(other stuff I don't remember).
None of the list above have changed the results. I spent more that a week on this and now I think I lost focus.. so I'm asking for your help. You, guys, have saved me more than one time. I can't even try to remember how was before internet and StackOverflow.
Thanks.. any help is welcome!
P.S. Edited by the author I forgot to mention I also updated Windows Azure SDK from 1.7 to 2.1.
If you are using spatial data types, they are defined Microsoft.SqlServer.Types. I've read a tweet (from whom I can't remember - sorry) that they had to switch to "copy local" for this type as the Azure image does not contain this file.
I did found this article on code project that highlights this issue in the Background section. Using Spatial Data with SQL Server 2012, Entity Framework 5 and ASP.NET MVC
HTH,
Richard
Installed Visual Studio 2013, opened project, I was asked if I want to update to Windows Azure SDK 2.2: YES. Build. Published. Works.
I really don't know what happend. Anyway my project went beyond that point so I have to migrate to EF 5 and new Ria Services again. If I found out something else I'll edit this answer.
Simply put: I have a database design in my head and I now want to use Visual Studio 2010 to create a WPF application. Key is to use the VS2010 tools to take much as possible manual work out of my hands.
The database engine is SQLite
ORM probably through DBLINQ
Use of LINQ
The application can create new, empty database instances
Easily maintainable (changes in data model possible)
Questions
How do I start designing the database model (visually) in Visual Studio 2010? Should this be an xsd? Do I do this in a separate project?
Next, how can I make the most use of VS2010 code generation tools to generate a Data Access Layer?
I suppose the Data Access Layer will be added as a Data Source (in another project?) and from there it's a rather generic data binding solution?
I tried finding clear examples of this but it's a jungle out there, the hunt for a solution is NOT converging to one clear method.
Update
So I decided to use ADO.NET entity framework, DBLINQ is out of the picture. I downloaded and installed the System.Data.SQLite ADO.NET provider which integrates with VS2010. From the VS2010 Server Explorer one can create and design a new database but it could be done with a standalone tool for SQLite as well. I then created a new WPF application project, and in the solution explorer added an ADO.NET Entity Data Model, which automatically generates an edmx with C# code (which is the Data Access Layer) from the already created database file. WAF (waf.codeplex.com) seems like a good idea to implement the rest but plain LINQ to SQL will do. This (click here) is also a very helpful question on stackoverflow.
Kay,
Please consider using ADO .NET Framework. It's supported by VS 2010 and LINQ (quick article).
There is one thing you must know before designing your architecture. BLL (Business Logic Layer) is a layer of logic specific for a particular data usage, hence cannot be generated automatically by (whatever you will use) framework. I guess you had Data Access Layer in mind - don't worry about that - if you're going to use ADO .NET and LINQ to Entities, DAL will be generated for you automatically. LINQ to Entities together with ADO .NET Framework are powerful set of tools which should 100% cover your needs. Additional info about LINQ to Entities.
Please feel free to ask if you have any questions.
I'm about to write an application in either Adobe Air or Silverlight, to run standalone, offline, on the desktop. It's a simple enough application that allows the user to enter text data and will then print formatted documents based on that information. The obvious place to store all this relational data is in a database. I believe Air comes with SQLite out of the box, so no problems there, but from what I can tell Silverlight doesn't. How does Silverlight handle installing an out of browser application that needs to access a local database? Does the user have to install SQL/SQLite first and then Silverlight, or is there some way that Silverlight can deploy that side of things itself?
Thanks
I don't know much about Air, But Silverlight has IsolatedStorage for saving data on client-end and it has its own constrains. But if you want to have an application that can access local database why don't you try WPF(XBAP)?
This link can be helpful regarding SQLLite and Silverlight using IsolatedStorage.
http://forums.silverlight.net/forums/p/118411/267135.aspx
Regards.
I'm fairly certain silverlight isn't intended for... whatever it is you're trying to do.
In my project i have used WPF and am following MVVM pattern. So i have a report module in my project and the reports are just plain reports. So i would like to know should i use SQL Reporting Service 2005 to create reports and then use report viewer as client or should i go for WPf Fixed Document Control- Document viewer.
Can anyone please tell me which of these will be easier to integrate with my project.
Please reply
Thanks
Sharath
WPF Document (Fixed or Flow)
Pros:
Easier to integrate. All is included in regular WPF
Native
More control on the output
Cons:
Must program a lot for a multi-page report
Must program a lot for headers, footes, groups, etc.
SQL Reporting Services
Pros:
Mature tools
Interoperable with other solutions (IE asp.net)
Groups, totals, page headers, graphics built in
Cons:
Not native, must use a embedded windows form control
Must deploy the reporting service runtime separately (not good for click-once apps)
Hard to integrate to your business objects
Hi just about to get the dev team to start looking at the next version of a CRM type SOA based application and the thorny issue of Application Front End came up.
Currently the application is a composite application using
Web Forms (.net2)
Sharepoint 2003
InfoPath *
BizTalk
*Not FormsServer though - was before FormServer as we hack the ProgID in HTTP to launch a server based XSD for InfoPath and punch data into that on load.
We are looking at moving to MVC or MVVM model as we have web services and a database to interact with and we can see the move to that architecture to be a good one with 3.5 and Linq (although we have keyTables for managing one to many relationships that dont appear to work that well with LinqToSQL or EF... but i digress)
So we are at a point of looking at what would be good for the contact centre taking in these points
We must have a web server version for deployment (?) XBAP may diminsh this
Visulisation v Speed (WPF/SilverLight v WebForms and Grids)
So was wondering if anyone else faced this dilemma, hints tips and which would you choose based on your experience?
EDIT
Thanks for the links to Prism and the EP Site - already been looking at that - was hopeing for some real life expereinces...
xbap(can deploy on webserver) or wpf
patterns & practices: Composite WPF and Silverlight
Prism
Go for Xceed WPF Grid (xbap)