Open mattkol opened 5 years ago
I was wondering what the deployment filesize is on a basic hello world chromely app. It is by far the key reason I would give it a chance over electron
@mattkol I made a mod tool for BattleTech PC game with Chromely. I used it to hook into the game dlls in the C# side to allow me to reuse their deserialisation system for the in-game dialogue/conversation system. Then built a React based dialogue editor on the 'frontend' side.
The community love it. Thank you for making a great base for me to start on. You can see the project here: https://github.com/CWolfs/ConverseTek
his 64bit windows app zipped is 66mb, which is not too far from what I would get from electron-builder
@blurymind open a new issue for this question - this is the wrong place for it.
@CWolfs thanks for sharing your project "ConverseTek". I will create a separate page for the projects in the wiki soon.
@CWolfs I created a page for Chromely apps - https://github.com/chromelyapps/Chromely/wiki/A-List-of-Apps-Built-with-Chromely. Please see if you can add a more formalized summary of "ConverseTek". You can put it here or update the page. Thanks.
@CWolfs I created a page for Chromely apps - https://github.com/chromelyapps/Chromely/wiki/A-List-of-Apps-Built-with-Chromely. Please see if you can add a more formalized summary of "ConverseTek". You can put it here or update the page. Thanks.
I cannot access to the list of app buit with chromely, Command Routes, or Enabling DevTools... I'm redirected to the wiki main page
I get the the same for the main links but if you click on the links to the same pages in the navigation / pages section then it works for me.
Ok, I see where is the problem. There is errors in the links in the home page:
@MaximeTasset thanks for pointing that out. @Fiahblade or any of us will clean that up later.
Done.
@mattkol Hello from the tropics, I've created a Script Manager, to store my automation scripts, executes any PowerShell script, Organize and execute scripts, retrieve status, execute actions, automatic executions, etc.
https://github.com/Kelvysb/Grimoire
Here is a tutorial with more examples: https://kelvysb.github.io/Grimoire/
Chromely.Mvc builds on top of Chromely.
HttpGet
, HttpPost
, etc.Task<T>
from your action methods.IServiceCollection
for dependency injection.public IEnumerable<WeatherData> GetWeatherForecast(DateTime date, string location)
instead of this:
public ChromelyResponse GetWeatherForecast(ChromelyRequest request)
Chromely requires you to registers routes to specific methods. The method argument and return value must be ChromelyRequest
and ChromelyReponse
.. This requires a lot of bolierplate code, and requires you to parse the request yourself.
[ControllerProperty(Name = "WeatherController", Route = "weathercontroller")]
public class WeatherController : ChromelyController
{
public WeatherController(){
this.RegisterGetRequest("/weathercontroller/movies", this.GetMovies);
}
public ChromelyReponse GetWeatherForecast(ChromelyRequest request)
{
var parametersJsom = request.Parameters.EnsureJson();
// parse json into arguments..
...
var weatherForecast = new List<WeatherData>();
...
ChromelyResponse response = new ChromelyResponse();
response.Data = weatherForecast;
return response;
}
}
public class WeatherController : Controller
{
[HttpGet]
public IEnumerable<WeatherData> GetWeatherForecast(DateTime date, string location)
{
var weatherForecast = new List<WeatherData>();
...
return weatherForecast;
}
}
Hi Guys,
@mattkol I have been working on a new project called Light Query Profiler which uses Chromely. Light Query Profiler is a simple and cross platform query profiler for SQL Server and Azure SQL Database.
Would be nice, as a feedback and an an encouragement to new users to know about apps built with Chromely or tools or project using Chromely.
https://github.com/chromelyapps/Chromely/wiki/A-List-of-Apps-Built-with-Chromely
Please share your adventures!
Thanks for all who have contributed via issues raised, PR, chats and private emails!