As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am new to win 7 app dev. I have done app dev in android and have used org.json native libs.
Example : org.json.JSONArray , org.json.JSONException , org.json.JSONObject
I want similar functionalities in C# what i had in java with this json lib. Please tell me best lib to do that.
Currently i am using codetitans library. Code :
JSonWriter wr = new JSonWriter();
wr.WriteObjectBegin();
wr.WriteMember("set_cookie","0");
wr.WriteMember("test",writer.ToString());
wr.WriteObjectEnd();
string line = wr.ToString();
/* This creates a jsonwriter object and then write key, value pairs.*/
I would recommend trying JSON.NET :-
http://json.codeplex.com/
The following provides an example as to how you might serialise and deseralise using JSON.NET :-
http://james.newtonking.com/projects/json-net.aspx
You may also want to consider ServiceStack.Text as this has recently been shown to be the fastest JSON serialiser available.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have some basic code made in C#. Is it possible to compile it for Android with little to no code changes?
You would need to use something like Xamarin (formerly MonoTouch).
Yes, you can develop application for android!
Xamarin For Android - Not a free product, full functional trial is available.
Dot42 - Not free for commercial use.
You can use them!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am using teecharts with C# and I want to print the graph that is generated to a pdf. Does anyone have any recommendations that are preferably free? This is a desktop application that uses forms.
You can use devloper express Charts. It will to export the data from chart to different types of files.
if (chartControl1.IsPrintingAvailable)
{
// Exports to a PDF file.
chartControl1.ExportToPdf("Output.pdf");
}
Refer: XtraCharts
Create a Chart using the Wizard
Yes, it is possible as TeeChart includes PDF export:
tChart1.Export.Image.PDF.Save(fileName);
For further exporting options please have a look at tutorial 12. Tutorials can be found at TeeChart's program group.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We developed project in C# and we want to use js library or Json calls in project. is it possible? How can we use js library in C# project in Windows 8 metro apps?? is there any sample so please share link thanks.
No you cannot use C# and JavaScript for Win8 development together. Notice that the rendering engines for the two technologies are even different. If you want to utilize some JSON returning service in your XAML WinRT app you can still do that. All you need to do is deserialize the JSON after fetching it.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've been asked to write an internal application for our business that uses mapping functionality to place push-pins of business related data.
As this is not a public facing application and to be used by a single person within our firewall I can not use google maps as we do not have the funds for the google license.
I am investigating the use of OpenStreetMap and can either embed a component into an already existing WPF application or embed into an existing WPF application, a NetBeans platform based application or into a new web application.
Could someone please suggest a library for use in either of these environments?
I recently updated JMapViewer from r26523 to r26975 without incident. Subjectively, it seems faster.
I've recently started to build a WPF prototype using SharpMap - although it's currently migrating to V2 and some of the dataproviders are missing - so I've been using V1 which has support for BruTile. You also might find BruTile useful.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there a .NET version/binding for Neo4j?
It looks like exactly what I want, but I'm working in C# on .NET.
Thanks
I think you best bet at the moment is to use the REST server. There's a blog post with a proof of concept .NET client: Neo4j .NET Client over HTTP using REST and json.
Update: Now there's actually two different .Net Neo4j REST clients:
Neo4RestNet
Neo4jRestSharp
Just updating this question with a more current option - the Neo4jClient available on NuGet. The package and links to the project site are at http://nuget.org/packages/Neo4jClient