Can ELMAH be used in Xamarin solutions? - exception

Reading this today, and probably embarking on a Xamarin solution very soon (the other possibility is "going native" with just Android, using Android Studio), I got to wondering:
Can ELMAH be used in Xamarin solutions?
And, in fact, if the road less taken (Android Studio) is chosen, what tool is there for Android/Java projects that that most closely resembles ELMAH's advantages?

It does:
Although the Elmah.IO NuGet's latest release doesn't support
Xamarin.Forms cross-platform logging, I have used it in my
Android/iOS/UWP projects' exception handling separately by following instructions here.
Here you can find out descriptions about the
pre-release elmah.io for Xamarin and Xamarin.Forms.

No. ELMAH is very specifically targeted for ASP.NET.
Error/crash logging solutions for Xamarin include Raygun, Crashlytics, and TestFlight.

Related

Why does the managed version of WinRT not include access to the .NET API?

Recently I began working in WinRT for Windows Store Apps (and the upcoming Windows 10 Universal Apps) using C#. After working in .NET for awhile previously, I was excited to work with .NET on mobile devices, only to find that WinRT did not feel like home at all.
Constantly I find myself having to search for alternatives to certain classes that I'm familiar with in .NET since often they're not the same or even implemented in WinRT. I figure that the lack of implementation derives from the fact that WinRT at its core is unmanaged, even though the CLR binds to it from managed code.
My question is: What is stopping Microsoft from allowing developers to import and use all of the familiar .NET classes from managed code, even with WinRT running from behind? I know it's not a limitation of the device because my Surface Pro can run desktop .NET apps just fine and the Mono project has succeeded in porting almost the entire .NET API to devices of every kind.
Thanks for your input!
This is a big topic but there are three basic reasons why you don't get the full .NET API from a Windows Store app.
The APIs don't fit on smaller devices like phones. Since the purpose of the Universal Windows Platform is to have apps that can run everywhere, it can't include APIs that are too resource-intensive (disk, memory, CPU, etc.) to run on smaller devices. (Note that even if the managed API appears to be small, it might have a dependency on a large underlying Win32 API).
The APIs aren't compatible with the Store app model. Many APIs that require permissions not granted to Store apps fall into this category, as do APIs that would enable apps to do "unwanted" things to your machine (the degree of "unwantedness" is subjective).
The APIs are deprecated or there are newer alternatives. This was the case with a lot of APIs in Windows 8, where things like file-system access and network sockets were blocked from Store apps because there were newer WinRT equivalents.
Note that Microsoft is always open to re-evaluating whether a specific API should be included or not. For example, Windows 10 brings back many APIs that were banned from Windows 8.1 (such as System.IO and System.Net.Sockets) and has expanded the capabilities granted to apps. You can file feedback via the Windows Feedback app or on UserVoice if you want additional APIs brought back (adding detailed justification never hurts).

Can mvvmcross be used without dependency on Xamarin?

Being familiar with mvvmlight, I'm now starting to look into using mvvmcross instead given the nice ability to use it with Xamarin to eventually also support my code on ios and android. However, I'm not there yet and would like to avoid taking a dependency on xamarin as long as I'm not actively targetting platforms other than WP8.1 and Win8.1.
Question: can mvvmcross be used without dependency on xamarin? (From my research so far my understanding is that mvvmcross is closely linked to usage with xamarin; even to the extent they share libraries? Would love to understand to what extent there's a hard dependency.)
As an alternative approach is there anyone successful in using mvvmlight for cross platform dev?
Kind regards
Yes it can - the core of MvvmCross is PCL - it's portable.
Xamarin is used only for Xam.Android, Xam.iOS and Xam.Mac - you can use WP, WinRT, WPF, MonoMac, Unity, etc without any Xamarin products.

How does the mozilla stub installer works?

I'm currently working on a no-touch deployment and auto-update mechanism for a Windows application. I've tried Microsoft ClickOnce strategy but it did not work for me as the strategy only suits small-sized apps, and my application hauls at ~500MB.
I'm interested in how the stub based installation and update strategies work for Mozilla Firefox and Google Chrome and also Microsoft's packages including its .NET framework and VS installers. I've come across Google Omaha which hosts the Google product update deployment mechanism, but it is not very conclusive for me.
Can anybody please help me out how the stub-based deployment design works?
P.S. Any open source code for the same would be of a great help. ;-)
I'm not quite exactly sure of what you mean by "stub-based". There's a handful of technologies and tools involved in what I understand you want to accomplish. For the setup packages creation there are: NSIS, Inno Setup and the WiX Toolset, for example. A core technology is MSI. On the other hand, for application updates and the such, there's BITS and also some web stuff involved in updates publishing, like using an ATOM feed, for instance (your referenced Google Omaha might fit into this category).
It's only a bunch of pointers, but I hope it helps.
The Mozilla installer is opensource (as is the NSIS system it uses) so I'd suggest adapting the code found here: http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/installer/windows/nsis/
It's a bit complex so you could start with a simpler script and incorporate the bits you want (like finding/downloading updates and UAC evelation).

TideSDK and dependency on SDK

I'm very very new to HTML5 programming, so forgive me if I ask a strange question. I'm looking for a good tool to write apps the can be run on iPhone, Android and the most known webbrowsers on a desktop. I came across TideSDK and I was a bit confused by the fact that it has SDK in the title. Does this mean that the SDK is part of anything I will create with it?
Do I have to distribute the SDK along with the App I create and wouldn't that be a problem when wanting to freely distribute my application?
Regards
Gabrie
Well there are two ways to build the application
1) with package.
With package works as stand alone application without any dependencies or anything other things installed.
2) without package.
The think you were saying is right. They need to have modules to be installed.

MVVMCross Vee Three Solution

This could be a really dumb question, but I just can't seem to open the v3 solution file.
I experienced something similar on the vNext, but after an hour or so it resolved itself and seem to set itself up ok for future access. This v3 has been running overnight and still not loaded.
Any suggestions?
Thanks
Lee
Really you need to supply more information - what operating system are you on? Which development environment(s)? Which SDKs do you have installed?
V3 is currently being developed in Xamarin Studio (v4.0.2) on the Mac for iOS and on a custom build of Xamarin iOS and Droid plugged into VS2012 Ultimate on the PC - with WP7.1 and WP8 SDKs both installed, and with resharper (and a smattering of other code too)
I've checked in a lot of code in the last 24 hours - so it's worth getting the latest again from source control and seeing if that helps.
If it doesn't then is there any more information published to the output windows about what is going wrong? I've personally had a lot of problems and a lot of wasted time with the Xamarin plugins in VS2012 - the activation modules are a nightmare (which is why I have a custom build currently installed)