Anyone have clue, how to go about viewing the source from the Microsoft.Phone.dll [Windows Phone 8 ]. I tried this with the .Net reflector and JetBrains dot peek , Unfortunately it did not decompile the assembly. Any help much appreciated.?
You need a WP8 Phone dump and extract System.Windows.dll from WP8Dump\3\Windows\System32 . Load that file as assembly in .Net reflector and you are on the way.
The dump was online here xda developers, if you find a new one, please post it.
Have you tried Telerik JustDecompile? It is free to download here.
NOTE: I am answering to help you but I am not condoning anything you are trying to do with the DLL code. I am not sure what you want the code for or even if it is legal to decompile it.
Related
I want to submit an app I wrote to the Windows store. All the examples I have found about implementing trial functionality in an app, seem to be dated. For example, most tell you to add the using directive 'using Microsoft.Phone.MarketPlace; which causes Visual Studio 2013 to ask if I have forgotten an assembly reference. Am I supposed to add a NuGet package or something? Any help would be greatly appreciated.
using Microsoft.Phone.Marketplace;
Can anyone suggest a good, reliable, and current source of information?
It should be in the Microsoft.Phone assembly, Microsoft.Phone.dll.
It may be available as an assembly reference on your machine, I couldn't see it on nuget.org.
https://msdn.microsoft.com/en-us/library/windows/apps/microsoft.phone.marketplace.licenseinformation(v=vs.105).aspx
I have a DLL without source code and i want to convert it to windows phone DLL. I am stuck with its conversion, can any body help me? I have googled and found many links but none was useful. I tried to unblock the dll as well but that step also was not useful.
You cannot do that. The regular DLL uses the full .NET Framework. But the Windows Phone will require the ".NET for Windows Phone 8". The only way to convert between them is to get the source code and compile it.
NOTE: you cannot just take any app or DLL and try to put it on the phone. The underlying hardware, OS and platform are very different between normal computers and phones. Even if a functionality you want to perform is simple -- like find the length of a given string -- the underlying code that will run at the hardware level is very very very... different.
If it is .NET Dll you can try to decompile it. And than try to compile it for windows phone
I Installed the Nuget Package Installer thing, and it says it installed it.
However I can't find any references to JSON in Visual Studio.
I tried using System.JSON but I can't find it.
How can I use it?
Thanks
I have had been through the same trouble today, when I almost completed my Software Project and just had to use the File to use its contents to change the content of the Project.
For that I wanted to use JsonObject class to get the contents of the .json file. When I tried to write this
using System.Json;
It gave me the exact same error that you might have been going through. It asked for the Assembly files and DLLs.
I kept searching and I stumbled upon to this post, which was totally unhelpfull for me. So I searched and got what I was looking for. After that, I wanted to share that triumph with you people too so that next visitor must have an answer to his trouble on Stack Overflow.
Solution
What I did was, I went to the NuGet website for the System.Json extension package.
http://www.nuget.org/packages/System.Json
There, I capture the command for the installation.
I just click on the Tools --> NuGet package manager --> Package Manager Console and it gave me a new window in the bottom part of Visual Studio 2013.
There I typed (pasted) the link of command I copied. It started and installed the package for me. And now I can use it!
Further answer
I was told that it is a part of .NET v4.5, but I even have the v4.5.1 and still I don't get it why I don't have that package, maybe because on the Web page of the package it is shown deprecated. But still who ever needs it, can have the answer I have posted and it would help him out!
Good luck!
I think you can use the Newtonsoft JSON.NET package.
http://www.nuget.org/packages/newtonsoft.json/
I was also looking for a way to do JSON in C# and saw that they made it easier with .NET 4.5, couldn't do it and found this stack overflow question. I wasn't really satisfied with Afzaal Ahmad Zeeshan's answer so I kept searching and found this which I guess isn't depreciated and worked for me.
Steps in plain English (for .NET 4.5):
1.Add Reference to System.Runtime.Serialization
2.Add "using System.Runtime.Serialization.Json;" to your class
3.call "JsonReaderWriterFactory.CreateJsonReader()" or whatever methods you need to use to read/write json
Install latest VS 2017
Install-Package System.Runtime.Serialization.Json -Version 4.3.0
-- in PM console
I was trying to download Monodevelop for mac, but on the official page there is everything but a compiled and downloadable file.
I've read around other threads on different forum and apparently it is required to compile the source code. Is this really the case?
What other alternative may exist for Mac? I just need to dig into some source code, using references and jumping from code portion to others without using the search filter.
Thanks.
If you want a binary for Mac, you need to go to Xamarin's homepage and simply download Xamarin Studio.
Xamarin Studio is basically the same thing as MonoDevelop, the only difference is a bit of branding and the inclusion of 3 plugins for their proprietary development offerings, which you can ignore if you're not interested in developing for the mobile platform.
All,
I have very limited knowledge of .aspx and ultimately what I want to do is exactly this:
http://www.webonweboff.com/widgets/ajax/ajax_linked_selection.aspx
I appreciate the code is given in the link above, but I am only familiar with HTML and Javascript so when it starts to tell me .aspx and .cs code I get a little lost. Have done my homework and I guess i need to install something to run these programs. Naively, I only have notepad++ at the moment.
Any help would be greatly appreciated
Joe
Your best bet is to go to http://www.asp.net/downloads and click the big green Install Now button. This will use the Microsoft Web Installer to download everything you need to get started with ASP.NET development (including Visual Studio Express which will take the place of notepad++!).
Try installing visual web developer and create ASP.NET wesite in C#. You should be able to run these files.
http://www.microsoft.com/express/Web/
Also try going through these tutorials
http://www.asp.net/web-forms
ASPX is like CGI programming. Yes you need to install the ASP.NET developer studio in order to deploy your web application. It will then configure a default webserver on your local host where you can start playing with the code samples.