User manual/tutorial
Opened this issue · 2 comments
Hi,
I have downloaded Positron Version 0.2.1
I am interested in using your project for developing c# desktop apps. I'm pretty unsure about how I actually build even a basic app with Positron. Do you think you could add a basic tutorial and the process required to get up and running?
I also noticed that the download is missing the CefSharp namespace. Which is a problem.
Since we're still in the early days yet, we don't have a manual yet. We're relying on examples and XML code comments.
If you install Positron.UI from NuGet, that will include the CefSharp dependencies. You'll also want to install Positron.Hosting, which includes the hosting layer.
As to an example, you can start here: https://github.com/CenterEdge/Positron/tree/master/test/Positron.Application
Key classes to observe:
App.xaml.cs - Application entry point, starts up the MVC server and Positron UI
Startup.cs - Startup for the ASP.Net MVC server. Very similar to a standard .NET Core MVC project, with some minor differences.
Other than that, it's mostly an MVC application with controllers, views, models, etc. New windows can be opened by using target="_blank"
on links or window.open(...)
.
Last I checked even running examples was extremely difficult, not to mention actually setting up your own project, sadly this project has not received any updates in last 7 months. I would imagine it would get daily fixes if its being used internally as a platform to build apps.