Silverlight 5, ria services with entity framework 6.0 alpha 3 - silverlight-5.0

I am trying to create a silverlight 5.0 application using ria services, with entityframework 6.0 alpha 3. This is a greenfield project that never used any other version of entityframework. Everything seems to compile fine, except for the silverlight data project that connects to the web project to generate proxies. I get the following error:
Error 2 Method not found: 'System.Data.Objects.ObjectContext System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()'
Is there an incompatibility or am I just doing something wrong?

RIA Services is now OpenSource with the name "Open RIA Services" (see on CodePlex).
Colin Blair, the project leader, has just announced the first version with EF6 support :
http://www.openriaservices.net/blog/post/The-Open-RIA-Services-Blog/1016/4-3-Alpha-NuGet-Packages-Released/
You can install the Nuget package : RIA Services for Entity Framework 6+.
If you want to install the Nuget package RIA Services for Entity Framework 6+, be sure to select the "include prerelease" item in the top combo Box.

The latest supported version for WCF RIA Services is Entity Framework 5. So i would not expect that this will work with EF 6.0.

Related

Migrate a BEA 8.1 Web Service project to Eclipse

I have a kind of a "giant" web service built with SOAP, EJB 2.1 and we use BEA WebLogic Platform 8.1 as IDE.
It is a critical web service, used by different countries and it access more than 15 data sources to generate a XML with some information.
We want to migrate the application to use a better IDE for development like Eclipse, and we also want to use a dependency managment tool like maven and add a dependency injection framework like Spring.
The project is divided in a main web service project and some other project with EJB 2.1 used to extract information of some data sources.
What would be the best way to migrate this project, without breaking the interface(wsdl) of the web service?
Any help or hint is welcome.

Can we run MVC4 application in Sitecore CMS 7.2 rev.140526 or does it require MVC5?

I have installed visual studio 2012(supporting MVC4 and .NET 4.5) and Sitecore CMS 7.2 rev.140526. I am able to run the Sitecore using admin user and launch the website too.
I was going through this tutorial on MVC integration with Sitecore which creates an MVC application in visual studio and then integrates in the Sitecore CMS site. When I followed the same steps I got error. The MVC version used in this tutorial is MVC3 and the Sitecore version is 7.1.
I have tried the same in my machine but got the error Could not load file or assembly 'System.Web.Mvc, Version=5.1.0.0. From the error I understand that it is looking for MVC5 but in machine I have only MVC4.
Is there any way to resolve this?
First of all, is Sitecore 7.2 is compiled in MVC4 or MVC5?
Here is the Sitecore compatibility table:
https://kb.sitecore.net/articles/087164
It clearly states that Sitecore 7.1 is compatible with MVC 4 but newer versions of Sitecore (7.2 and 7.5) do not support MVC 4 and they require ASP.NET MVC 5.1

How to detect whether the client machine has installed silverlight?

i am using silverlight 5 and hosted the SL5 application.
As we all have seen, when we come in the homepage of this website, we will see a message telling us to install silverlight if we haven't installed silverlight. How to detect if the client machine has not installed silverlight ?
if not installed i need to show a custom message and take the user into micorsoft site in order to download the silverlight instead of the install silverlight message.
i have verified the below URL and did the same thing..
http://www.xdevsoftware.com/blog/post/Si...ction.aspx
but i hosted my application and i did the same in the above url but it does not worked..
i got the default result only but not my customized information's if the client doesn't have silverlight.
i am using silverlight 5.
Regards
gopal.s
Please take a look at http://msdn.microsoft.com/en-us/library/cc838126(v=vs.95).aspx
The Silverlight.js file does all the magic. In fact you if you create a new silver light project in Visual Studio 2010 detection of Silverlight and automatic install is all handled for you.
Silverlight Install and Upgrade Experience has all the information on customizing the install experience

How can I create a .NET 4.0 web service project in Visual Studio 2010 Pro?

The Web Services template isn't in the .NET 4.0 projects list--only .NET 3.5, but my service needs to depend on a .NET 4.0 assembly with my model/database functions. That assembly depends on 4.0, because of the data provider required (dotConnect for MySQL)
The web service will need a reference to this business logic assembly so it can pass its arguments to said assembly and blindly return. But, can I run the web services project in a .NET 4.0 application pool without any problems with the data provider?
I have Visual Studio 2010 Professional, not Ultimate (which I've read has the template)--is there any way around this?
In 4.0 you have the WCF framework. Try this one.
See this related article: Asp.Net Web Service Application missing in Visual Studio 2010

Consuming a web service with the Netbeans Platform

I have an application that is written with the NetBeans Platform 5.5. I'm having trouble consuming a web service.
If I create a Java SE application in NetBeans, I can add a web service reference without problem.
Since my application is using the NetBeans Platform, many of the menu choices change. So, I cannot figure out how to add a reference to the web service. I've googled this topic a number of ways but haven't found any pages that deal with consuming a service through the platform. They all talk about consuming a service with a Java SE application.
Changing the application from the Platform architecture is not an option.
Here is a good tutorial for setting up a Feed Reader on NetBeans Platform. It covers some of the configuration issues for using web services
Blog with an entry about making a web services client
I'd be happy to try and give you a more specific answer if you can give information about the service you want to access.
Found this:
Create web service and client using this tutorial
Create library wrapper module for web service client (you don't need to include JAX-WS libs, only your client jar)
In your wrapper module add following dependencies (important):
JAX-WS 2.1 API
JAX-WS 2.1 and JAXB 2.1 Library (for this you have to check Show Non-API Modules in "Add Module Dependency" window)
If you try to build module after these steps it will fail telling you that your module is not friend of "path-to-netbeans"/java2/modules/org-netbeans-modules-websvc-jaxws21.jar.
Right click on JAX-WS 2.1 and JAXB 2.1 Library and choose Edit. Select Implementation Version.
from here.