Hi,
I wanted to play around with custom add ins a little bit so I found some example that I put into my project. It's the most basic app that I could write:
[AddInName("SampleCustomApp")] public class App : ContentModule { public override string GetContent() { var model = new AppViewModel{ FirstName = "John" }; var template = new Template("SampleCustomApp/Page.cshtml"); template.SetViewModel(model); return template.Output(); } } public class AppViewModel : ViewModelBase { public string FirstName { get; set; } }
But the problem is that I don't see it in the Apps section in admin. What am I imssing here? I'm 100% sure that the project dll is in the right place as I have some custom notification subscribers in there and a custom scheduled task and they all work ok. It's just this thing that for some reason is not picked up by DW admin.