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
Related
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 6 years ago.
Improve this question
I want to write a Windows desktop app with C# that virtualizes a certain file system folder basically so that the app stores files in a folder and makes the file system see the files and sub folders in this folder as if they were files/sub folders in another folder somewhere else (the virtualized folder).
Can this be done with C#?
And can it be done without file access performance penalties?
I know some apps written in C++ that do this but I want to use C# (because more modern and I'm more familiar with it). Perhaps there are even some libs available for this? I only came across sharpfilesystem but - without having looked too deep into it yet - I'm not sure it can do what I'm looking for. I'm also not sure if file system virtualization is the right word used for what I want to do so please correct me if this is something else (symlinks, aliases are related).
The technology you are after is called Shell namespace extension (SNE). Unfortunately, there is no (supported) way of creating a managed SNE:
Microsoft recommends against writing managed in-process extensions to Windows Explorer or Windows Internet Explorer and does not consider them a supported scenario.
For your particular scenario, NTFS junction points might be good enough though.
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 7 years ago.
Improve this question
I'm developing an .NET MVC web app and using a google service account to create/delete calendar events on users personal calendars. I'm not sure what would be the best way to secure my google authentication key so that only my program has access to it. Currently it's just in the solution folder for testing purposes.
"Best" is subjective. All I can tell you are options:
Put it in the Web.config as an App Setting, and then encrypt your appSettings configuration section. This is probably the safest route, if not the most convenient.
Put it in your code. It's not uncommon for developers to create a static Settings class that holds various bits of information the application needs. However, this means it will be plain text in the source. That's really only a problem if you plan to open-source your code or otherwise store it some place that's accessible to others (and that includes malicious others that shouldn't actually be able to access it). For example, I'd recommend only putting the source on a TFS or Git server internally, behind a firewall, rather than something on the Internet or public-facing. Once the code is compiled, you obviously won't have it in plain text anymore. However, if someone gains access to the compiled code, they could still decompile it and potentially find the string. To protect against that, you could use any number of obfuscation programs out there.
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.
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 9 years ago.
Improve this question
How can I tell the difference between source and published .NET code?
I am looking at some inherited code that I have not touched in about a year. The original designer had me first publish locally before uploading the published code to the internet server. Now I am looking a number of backed up source folders as well bas backed up published folders. I should have done a better job at naming the folders, I guess. Now I wonder: How can I tell the difference between source and published .NET code? Is there some easy way to see if some folder that contains only published code is lacking a file or xml setting?
As changes are made, they are published in the UI, so that means there should be some new files, or deleted files, and the directory tree may not be 100% the same. What you could do is download the deployed code to your local machine, and use a tool like Beyond Compare or some other directory comparer and let it determine the markup changes for you. There are several tools that do a good job for this.
That would give you an idea of the difference between files, but won't parse DLL's. That you would have to use a tool like reflector or Telerik's JustDecompile to compare the code, but I really wouldn't go that far, but you could.
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 9 years ago.
Improve this question
I'm new to VersionOne usage. I have downloaded the dll's of VersionOne API client and 'am trying to use to get following agile metrics. I'm trying to write a sample .Net application which should be able to pull data from the hosted version one site. I have read few blogs and came to know that VersionOne supports cross language API integration. But, currently I'm stuck in getting the following details to start with.
Can anyone please help me in this regard.
How to get the list of projects under "Programs" using V1Instance class?
How to get the list of all stories?
How to get data to create burn charts?
Consider the VersionOne is hosted in this website:
https://v1.com/v1/..
Also can you please suggest any website where I can get enough information for using versionone api's to retrive data.
Thanks in advance!!!
The critical piece of information is that ScopeLabel is what you see as Program in the VersionOne UI. Without that knowledge, you'll search all over the developer docs and source code and you won't find what you need.
Armed with that, you would discover that ScopeLabel is not in the SDK.NET Object Model. Moreover, for the uses you are describing (like getting data for a burndown chart), you should not use the Object Model. It was designed for fine-grained access like reading and writing individual Stories. Due to the Fallacies of Distributed Computing, it performs very poorly for course-grained reporting needs.
A better starting point is the documentation on API Query for Burndown Data. You can also find some sample source code in the VersionOne OAuth2 Sample Clients on GitHub, specifically see the CSharp YamlClient. By no means is it a finished application, but it will be a much better starting point.
Try having a look through the code in here. For example a quick search turned up using the Projects property on V1Instance to get projects, the projects.GetStories method on Project to get the list of stories.