Which version of liquid dll suits for silverlight 5 - silverlight-5.0

I am novice to Silverlight technology and started working with liquid menu item example. But couldn't make reference with liquid DLL with my Silverlight application. Please advice me how to do this and which version of liquid DLL best suits for Siverlight 5. Any help highly appreciated. Thanks in advance.

The Liquid libraries are developed for Silverlight 4 and should be more or less completely applicable to Silverlight 5.
You should be able to reference the most recent Liquid version, i.e. 5.3.3, for which both binaries and source code can be downloaded from the Vectorlight web site (registration required). If you want to use the menu functionality, reference the Liquid.Menu DLL in your application.

Related

Sitecore SPEAK Basics

I am pretty new to Sitecore SPEAK and i am looking for some of the basics to start with. Basics like even which version of Sitecore Supports SPEAK. I see that many places they mention that it is supported in 7.0 and few places say 7.1 version. I have a Sitecore 7.0 Version and when i open the Core database, i would like to know if i need to install any particular module as i dont see anything related to SPEAK.
This link is the sitecore's Official blog where they speak about it. But fail to mention the requirements.
Sitecore SPEAK Blog- Introduction
Any Help would be Greatly Appreciated
According to the release notes, the SPEAK UI framework was introduced in Sitecore 7.1. At least you need this version and the Sitecore Rocks Visual Studio plugin, as building SPEAK applications are not very handy to build within the Content Editor.
Here you find a summary of SPEAK documentations.
I would personally recommend to start with the blog post series from Martina Welander.
I recommend using the later versions of Sitecore 7.1 or preferably Sitecore 7.2. A lot of bugs have been fixed since the initial release of SPEAK.
I have two open source SPEAK applications, if you want to see examples of SPEAK applications are built.
https://github.com/sobek1985/SitecoreSPEAKBulkRolePermissions
https://github.com/sobek1985/SitecoreDataImporter
I have also created Visual Studio 2013 Templates for creating blank Visual Studio Projects for SPEAK.
https://github.com/sobek1985/SPEAKTemplatesForVisualStudio/releases

How can I reference a C++/CLI project in a silverlight application

I have a question about C++/CLI and Silverlight. I am currently working on a projet using the MVVM pattern where :
The business logic is written using C++ DLLs and a C++/CLI wrapper
I use a Silverlight application for the presentation part.
So I have to use my C++/CLI project in my Silverlight application, however, I can't because my project it's not a Silverlight project.
I've looked on the internet, where I found no suitable solution for my problem yet.
Therefore, I hope that you have a solution for this particular problem.
For the record, I work on Windows Seven using Visual Studio 2010, .NET 4.5 and Silverlight 5.
Thank you.
P.S: Sorry for my English, it's not my mothertongue.
The best solution I found is to create a wcf service which calls the c++ functions.
However, you must use a HostServiceFactory in order to make your web services able to find your dlls.
Thanks for your answers

Run software from USB device

I am developing a desktop based application using VC++.
I have stuck on one problem that the application should run through USB too.
I have searched for the answer I get to know that I can do it by changing installation path to USB device from this Link.
But my application needs some supporting platform like .Net Framework 4.0 Client Profile, and some redistributables for running application.
So, Can anyone tell me how can I make my application running through USB?
Thanks in advance.
regarding .Net Framework 4.0 Client Profile
As far as i know the .Net runtime can not be included in an Application.
The PC you want to execute your Application on needs to have the proper Runtime Version installed, it doesn't matter if its running from USB or not.
Here is a good article about the topic:
http://johnhaller.com/useful-stuff/dot-net-portable-apps
it basically concludes that you have to chose the .Net version depending on your target OS.
for Windows Vista and Windows 7 it would be .Net 2.0,
for Windows 8 it would be .Net 4.0
There might be a solution using Portable.Net or Mono but thats a bit above my developer skills :)
regarding redistributables
it really depends on what kind of redists you mean, if its the visual c++ redist you only need to include the right DLL, for other redists im not sure.
Btw Apps running from USB Sticks are usually called 'portable app', if you search for dotnet portable apps you can find quite some information.

Silverlight 5 and x64 Sidebar

I am developing a sidebar gadget for windows 7 using Silverlight in an enterprise company (70K+ employees).
All of our windows 7 client builds are x64, hence all the sidebar processes are running as x64.
Even though I know that there is an option switching to a 32 bit version,
I cannot allow this to myself – people will have to execute registry files, or a GPO will have to be applied, etc…
I have been desperately waiting for Silverlight 5th version since it’s supposed to have a 64 bit runtime.
Now, when sidebar starts the gadget, it says that I am missing Silverlight 5 runtime, suggesting to download it from here:
http://www.microsoft.com/getsilverlight/locale/en-us/html/coming-soon_5.0.0.html
There is a link on this page that leads me back to:
http://www.silverlight.net/getstarted/silverlight-5-beta/
Where I have already downloaded the beta tools and runtime for Silverlight 5!
So what’s the problem? What am I missing here? Is there a x64 bit support or no ?
Any thoughts will be appreciated.
By the way – if I switch to a 32 bit sidebar version on PC – all works fine…
UPDATE: Silverlight 5 RC version just released, with 64 bit support
http://10rem.net/blog/2011/09/01/silverlight-5-rc-now-available

Is it possible to program for Windows Phone 7 in standard C++ only?

I know that the recommended language for Windows Phone 7 development is C#.
However, for various reasons, I very much prefer continuing to program in standard C++, if possible.
Is it possible to program for Windows Phone 7 in standard C++ only?
If the answer is yes, what tools and resources do I need to accomplish that?
EDIT, finally: for WP7 it won't ever be, but for Windows Phone 8 - yes you can. Native apps, C/C++, iOS/Android portability and code sharing, DirectX. You'll need Visual Studio 2012 and Windows 8 for WP8 development, though. VS2010 is not getting the requisite SDK. To run the emulator, you'll need a 64-bit physical Windows 8 box with a SLAT-enabled CPU. You can still develop on a virtual machine, but you'd need a device to run apps, the emulator won't start.
The nongame UI, however, will still be XAML-based and managed. The entirety of Win32 API will not be supported. They're pushing a model with managed UI layer and a native middleware beneath it. Purely native development is still not an option; although one might try with WinMD classes as code-behind for XAML. The visual XAML designer will probably choke, and you'll need a dummy managed DLL anyway.
EDIT: even assembly, as long as it's targeting Thumb-2 and the mnemonics are UAL-style. For running on the simulator, you'd have to produce an alternative set of assembly files (or other sources) targeting Intel.
For the sake of posterity, here's the pre-06/20/2012 answer:
If you work for Microsoft or an OEM, then yes. Otherwise, no (for now).
There's hope though. Google did relent and issued their NDK after a while; Microsoft might, too. The native code capability is already there. Once they come up with a sensible sandboxing solution, why not.
Also, there's already some pressure from big-name software vendors to open up native development. Mozilla people stated outright that there will be no Firefox on WP7 unless it's native. Similar rumors about Flash.
EDIT: if you want a native SDK on WP7, like I do, please go sign the petition here and/or the one over there. Thank you!
EDIT2: see this. It's a leak and therefore not official, but still, I say there's some hope.
EDIT3: also this. Still not official, but this rumor moves the timeframe for native app support even closer - to the upcoming Tango release.
EDIT4: Microsoft seems to be pretty keen to promote WinRT, their new tablet-oriented XAML-based app platform, which allows for (among other things) unmanaged C++. Now, on every other major mobile OS the tablet and the phone app stacks are one and the same. Just sayin'.
EDIT5: there's been some proof-of-concept work along the lines of C++ => LLVM => MSIL and C++ => LLVM => C#, but nothing production-quality so far.
Phone manufacturers such as Samsung can deploy applications written in unmanaged code, but all other developers can not.
No that is not possible. Microsoft has made a decision to only allow application developers to use managed code on the Windows Phone 7 devices.
According to Wikipedia Windows Phone 7.0 runs Windows CE 6.0 R3/7.0 hybrid as operating system.
In theory one could use C++ to build standard* C++ programs targeting Windows CE 6.0 R3 and 7.0 (supposed to come out on Q1 2011). I mean all the standard* dlls should be there (gdi32.dll, user32.dll) Internet Explorer and other C++ programs are still running on Windows Phone 7.
The how to get the application on the phone? and how to run the application on the phone? are the next questions which at the moment I don't know how to answer.
This interview tells something about it: Writing the WP7 App Platform in C# and C++ I haven't watched it yet, so you might add respective comments :)
Windows Phone 7 supports Silverlight and XNA.
All programs for Windows Phone 7 are written in .NET managed code. It is also possible to write Windows Phone 7 applications in Visual Basic .NET.
Visual Studio 2010 Express for Windows Phone includes XNA Game Studio 4.0 and an on-screen phone emulator, and also integrates with Visual Studio 2010. You can develop visuals and animations for Silverlight applications using Microsoft Expression Blend.
The Silverlight and XNA platforms for Windows Phone 7 share some libraries, and you can use some XNA libraries in a Silverlight program and vice versa.
But you can’t create a program that mixes visuals from both platforms. Maybe that will be possible in the future, but not now.
EDIT:
to be more clear..there is no native C++ support you'll have to use either Silverlight or XNA,both are based on .net framework.