I cannot find it for silverlight, its also not available as version on this page http://msdn.microsoft.com/en-us/library/system.reflection.obfuscationattribute.aspx
Just to be sure: is it not supported? Do they plan to add it in SL5 maybe?
The attribute is not available in Silverlight. However you could add an ObfuscationAttribute attribute implementation to your project. Some obfuscation tools vendors have ready to use files for this. I believe Eazfuscator.NET does, for example.
Related
I am reading Selenium documentation (eg http://www.seleniumhq.org/docs/04_webdriver_advanced.jsp) and notice that some examples are not available in JavaScript. Is it due to incomplete documentation or is certain functionality not implemented in JavaScript binding? Shall I learn Selenium using Java binding or would any binding be OK?
I think they do support same functionality. I remember that I was trying to figure out what to do from vs options on our mvc project. Just a great product with bad documentation :)
You can find the Selenium JavaScript documentation in below link:-
https://seleniumhq.github.io/selenium/docs/api/javascript/index.html
The above link contains all modules cover.
Additionally, they have put up all details regarding changes they have done version to version.
I am learning about how to localize a project and using a book as a tutorial. I've added the UICulture to the .csproj and assembly files:
[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
But now the book says to update the elements with the UID and I don't know where to do it.
I have to invoke the msbuild (not sure form where) and need to use
msbuild/t:updateuid ProjectName.csproj.
How do I do this?
If I may suggest an alternative approach. I never liked the "default" Microsoft approach to localization in WPF, so way back in 2008 I started looking for alternatives. I eventually settled on a solution described in an article named "Simple WPF Localization" on CodeProject. It's a XAML markup extension and it also allows you to change languages on the fly, etc. Very simple to use.
The author now has a more capable, "advanced" version: Advanced WPF Localization that allows you to localize images, brushes, margins, etc. (it's all at the top of the article).
There are a few other such "libraries" available (some are on CodeProject as well), but I've been using this one for 3.5 years with no issues whatsoever. Might be worth looking into if the approach fits what you're doing.
Don't get me wrong, I like iGoogle and use it.
But for intranet site, why anyone would use iGoogle or Apache-Shindig which is foss implementation of iGoogle platform.
OK, boss likes look of iGoogle widgets/gadgets and fact that he can drag them around the page. But you can do this with say ExtJS library.
So are there any benefits of iGoogle platform in case you would use only for yourself and your own gadgets. I see only complicatins and unneccesary stuff if I compere iGoogle(apache-shindig) with extJs, which also provides somekind of draggable widgets.
Best regards
extJs is a javascript library for creating a UI. I assume the iGoogle and Shindig platforms are actual web server based applications (that happen to have a UI similar to what you could built with extJS)
After some googling I think a portlets are what I need.
If I understand corectly portlets are Java specific but you can do same thing in other languages and frameworks.
I was using the XamlPad from the .NET SDK, so I did a quick search for something similar but with more features and utility.
My search turned up multiple alternatives, so I was wondering if anyone had any specific recommendations on which XamlPad alternative to choose.
As others have said, Kaxaml* is a great alternative to XamlPad. Kaxaml is great for quickly testing out layouts. And has some great snippets that show how to style basic UIElements and Brushes.
However, Kaxaml looses the ability to render the layout as soon as you start getting into !OOB namespaces.
IIRC, VS2010 has much better support for XAML. Can't wait :)
* link is to the GitHub project; the project's .com website is now being squatted and is NSFW.
I use Kaxaml
Update: Kaxaml is no longer maintained; as of November 2020, the .com domain redirects to an adult website.
We are implementing an application that needs dockable windows, similar to Visual Studio 2005/2008, but with multiple "docking sites", unlike VS's single one. Does anyone have a recommendation on a good library for this - either OSS or commercial? I am aware that Infragistics has one, as well as Divelement's SandDock and WPF-Dock from DevComponents, as well as ActiPro's Docking & MDI product. There is also one on CodeProject. Has anyone used any of these libraries? Was the experience good or bad? If you have experience with one of them, does it support multiple "docking sites"?
The one from Codeproject is the AvalonDock - we use it for more then half a year now, but we're far from release yet so we have the flexibility. Before ending up with AvalonDock we tried Infragistix, ActiPro, SandDock and may be some others.
Even though AvalonDock is not 100% bug free (well what is?) there are no major ones, it is very stable, fast and has all the functionality. It does support multiple docking sites.
Its an open source project and is in active development, so bugs are beeing found and fixed. Good experience so far.
I've been using the ActiPro library for several months and it's done me well. It does support multiple docking sites. The support is outstanding and you get some other controls (date picker, etc) that are missing from WPF. To me, for $150 it's money well spent. It worked out of the box, no fuss.
We used to use Divelements for WinForm controls but we think Actipro has better support, so we switched for WPF.
Just my two cents.
Don't forget AvalonDock on GitHub (part of WPF Toolkit). I've seen it mentioned in other places.
Initially I was going to use the ActiPro library (mostly because I am already using their ribbon), but I might give AvalonDock a chance since it is open source.
Anybody have any feedback/comments on AvalonDock?
I use DotNetBar, because it has ribbon/dock and more controls, and it's inexpensive. It's great.
http://www.devcomponents.com/dotnetbar-wpf/
SandDock is alright. We used it for a POC phase of a project. I found some pretty bad bugs in their layout saving mechanism. It generated XML, but then couldn't load this XML back; it threw an exception! I actually read through all the generated XML and had to write code to modify the XML slightly after each time it was generated. It did not seem like it was a well thought out design; I was hoping for common WPF base types like
Infragistics is a bit better but buggy. In fact, if you try running it on a machine that only has .Net 3.0 and no .Net 3.5, it doesn't work correctly. Have an outstanding dev issue with Infragistics and I don't know if they've made any progress on a fix for this. I've also had it crash a few times when floating a window and dragging it around (suspect this has to do with the .Net 3.0/3.5 issue above). I've found styling this control to be pretty un-intuitive.
I tried all the libraries listed here and they're all buggy to some extent. Although they are pricy I would recommend Telerik and Infragistics. Nevron merits a mention because their library is the best I've seen but it's for WinForms.
1 year later ...
AvalonDock is now stable and robust.
There's also an "AvalonDock wrapper" that simplifies working with it without reducing its possibilities.
See http://sofawpf.codeplex.com/
Here is another one:
http://www.essentialobjects.com/Products/EOWpf/DockView.aspx
This one has a number of built-in skins that you can switch dynamically. It also has many individual controls (such as a "Splitter" control) that you can use independently.