Generating C#/C++ Xml code documentation in a WinCE environment [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am working on a Windows CE project involving managed (C#) and unmanaged (C++) components.
For the documentation I am using Sandcastle and the Help File Builder.
My open points are the following :
1) I have not found a way to have Xml code documentation files generated from C++ code. The following option is not available for device projects :
http://msdn.microsoft.com/en-us/library/ms173501(v=vs.80).aspx (the property "Generate XML Documentation Files" does not exist).
2) Assuming that there is a (fairly simple) way to generate the above required Xml files (please let me know how), would they be automatically "collected" by Sandcastle as the C# ones are and integrated consistently in the generated documentation file?
3) Is there any other way involving SandCastle to solve the problem?
Thanks in advance for your answers.
Umberto

Sandcastle works for.net languages. For c++, you can use Doxygen to do the same thing. (It can handle the same XML format, and output the same xml doc file)
You can also use my addin, Atomineer Utils to generate and update this documentation more easily, in both c# and c++ code.

Related

Converting Word document to PDF fomat in the cloud [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Hi and thanks in advance.
I'm using C# and Visual Studio 2013 in this project. My task is to find a way to convert Word documents to .pdf and the conversion needs to be done in the cloud. Any suggestions?
Thanks
Steve
You may get different results from different service providers. Since you have a MVC application, I would consider having a server-side conversion service instead of a cloud one, because you could achieve better performance.
Conversion service could be template based with OpenXML API support, so that no Word instance is needed on the server. One tool that I think of could be suitable for you is Docentric Toolkit. You have to buy a license, though. So if you have budget for it, this might work for you. Beside .docx you can get pdf or xps output.
Number of cloud solutions are available for DOCX to PDF conversion. I suggest GroupDocs.Conversion Cloud Service for high quality and reliable PDF conversion, it supports 50+ popular file formats.

Modular Program using Config files [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm being tasked with making a modular program that uses external, easy to edit files to dictate if certain elements are shown, what classes are used, etc.
Using C# and Visual Studio 2008, what type of file should I use? I was suggested .ini, but there is also talk of using .xml for it?
Which file would be best, and is there a built-in C# method of working with those files?
There's a heap of different ways for achieving different things. You could for example use an appSetting in an app.config file to turn features on and off. If you wanted to change classes or services that are used, then you could use DI/IoC with something like Castle Windsor and configure that in code and or xml.
If you can be more specific with what you want to achieve, and some examples in code, you can probably get some better answers.
you can use custom sections in your config files.
Config files are xml, well known files in .net context.
See example here: http://msdn.microsoft.com/en-us/library/vstudio/2tw134k3(v=vs.100).aspx

Implementing a application HTML help system [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
We want to implement a application help and documentation system. It should be based on HTML, because there are a lot of existing files and it gives us the most flexibility. Currently we use CHM files. We want to enable internal people (not developers) to edit the contents.
We thought of a stand-alone application that supports TOC, indexing (tags), search, etc. We also thought of using a local web server.
Until now our application uses pure C#, it would be good to keep this.
We are totally clean of web/asp knowledge, so the question is:
Where is a good place to start?
You can use documentation apps like SandCastle
Which use your XML documentation in your code to generate a help file.
Finally we ended up implementing a local HTTP server:
Internal people creates HTML content within our internal network
Our own build-tool creates the TOC and a search index and packs all content to a zipped file
The zipped file is packed into the application installation
When the end-user call help from within our application, the local http server is started
The HTTP server uses the HttpListener class
With this, it is possible to have some HTTP queries for special tasks like starting tools of our application by clicking a link without interception of the browser

Online tool to convert JSON to C# object format [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm looking for a quick and simple way to convert large JSON objects in a text file to C# object notation for a company project. I would prefer an online solution (similar to jsbeautifier.org) that would take my code, parse it, and return a C# formatted object.
Are there any tools (preferably online) that will do this? I'm hoping not to do this by hand, but writing a script might take time that I don't have right now. (I'm not too well-versed with C# library calls.)
Thank you!
I think following link will help.
Generate c# classes from json
Actually it uses the same project which achitaka-san said in his post. You can create a simple WebService in any host and use it.
This application generates C# classes from a sample JSON text, so you can use strongly typed programming with JSON.
http://jsonclassgenerator.codeplex.com
This is not online, but you just download an EXE, paste your JSON and get a c# class - taht's it.

Is there a way to write an LLVM front end compiler in C#? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is there a way to write an LLVM front end compiler in C#?
I don't see why not. There is a language reference for LLVM and as long as you are compliant with the language, there is no reason you can't write something in C# which will parse that language and either:
Produce output based on the language (like a real-time interpreter)
Create an assembly in C# which will execute the LLVM instructions
This isn't to say it will be easy, but it can be done.
There are two ways. You could P/Invoke LLVM's C bindings (more than enough for implementing a compiler backend), or you could write your own wrapper with C++/CLI.
I used Clang-generated XML AST dump for LLVM's C bindings headers to generate .NET bindings for them automatically. But it is not possible to do it any longer, as XML AST printer had been removed from Clang, with no replacement available.
If you are looking to have a LLVM compiler FOR C#, Mono 2.6 can use LLVM

Categories

Resources